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]
Contents 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 permission Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.