software · Q336
Mockoon
Desktop and command-line HTTP API mocking with native environments and partial OpenAPI interchange.
Overview
Mockoon provides an MIT-licensed desktop application for designing and running mock APIs, together with a command-line runtime for headless use. It lets developers control routes, responses and latency while reducing dependence on live services during testing.[2]
Designing local APIs
The desktop application is available for Windows, macOS and Linux and does not require an account for local mocking. Its documented features include HTTP route configuration, custom statuses and headers, response templates, HTTPS and proxy forwarding. Developers can run multiple mock servers, observe requests and create controlled error cases rather than waiting for a real dependency to exhibit a particular failure.[2]
Reusing mocks in automation
Mockoon's CLI runs the same native environment data in headless or CI environments, with npm and Docker distribution options. It can migrate older data-file content in memory without overwriting the original, but cannot read a file from a newer incompatible version. Keeping the CLI aligned with the editor therefore matters when sharing environments between a developer workstation and a build pipeline.[2][3]
OpenAPI is partial interchange
OpenAPI v2 and v3 definitions can be imported, while export produces v3. Reimport adds routes or responses that are missing rather than modifying or deleting existing ones. Interchange is not lossless: Mockoon rules have no equivalent export, and authored response bodies are not converted into exported schemas or examples. Native data files are the recommended way to preserve the full mock behavior.[4][5]
License and edition boundaries
The open-source project uses the MIT license. Additional collaboration and deployment offerings should be distinguished from the local editor and CLI. Current documentation describes a Pro web application based on the same codebase but explicitly says it does not support every desktop feature. A browser-accessible editor is therefore not automatically an equivalent replacement for an existing desktop environment.[1][6]
Substitution scope
Mockoon can substitute for WireMock when the need is a desktop-authored HTTP test server that can later run in a pipeline. Its interface may fit teams that prefer editing routes visually instead of maintaining Java-integrated mappings. This assessment does not establish direct import of WireMock stubs, equivalent scenario-state handling or lossless OpenAPI round-tripping. Preserve the native data file and verify response rules when migrating a test fixture.[2][5][7][8]
Screenshots
Mockoon eyes logo.
Captured 2026-10-12 · Mockoon. Official eyes logo for light backgrounds, retrieved 2026-10-12. Used under the published permission for articles about Mockoon; no partnership or endorsement implied. Original artwork retained, apart from site image conversion. · Source page · Used with permissionCapabilities & limitations
Desktop API mocking
supportedLocal route, response, proxy and HTTPS configuration across desktop platforms.[2]
Desktop-authored and CI HTTP mocks · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
1 source · check evidence
Desktop/CLI features and platform distributions
vendor · checked 2026-10-07Headless native-file execution
supportedCLI supports native environments; older files migrate in memory, newer files require an updated runtime.[3]
Desktop-authored and CI HTTP mocks · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
1 source · check evidence
In-memory older-file migration and newer-file incompatibility
vendor · checked 2026-10-07OpenAPI round-trip
limitedRules and authored body/schema details are not fully preserved by export.[5]
Desktop-authored and CI HTTP mocks · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
1 source · check evidence
Export losses and native-file recommendation
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- Mockoon license
MIT license
vendor · retrieved 2026-10-07 - Mockoon repository
Desktop/CLI features and platform distributions
vendor · retrieved 2026-10-07 - Mockoon CLI self-hosting
In-memory older-file migration and newer-file incompatibility
vendor · retrieved 2026-10-07 - Mockoon OpenAPI import and export
Import v2/v3, export v3 and additive reimport
vendor · retrieved 2026-10-07 - Mockoon OpenAPI compatibility
Export losses and native-file recommendation
vendor · retrieved 2026-10-07 - Mockoon documentation and editions
Desktop/CLI parity versus Pro web feature differences
vendor · retrieved 2026-10-07 - WireMock standalone service
Java/JSON configuration and JAR/container distribution
vendor · retrieved 2026-10-07 - WireMock stateful behavior
Scenario states and reset controls
vendor · retrieved 2026-10-07 - https://mockoon.com/brand/
Checked 2026-10-12: the official brand page supplies this PNG under “Mockoon eyes logo for light backgrounds.” Its Dos explicitly allow logos in articles or blog posts about Mockoon, with secondary placement. The image is unchanged and does not imply partnership, sponsorship or endorsement.
assessment · retrieved 2026-10-12
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 577 | 2026-10-12 07:32:28 | /* wbeditentity-statements-multiple-properties-update:0||2 */ sf:2b0559a7-0fc7-4cab-9f02-2ee877b48d0f:v1 | Add the official Mockoon eyes logo with alt text, attribution and published article-use permission. Preserve the article paragraphs, source IDs, eight reference | attribution: /proposals/2b0559a7-0fc7-4cab-9f02-2ee877b48d0f |
| 322 | 2026-10-11 20:07:22 | /* wbeditentity-create-item:0| */ sf:3e33770c-09e2-4200-aa85-3f1556f0ccd0:v1 | Add Mockoon with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/3e33770c-09e2-4200-aa85-3f1556f0ccd0 |