Discover the differences between MockLab online API mocking and Mockoon's desktop application and CLI mocking features
MockLab is an API mocking cloud services. It uses WireMock as its underlying engine and inherits most of its capabilities, while adding more possibilities like support for the OpenAPI specification. It enables developers to create mock REST APIs endpoints, intercept and proxy requests. The fake REST endpoints can adopt realistic behavior thanks to a request matching system and a templating language similar to Mockoon's one.
While Mockoon provides a similar mocking experience, it has a different approach as it offers an offline, privacy-friendly desktop application. Coupled with the CLI that allows you to deploy your REST mocks anywhere, it gives the power needed to automate your development and testing. Mockoon is easy to use and has no learning curve. You can easily start using it and create your first mock API in under a minute. From a powerful templating system to generate dynamic and realistic mock data to a proxy mode to partially mock API endpoints, Mockoon takes API mocking to the next level. It also offers many customization options: status codes, dynamic headers, rules system, etc.
What is API mocking for? Discover the different use cases or read our API mocking guide.
MockLab (left) and Mockoon (right) UIs side by side
Features | MockLab | Mockoon |
---|---|---|
Offline/Cloud based | Cloud Uses WireMock as its underlying engine | Offline (desktop application) Deploy anywhere with the CLI and Docker image |
Free/paid service | Paid Up to 1000 requests/month | Free |
Open-source | ✖ | ✔ |
CLI | ✖ | ✔ A CLI and a Docker image are available |
Proxy mode | ✔ Can intercept and forward the traffic | ✔ Documentation |
OpenAPI support | ✔ | ✔ Documentation |
Recording | ✔ Can record entering requests to create stubs | ✔ Mockoon can create mock endpoints based on entering requests |
Response rules | ✔ Request matching system similar to Mockoon's one | ✔ Advanced system of rules |
Dynamic/realistic data | ✔ Templating system similar to Mockoon's one | ✔ Advanced templating system to generate realistic fake data |
File serving | ✔Basic static file serving from dedicated directory | ✔ Documentation |
Custom headers | ✔ At endpoint's level | ✔ At endpoint's and server's levels Supports templating helpers for dynamically generated headers |
Customizable status code | ✔ | ✔ |
Route regex | ✔ | ✔ Documentation |
GraphQL support | ✖ | ✖ |
CORS and pre-flight handling | ✖ Manual setup | ✔ Automatically answers 200 to OPTIONS pre-flight requests Headers can be customized |
Slow network/server simulation | ✔ At endpoint's level | ✔ At server's and endpoint's levels |