qmetrics.net

Mockoon

Local desktop and CLI tools for REST API mocking

Mockoon screenshot

Mockoon lets you design and run mock HTTP APIs on your machine without cloud accounts. A desktop app handles editing; a CLI runs mocks in CI, Docker, and serverless setups.

Overview

Mockoon is a free toolset for building and serving fake REST APIs during development and testing. You can stand up mock servers locally so frontends and services are not blocked on unfinished backends or paid third-party API quotas.

The desktop application runs on common operating systems and supports unlimited local mock servers, route rules, OpenAPI workflows, JSON templating, HTTPS, proxy forwarding, request logging, and recording traffic to generate routes from real requests.

A separate command-line package and official Docker image run the same mocks in headless environments such as continuous integration, GitHub Actions, GitLab CI, and container platforms including cloud functions and serverless hosts.

Mockoon Pro is an optional paid platform for teams that want on-premises or private-cloud deployment, synchronized mock data, managed instances, a web UI, user management with local login or OIDC SSO, and audit trails. The core open tools remain oriented around local-first mocking without mandatory remote hosting.

Key features

  • Unlimited local mock servers and routes
  • OpenAPI compatibility
  • JSON templating and Faker-style dynamic data
  • Route rules for headers, query, body, and cookies
  • Request recording and proxy forwarding
  • HTTPS support
  • CLI and Docker for headless runs
  • Multiple responses per route with delays

Use cases

  • Parallel frontend work before backends are ready
  • Testing error and timeout scenarios
  • Running mocks in CI pipelines
  • Reducing reliance on rate-limited external APIs
  • Onboarding developers with consistent mock contracts

Tags

Similar software

Keploy

Record-and-replay API and integration testing from traffic

Keploy captures API calls, database queries, and streaming events, then replays them as tests and dependency mocks without changing application code.

★ 20k⟳ todayApache-2.0

GoReplay

Capture and replay live HTTP traffic

GoReplay records HTTP from network interfaces and replays it to test servers for shadowing, load testing, and debugging. It runs as a command-line daemon without in-path proxy changes.

★ 19.3k⟳ 1 year agoGPL-3.0 · open core
API Development & TestingNo commits in 18+ monthsDesktop/CLI app

MSW

JavaScript API mocking through network-level request interception

Mock Service Worker lets you define HTTP mocks once and reuse them in browsers and Node.js. Applications keep calling real APIs while responses are substituted at the network layer.

★ 18.4k⟳ 2 days agoMIT

supertest

Node.js HTTP server testing via superagent

Supertest offers a fluent API for asserting HTTP behavior against Node.js servers during automated tests. It builds on superagent so you can express status, headers, and body expectations in code.

★ 14.4k⟳ 21 days agoMIT

MeterSphere

Open continuous testing platform with built-in AI assistant

MeterSphere is an open continuous testing tool with AI-assisted case generation, test management, and API testing for teams. It uses a system-organization-project hierarchy for collaboration.

★ 13.7k⟳ 1 month agoGPL-3.0

Karate

Unified open-source test automation framework

Karate combines API testing, mocks, performance testing, and UI automation in one framework with a readable syntax. Tests run via JUnit, a CLI, or CI/CD with parallel execution.

★ 9k⟳ 2 days agoMIT