PROVIDER - API mocking on desktop and CLI

Mockoon

Mockoon offers API mocking on desktop and CLI, generating a full route set from 1 OpenAPI import with 5 dynamic response capabilities and CI-run mocks for contract checks under MIT across 3 platforms; the gaps are paid collaboration and limited stateful APIs.

Developer Tools Luxembourg 2026.11.19
4.1pts

Detailed Notes

Pros 5 items

Ships 2 form factors, desktop and CLI, letting teams define a first mock endpoint within 1 minute
Imports OpenAPI to generate a whole route set and sample responses in 1 import
Provides 5 dynamic capabilities: templating, random data, response rules, latency and proxying
Runs the CLI inside CI to serve mocks for 3 kinds of contract verification flows
Released under MIT across 3 platforms: macOS, Windows and Linux

Cons 4 items

Team collaboration and cloud sync require a paid plan
Stateful APIs such as session-based flows are only partly supported
Interface filtering costs rise with hundreds of routes
Covers only HTTP and HTTPS protocols

Service Overview

Mockoon is a tool focused on API mocking, offering both a graphical desktop client and a CLI for pipelines.

In the development tools category it is the interface simulation layer: front-end and test teams move forward against the contract before the backend exists.

Key Strengths

  • Two form factors: desktop plus CLI
  • OpenAPI import: whole route set in 1 go
  • Dynamic responses: 5 template families
  • CI ready: automated contract checks
  • Cross-platform open source: 3 systems

Product Ecosystem

Platform capabilities

Route and response definition, templating and random data, latency and fault injection, CORS and proxy modes, OpenAPI import and export plus environment variables.

Integrations

Pairs with Postman, Bruno, Playwright and Jest, while the CLI plugs into GitHub Actions and GitLab CI.

Typical scenarios

Parallel front-end and backend work, offline integration with third-party APIs, failure and latency drills and contract regression tests.

Limitations

  • Paid tiers: team collaboration is a subscription
  • State handling: stateful APIs are limited
  • Scale boundary: route sprawl raises management cost
  • Protocol scope: HTTP and HTTPS only

Use Cases

  • Parallel front-end and backend work (★★★★★): the core value
  • Failure drills (★★★★☆): latency and faults are easy
  • Contract regression (★★★★☆): CLI fits pipelines
  • Stateful business simulation (★★☆☆☆): capability is limited

Pricing

Item Price Notes
Desktop and CLI $0 MIT licensed with full features
Cloud Per user subscription Team sharing and cloud sync
Enterprise support Contact sales Private deployment and support

FAQ

How is it different from Postman mocks?

Mockoon runs entirely locally, keeps data inside your network and the desktop app is free without limits.

Can the CLI run in CI?

Yes, the CLI serves mocks headlessly and exports logs.

Does it support HTTPS?

Yes, certificates can be configured for local HTTPS mocking.

Is an account required?

No, the desktop app works fully offline.

Code Examples

# Start a mock server with the CLI
npx @mockoon/cli start \
  --data ./mock-data.json \
  --port 3000

# Run headless in CI
npx @mockoon/cli start --data ./mock-data.json --port 3000 --daemon-off
// Route definition excerpt
{
  "method": "get",
  "endpoint": "users/:id",
  "responses": [
    {
      "statusCode": 200,
      "body": "{\"id\":\"{{urlParam 'id'}}\",\"name\":\"{{faker 'person.fullName'}}\"}"
    }
  ]
}

Community & Resources

Visit Mockoon Website → https://mockoon.com/
Visit Website ↗