# Mockoon

Desktop and command\-line HTTP API mocking with native environments and partial OpenAPI interchange\.

ID: Q336 · Revision: 577

Type: software · License: MIT[^mockoon-license] · Status: active

Website: https://mockoon.com/



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\.[^mockoon-readme]

## Screenshots

![Two white cartoon eyes inside dark rounded diamond shapes, the Mockoon logo\.](/api/v1/images/28c57cf5-d6d9-430f-8ef3-6c584783a584?entity=Q336&revision=577)

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\. · permission

Source: <https://mockoon.com/brand/> · Rights: <https://mockoon.com/brand/>

## 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\.[^mockoon-readme]

## 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\.[^mockoon-cli][^mockoon-readme]

## 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\.[^mockoon-import][^mockoon-openapi]

## 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\.[^mockoon-license][^mockoon-editions]

## Substitution scope

Mockoon can substitute for [WireMock](/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\.[^mockoon-readme][^mockoon-openapi][^wiremock-standalone][^wiremock-state]

## Capabilities and substitutions

### Desktop API mocking — supported

Local route, response, proxy and HTTPS configuration across desktop platforms\.[^mockoon-readme]

Use case: Desktop\-authored and CI HTTP mocks · Platforms: Windows, macOS, Linux, Docker · Region: Version, plan and platform requirements apply

### Headless native\-file execution — supported

CLI supports native environments; older files migrate in memory, newer files require an updated runtime\.[^mockoon-cli]

Use case: Desktop\-authored and CI HTTP mocks · Platforms: Windows, macOS, Linux, Docker · Region: Version, plan and platform requirements apply

### OpenAPI round\-trip — limited

Rules and authored body/schema details are not fully preserved by export\.[^mockoon-openapi]

Use case: Desktop\-authored and CI HTTP mocks · Platforms: Windows, macOS, Linux, Docker · Region: Version, plan and platform requirements apply

### [Substitute for WireMock](/wiremock) — limited

Can replace desktop\-authored HTTP mock workflows and headless execution; native files, rules and state semantics need migration\.[^mockoon-readme][^mockoon-openapi][^wiremock-standalone]

Use case: Desktop\-authored and CI HTTP mocks · Platforms: Windows, macOS, Linux, Docker · Region: Version, plan and platform requirements apply

## References

[^mockoon-license]: [Mockoon license](<https://github.com/mockoon/mockoon/blob/main/LICENSE.md>) — MIT license (vendor; retrieved 2026-10-07T11:09:34Z)

[^mockoon-readme]: [Mockoon repository](<https://github.com/mockoon/mockoon/blob/main/README.md>) — Desktop/CLI features and platform distributions (vendor; retrieved 2026-10-07T11:08:42Z)

[^mockoon-cli]: [Mockoon CLI self\-hosting](<https://mockoon.com/tutorials/self-host-mock-api-server-cli/>) — In\-memory older\-file migration and newer\-file incompatibility (vendor; retrieved 2026-10-07T11:08:28Z)

[^mockoon-import]: [Mockoon OpenAPI import and export](<https://mockoon.com/docs/latest/openapi/import-export-openapi-format/>) — Import v2/v3, export v3 and additive reimport (vendor; retrieved 2026-10-07T11:08:28Z)

[^mockoon-openapi]: [Mockoon OpenAPI compatibility](<https://mockoon.com/docs/latest/openapi/openapi-specification-compatibility/>) — Export losses and native\-file recommendation (vendor; retrieved 2026-10-07T11:08:28Z)

[^mockoon-editions]: [Mockoon documentation and editions](<https://mockoon.com/docs/latest/about/>) — Desktop/CLI parity versus Pro web feature differences (vendor; retrieved 2026-10-07T11:08:28Z)

[^wiremock-standalone]: [WireMock standalone service](<https://wiremock.org/docs/standalone/>) — Java/JSON configuration and JAR/container distribution (vendor; retrieved 2026-10-07T11:08:23Z)

[^wiremock-state]: [WireMock stateful behavior](<https://wiremock.org/docs/stateful-behaviour/>) — Scenario states and reset controls (vendor; retrieved 2026-10-07T11:08:56Z)

[^source-9]: [https://mockoon\.com/brand/](<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-12T07:18:09.217Z)

Source revision: https://substitutefor.net/entities/Q336?revision=577
