{"schemaVersion":"1.0","record":{"label":"Mockoon","description":"Desktop and command-line HTTP API mocking with native environments and partial OpenAPI interchange.","aliases":[],"kind":"software","website":"https://mockoon.com/","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.","license":"MIT","lifecycle":"active","example":false,"features":[{"name":"Desktop API mocking","status":"supported","detail":"Local route, response, proxy and HTTPS configuration across desktop platforms.","useCase":"Desktop-authored and CI HTTP mocks","platforms":["Windows","macOS","Linux","Docker"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://github.com/mockoon/mockoon/blob/main/README.md","locator":"Desktop/CLI features and platform distributions","retrievedAt":"2026-10-07T11:08:42Z","kind":"vendor"}]},{"name":"Headless native-file execution","status":"supported","detail":"CLI supports native environments; older files migrate in memory, newer files require an updated runtime.","useCase":"Desktop-authored and CI HTTP mocks","platforms":["Windows","macOS","Linux","Docker"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://mockoon.com/tutorials/self-host-mock-api-server-cli/","locator":"In-memory older-file migration and newer-file incompatibility","retrievedAt":"2026-10-07T11:08:28Z","kind":"vendor"}]},{"name":"OpenAPI round-trip","status":"limited","detail":"Rules and authored body/schema details are not fully preserved by export.","useCase":"Desktop-authored and CI HTTP mocks","platforms":["Windows","macOS","Linux","Docker"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://mockoon.com/docs/latest/openapi/openapi-specification-compatibility/","locator":"Export losses and native-file recommendation","retrievedAt":"2026-10-07T11:08:28Z","kind":"vendor"}]}],"alternatives":[],"slug":"mockoon","images":[{"id":"28c57cf5-d6d9-430f-8ef3-6c584783a584","alt":"Two white cartoon eyes inside dark rounded diamond shapes, the Mockoon logo.","caption":"Mockoon eyes logo.","sourceUrl":"https://mockoon.com/brand/","capturedAt":"2026-10-12","attribution":"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.","rights":"permission","rightsUrl":"https://mockoon.com/brand/"}],"draftAlternatives":[{"targetSlug":"wiremock","status":"limited","detail":"Can replace desktop-authored HTTP mock workflows and headless execution; native files, rules and state semantics need migration.","useCase":"Desktop-authored and CI HTTP mocks","platforms":["Windows","macOS","Linux","Docker"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://github.com/mockoon/mockoon/blob/main/README.md","locator":"Desktop/CLI features and platform distributions","retrievedAt":"2026-10-07T11:08:42Z","kind":"vendor"},{"url":"https://mockoon.com/docs/latest/openapi/openapi-specification-compatibility/","locator":"Export losses and native-file recommendation","retrievedAt":"2026-10-07T11:08:28Z","kind":"vendor"},{"url":"https://wiremock.org/docs/standalone/","locator":"Java/JSON configuration and JAR/container distribution","retrievedAt":"2026-10-07T11:08:23Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/mockoon/mockoon/blob/main/README.md","locator":"Desktop/CLI features and platform distributions","retrievedAt":"2026-10-07T11:08:42Z","kind":"vendor"},{"url":"https://mockoon.com/brand/","locator":"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.","retrievedAt":"2026-10-12T07:18:09.217Z","kind":"assessment"}],"document":{"version":1,"references":[{"url":"https://github.com/mockoon/mockoon/blob/main/LICENSE.md","locator":"MIT license","retrievedAt":"2026-10-07T11:09:34Z","id":"mockoon-license","title":"Mockoon license","kind":"vendor"},{"url":"https://github.com/mockoon/mockoon/blob/main/README.md","locator":"Desktop/CLI features and platform distributions","retrievedAt":"2026-10-07T11:08:42Z","id":"mockoon-readme","title":"Mockoon repository","kind":"vendor"},{"url":"https://mockoon.com/tutorials/self-host-mock-api-server-cli/","locator":"In-memory older-file migration and newer-file incompatibility","retrievedAt":"2026-10-07T11:08:28Z","id":"mockoon-cli","title":"Mockoon CLI self-hosting","kind":"vendor"},{"url":"https://mockoon.com/docs/latest/openapi/import-export-openapi-format/","locator":"Import v2/v3, export v3 and additive reimport","retrievedAt":"2026-10-07T11:08:28Z","id":"mockoon-import","title":"Mockoon OpenAPI import and export","kind":"vendor"},{"url":"https://mockoon.com/docs/latest/openapi/openapi-specification-compatibility/","locator":"Export losses and native-file recommendation","retrievedAt":"2026-10-07T11:08:28Z","id":"mockoon-openapi","title":"Mockoon OpenAPI compatibility","kind":"vendor"},{"url":"https://mockoon.com/docs/latest/about/","locator":"Desktop/CLI parity versus Pro web feature differences","retrievedAt":"2026-10-07T11:08:28Z","id":"mockoon-editions","title":"Mockoon documentation and editions","kind":"vendor"},{"url":"https://wiremock.org/docs/standalone/","locator":"Java/JSON configuration and JAR/container distribution","retrievedAt":"2026-10-07T11:08:23Z","id":"wiremock-standalone","title":"WireMock standalone service","kind":"vendor"},{"url":"https://wiremock.org/docs/stateful-behaviour/","locator":"Scenario states and reset controls","retrievedAt":"2026-10-07T11:08:56Z","id":"wiremock-state","title":"WireMock stateful behavior","kind":"vendor"}],"overviewCitations":["mockoon-readme"],"licenseCitations":["mockoon-license"],"sections":[{"id":"desktop","heading":"Designing local APIs","paragraphs":[{"id":"desktop-detail","content":[{"text":"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."}],"citations":["mockoon-readme"]}]},{"id":"runtime","heading":"Reusing mocks in automation","paragraphs":[{"id":"runtime-detail","content":[{"text":"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."}],"citations":["mockoon-cli","mockoon-readme"]}]},{"id":"openapi","heading":"OpenAPI is partial interchange","paragraphs":[{"id":"openapi-detail","content":[{"text":"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."}],"citations":["mockoon-import","mockoon-openapi"]}]},{"id":"editions","heading":"License and edition boundaries","paragraphs":[{"id":"editions-detail","content":[{"text":"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."}],"citations":["mockoon-license","mockoon-editions"]}]},{"id":"fit","heading":"Substitution scope","paragraphs":[{"id":"fit-detail","content":[{"text":"Mockoon can substitute for "},{"text":"WireMock","targetSlug":"wiremock"},{"text":" 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."}],"citations":["mockoon-readme","mockoon-openapi","wiremock-standalone","wiremock-state"]}]}]},"id":"Q336","revision":577,"updatedAt":"2026-10-12T07:32:28Z","sourceUrl":"https://substitutefor.net/entities/Q336?revision=577"}}