Free Software to Run Mock APIs Locally: Mockoon

0 Comments
Editor Ratings:
User Ratings:
[Total: 1 Average: 5]




Mockoon is free software to run mock APIs locally. Use this software to create and test API locally without hosting them on a remote server. It lets you create an unlimited number of mock local servers and routes and it calls them environments. You can create them in any number and specify the response body with a response code. If you want a quick tool to run mock APIs then you can simply use Mockoon. The servers it creates for you are fully customizable and you can change the localhost path along with the port numbers. The routes can be assigned GET and POST methods along with the API parameters.

The mock APIs that you create here are compatible with OpenAPI and there are other features in it you will like. It supports JSON templating, proxy mode, HTTPS, CORS support, import/export, and autosave. You just need to simply create the API server with the paths you want and then deploy it. You have complete control over the server as here you can opt for regex paths and file serving. And one of the best features here is that you can run it on any platform with ease. It is an open-source as well and you can take part in its development and do much more.

Run Mock API locally

Using Mockoon to Run Mock APIs Locally: Mockoon

You just download Mockoon from here for your platform and then simply run it. No matter on what platform you are, you will find the binary for that and then you can just quickly get started. The main UI of the tool looks as shown in the screenshot below. It comes with some pre-defined routes and JSON responses.

Mockoon main UI

Now, you can start adding new routes or modify the existing ones. For every route, you can specify status code, a response body in JSON format, headers, rules, and you can create as many routes as you want. While creating a route, you just have to specify will it use a GET request or a POST request.

Mockoon api route and response

After you have created all the routes and responses then you can just start the server. Just hit the play button from the top right side and then start making requests. This is simple and you can see the working example for which I used my browser. Just see the screenshot below.

Mockoon mock api in action

To create a new server, you use the Actions menu. And use the same menu to create a new route. You can create unlimited servers in it with different routes and run them parallel. This is easy and not only this but the API that you create with this can be exported to a file. For the export, it supports swagger and OpenAPI format. To export an API, you just use the “Import/export” menu of the software.

Mockoon export

In this way, you can create and run any number of mock API servers on your PC. The software is simple and powerful that you run on any platform and even export the mock API structure. If you often work with web servers and APIs then it will come in handy.

Closing words:

Mockoon is an amazing tool you can use to create and run mock APIs. What I liked best about this powerful software is that you can run unlimited servers and even export the data. If you looking for an API mockup tool that is free and runs on any platform the Mockoon is a great option. So, try it and design simple as well complex APIs and let me know what you think about it.

Editor Ratings:
User Ratings:
[Total: 1 Average: 5]
Free/Paid: Free

Leave A Reply

 

Get 100 GB FREE

Provide details to get this offer