Simpler way to build mocking http server. Do not code yourself for mocking!


Keywords
mocking
Install
pip install motty==1.0.6

Documentation

Motty

Motty provides the simpler way to test your client services.
It is an web application which gives you ability to create your own custom responses.
So you can intuitively and easily mock http responses. All you need to do is typing and click!

Motty web application

  • Why do we need an another code for mocking http server?
    • Motty doesn't need codes.
  • Easy to use.
  • Simple Installation.

It's very helpful to test your client services such as android, ios app, web and so on.
Even though the server is not ready to link your services. You can keep your plan and continue to develop.

Check more about motty!

Installation

You can easily install and run motty server by a few of commands.
Python>=3.0 is required, so you should install python 3 before proceeding next step.

1. Set up an isolated environment.

You must not jump up this step
We have an issue related to permissions. Therefore at this time you must do this.
If we find the solution to handle this. I'll fix it

if you know why the permission issue occurs, Please let me know or contribute your own.
I always welcome your contribution! :-)

$ pip3 install virtualenv
$ mkdir ~/mottyenv
$ virtualenv ~/mottyenv
$ source ~/mottyenv/bin/activate

2. Install motty.

$ pip install motty

3. Run it! and play fun.

$ runmotty

Options

Run server on specific port.

$ runmotty --port 7000

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

Copyright (C) 2004 Sam Hocevar sam@hocevar.net

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.