awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mockoon avatar

mockoon/mockoon

0
View on GitHub↗
8,080 stars·453 forks·TypeScript·mit·24 viewsmockoon.com↗

Mockoon

Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server responses without a backend. It functions as an OpenAPI mock server tool and a JSON API mocking utility, allowing for the rapid iteration of API contracts and the generation of response templates.

The project distinguishes itself through a combination of stateful mocking, using a local JSON database to simulate CRUD operations, and the ability to run as a headless API mock server via a command line interface. It supports real-time collaborative editing and AI-assisted prototyping to generate initial mock structures and response bodies.

The platform covers a broad range of simulation capabilities, including dynamic route matching, webhook simulation, and network latency emulation for resilience testing. It integrates with OpenAPI workflows through specification imports and exports, and provides tools for capturing live traffic to create accurate mocks.

Deployment options include Docker image generation, cloud hosting, and integration into CI/CD pipelines. Installation is supported via system package managers.

Features

  • Frontend API Mocking - Creates fake API endpoints with dynamic data to enable frontend development without a completed backend.
  • API Mocking Servers - Provides local API endpoints that simulate server responses to remove dependencies on external services.
  • API Prototyping Environments - Provides a comprehensive environment for rapidly iterating on API contracts and generating response templates.
  • JSON-Based Persistence - Simulates database operations by performing CRUD actions against a local JSON file to maintain state.
  • Mock State Management - Uses a local JSON database to simulate CRUD operations and maintain state between requests.
  • Specification Conversions - Translates OpenAPI specifications into internal configuration files to automate mock server setup.
  • Route Pattern Matching - Supports matching incoming requests to specific mock responses using regular expressions.
  • Headless Server Deployments - Executes mock servers via a command line interface for use in remote environments and automation.
  • API Response Simulators - Simulates diverse server scenarios by creating dynamic responses and emulating network latency.
  • Mock Server Generators - Converts OpenAPI or Swagger files into functional mock servers to align development with API design documents.
  • API Integration Testing - Simulates network latency and error codes to verify application handling of real-world API behavior.
  • API Mocking - Simulates API responses to facilitate development and testing within Docker containers and CI/CD pipelines.
  • Headless Execution - Ships a command line interface for running mock API environments within Docker containers and CI/CD pipelines.
  • Mocking Tools - Simulates stateful JSON API responses and CRUD operations using a local JSON database.
  • Response Body Templating - Generates variable response bodies based on incoming request data using JSON templating.
  • Response Templating - Uses a templating engine to inject request data and environment variables into response bodies and headers.
  • Response Body Generation - Allows the creation of realistic mock response bodies and data structures using natural language prompts.
  • Seeded Generation - Produces predictable sequences of fake data using seeds to ensure consistent testing results.
  • Mock-to-Spec Conversion - Converts mock environment files into OpenAPI v3 specifications for documentation purposes.
  • API Specification Importers - Automates route setup by importing Swagger or OpenAPI files to create functioning mock servers.
  • Web-Based Mock Management - Provides a web application to design and deploy mock APIs without requiring local installations.
  • CI/CD Pipeline Integrations - Enables running mock API servers within containers for automated testing in CI/CD pipelines.
  • Image Generation - Generates Dockerfiles and packages environments to create self-contained images of the mock API.
  • Mock Cloud Hosting - Publishes mock APIs to a hosted cloud environment for sharing with external stakeholders.
  • Event-Driven Webhooks - Triggers asynchronous HTTP callback requests to external systems to mimic server-side behaviors.
  • HTTP Traffic Logging - Records full request and response details for every call with support for sensitive header redaction.
  • Real-time Collaboration Services - Provides infrastructure for team members to edit mock APIs simultaneously in real time.
  • Environment Variable Injection - Injects operating system environment variables into route responses for dynamic configuration.
  • Mock Environment Generators - Converts OpenAPI specifications in JSON or YAML format into mock environment files.
  • Artificial Latency Injection - Introduces artificial delays to requests to verify application timeout and retry logic.
  • HTTP Traffic Recording - Captures real HTTP requests and replays them to ensure applications function correctly with real-world data.
  • Response Simulators - Serves multiple different responses for a single route based on random selection or specific trigger rules.
  • Webhook Simulation - Triggers callback requests to external systems to mimic complex asynchronous API behaviors.
  • Traffic Recorders - Provides tools to capture real HTTP requests and responses from live servers to create accurate mock definitions.
  • AI-Assisted Generation - Provides AI assistants to automatically generate initial mock API structures and endpoint definitions.
  • Request Interception Middleware - Intercepts unmatched requests and forwards them to a remote server to combine live and mocked data.
  • Mock-to-Real Routing - Forwards unmatched or specific requests to a real backend server to blend mocked and live responses.
  • API Development - Desktop tool for creating and testing mock REST APIs.
  • API Development Tools - Tool for creating and running mock APIs locally.
  • Mocking Tools - Tool for designing and running mock REST APIs.

Star history

Star history chart for mockoon/mockoonStar history chart for mockoon/mockoon

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does mockoon/mockoon do?

Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server responses without a backend. It functions as an OpenAPI mock server tool and a JSON API mocking utility, allowing for the rapid iteration of API contracts and the generation of response templates.

What are the main features of mockoon/mockoon?

The main features of mockoon/mockoon are: Frontend API Mocking, API Mocking Servers, API Prototyping Environments, JSON-Based Persistence, Mock State Management, Specification Conversions, Route Pattern Matching, Headless Server Deployments.

What are some open-source alternatives to mockoon/mockoon?

Open-source alternatives to mockoon/mockoon include: requestly/requestly. typicode/json-server — json-server is a development toolset used to simulate a full REST API from a JSON file. It functions as a customizable… miragejs/miragejs — Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application… mock-server/mockserver-monorepo — This project is a multi-protocol API simulation and mocking system designed to replace external dependencies during… mswjs/msw — MSW is a JavaScript API mocking library and integration testing tool designed to intercept network requests at the… kong/insomnia — Insomnia is a desktop application designed for the design, testing, and debugging of network requests. It serves as a…

Open-source alternatives to Mockoon

Similar open-source projects, ranked by how many features they share with Mockoon.
  • requestly/requestlyrequestly avatar

    requestly/requestly

    6,341View on GitHub↗
    TypeScriptapiapi-clientapi-mock
    View on GitHub↗6,341
  • typicode/json-servertypicode avatar

    typicode/json-server

    75,614View on GitHub↗

    json-server is a development toolset used to simulate a full REST API from a JSON file. It functions as a customizable mock API server that allows for the simulation of CRUD operations and resource relationships without the need to write backend code. The project enables rapid prototyping by generating a fake backend that persists data changes back to a local JSON file. It distinguishes itself by providing a static asset file server to deliver local documents, images, and stylesheets alongside the mock API endpoints. The server includes capabilities for data querying, such as parameter-based

    JavaScriptapifakefrontend
    View on GitHub↗75,614
  • miragejs/miragejsmiragejs avatar

    miragejs/miragejs

    5,527View on GitHub↗

    Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application development. It functions as a mocking tool that intercepts network requests to simulate backend API behavior, allowing developers to build and test frontend interfaces without requiring live backend infrastructure. The tool provides a simulation layer that mimics REST endpoints to facilitate rapid prototyping of user flows and application logic. It enables the creation of fake server responses directly within the web browser to verify how an application handles various data scenarios an

    JavaScript
    View on GitHub↗5,527
  • mock-server/mockserver-monorepoM

    mock-server/mockserver-monorepo

    4,897View on GitHub↗

    This project is a multi-protocol API simulation and mocking system designed to replace external dependencies during development and testing. It provides an API mocking server, a network traffic proxy, and specialized simulators for language model services and identity providers. The system distinguishes itself through deep AI simulation capabilities, including the emulation of language model providers and Model Context Protocol servers using JSON-RPC 2.0. It supports multi-turn conversational logic, state tracking for AI chat APIs, and the visualization of agent execution through call graphs

    Java
    View on GitHub↗4,897
See all 30 alternatives to Mockoon→