Get Mockoon latest version and start creating mock APIs!
This new release comes with the usual load of bug fixes and minor improvements you can check on the v1.14.0 release page.
We also decided to take the CLI out of beta with a new v1.0.0 🎉. There is still space for improvements, but it is now stable enough thanks to the feedback and contributions from our great community!
Here are some new features that we would like to highlight in this blog post:
You can now configure Mockoon to serve your responses sequentially. When enabled, your responses will be served in the order, repeating from the beginning indefinitely. With three responses 200, 201, 202, you would get the following sequence:
200 → 201 → 202 → 200 → 201... and so on. Restarting the server will reset this sequence.
Similar to the random responses feature, this option disables the rules temporarily.
A new type of rule has been created to allow you to serve a specific response depending on the entering request number. In the following example, a 404 would be served at the first request only.
The entering requests counter is on a per route basis and gets reset when the server is restarted.
For this update, we worked on revamping the status code dropdown to offer more suggestions, organized by categories. Even if not standards, you can also provide custom status codes from 100 to 999.
Or follow us on TwitterFollow @GetMockoon