Create, run, and share mock REST APIs without coding. Boost productivity with an intuitive interface and powerful features.

Overview:

Mockoon is an open-source desktop application designed to create and run mock APIs locally. It eliminates the need for remote deployment or an account, enabling developers to build unpredictable fake APIs that mimic third-party services. This speeds up development and integration by removing dependencies on external services like rate limits and costs. Mockoon also includes a CLI for self-hosting mock APIs in headless environments and a cloud offering for team collaboration, data syncing, and deployment.

Core Features:

  • Unlimited local servers and routes: Create an unrestricted number of mock servers and API routes.

  • Route control: Define HTTP methods, statuses, regex paths, file serving, custom headers, and more.

  • CLI headless operation: Run mock APIs in CI pipelines, serverless environments, or any headless setup.

  • OpenAPI compatibility: Import and export API definitions using the OpenAPI specification.

  • Request recording and logging: View logs of all incoming and forwarded requests.

  • JSON templating: Generate dynamic responses using built-in JSON templating.

  • Proxy forwarding mode: Route requests to real backends while keeping mock responses for specific routes.

  • HTTPS support: Serve mock APIs over HTTPS for secure testing.

Use Cases:

  • Frontend and mobile developers needing a predictable backend for UI testing without relying on a live API.

  • Integration developers mocking third-party APIs to avoid rate limits, costs, or availability issues during development.

  • Quality assurance teams simulating edge cases, error scenarios, and controlled response conditions for automated testing.

  • Onboarding new team members providing a consistent environment to learn and test API interactions without production dependencies.

Why It Matters:

Mockoon offers a zero-deployment, offline approach to mocking APIs, making it easy to set up test environments without accounts or cloud services. Its open-source nature gives developers full transparency and control over the mocking process, while the CLI and serverless packages extend this capability to CI pipelines and cloud functions. The additional cloud subscription adds collaboration and data sync for teams, but the core tool remains free and self-contained.

分享XLinkedInReddit

相关工具

项目数据

Stars

8,236

Forks

460

许可证

MIT

元数据

替代对象
Postman