🌐
Mockoon
mockoon.com
Mockoon - Create mock APIs in seconds with Mockoon
Mockoon is the easiest and quickest way to run mock REST API servers. No remote deployment, no account required, free, open source and cross-platform.
CLI
Run your mock APIs in your CI/CD pipeline, on your servers or in your cloud environments with Mockoon CLI
Desktop application
Download Mockoon, the easiest and fastest way to create realistic mock REST APIs. No account required, free and open-source.
Features
List of all features offered by Mockoon, the mock API creation tool compatible with Windows, Mac and Linux.
Docs
Discover Mockoon's features and options, explore advanced topics and learn how to create fast and free mock API JSON servers.
🌐
GitHub
github.com › mockoon › mockoon
GitHub - mockoon/mockoon: Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source. · GitHub
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source. - mockoon/mockoon
Starred by 8.1K users
Forked by 453 users
Languages   TypeScript 88.1% | HTML 10.1% | JavaScript 1.0% | SCSS 0.7% | Dockerfile 0.1% | Shell 0.0%
Discussions

Introducing Mockoon: easy API mocking tool
that is cool if you need to test auth or something and of course the backend team is always behind from schedule More on reddit.com
🌐 r/webdev
14
34
October 5, 2017
Have you tried Mockoon to capture and mock real API responses?
Mocking APIs can help unblock testing and give you control over the data you need, without waiting for backend changes. Using Mockoon, you can take a real request from a frontend and turn it into a mock using two methods. No code needed, just a bit of setup. I’ve put together a small activity ... More on club.ministryoftesting.com
🌐 club.ministryoftesting.com
2
April 27, 2025
.net core - Mocking API Calls for Unit Tests with Mockoon and Nunit - Stack Overflow
I am new to Nunit and have some tests that perform API calls for a .NET 6 Web API app. I want to convert these into true unit tests by removing those external dependencies. I was looking into mocki... More on stackoverflow.com
🌐 stackoverflow.com
mocking - Recording external API using mockoon - Stack Overflow
I have just started using Mockoon tool and I am finding a way to record an API which is already created and running in a port like for example I have a API like http://10.12.150.25:8080/welcome whi... More on stackoverflow.com
🌐 stackoverflow.com
🌐
G2
g2.com › products › mockoon-mockoon › reviews
Mockoon Reviews 2026: Details, Pricing, & Features | G2
Mockoon is a powerful, open-source platform designed to streamline API mocking processes. It offers a comprehensive suite of tools tailored to meet the needs of developers, QA engineers, and teams working with APIs.
🌐
Microsoft Store
apps.microsoft.com › detail › 9pk8dmsn00jj
mockoon - Free download and install on Windows | Microsoft Store
January 14, 2026 - Mockoon is the easiest and quickest way to design and run mock APIs. No remote deployment, no account required, free and open-source. It combines a desktop application to design and run mock servers locally, and a CLI (https://mockoon.com/cli/) ...
🌐
Snapcraft
snapcraft.io › mockoon
Install Mockoon on Linux | Snap Store
January 14, 2026 - Mockoon is the easiest and quickest way to design and run mock APIs.
🌐
Medium
nqaze.medium.com › the-api-dependency-conundrum-solved-6eb08e99a457
Mocking APIs while Development using Mockoon | by Nabil Kazi | Medium
May 3, 2020 - The tool I would be using to demonstrate building your API and connecting it with your app is Mockoon. It is a free app available for all the platforms — Mac, Linux and Windows with unlimited Mocking. Also yes it ain’t an online web app so your data and API structure remains to yourself.
🌐
Nordic APIs
nordicapis.com › review-of-mockoon
Review of Mockoon | Nordic APIs |
May 18, 2021 - Mockoon was created to offer a solution to mock testing that is free, open-source, and, most importantly, local. By limiting the mock testing to a local instance, the code is tested in a consistent environment free of external influence.
Find elsewhere
🌐
API Tracker
apitracker.io › a › mockoon
Mockoon API - Developer docs, APIs, SDKs, and auth. | API Tracker
Mockoon is the easiest and quickest way to run mock API servers locally.
🌐
GitHub
github.com › mockoon
mockoon · GitHub
Mockoon is the easiest and quickest way to run mock APIs locally.
🌐
npm
npmjs.com › package › @mockoon › cli
@mockoon/cli - npm
January 14, 2026 - Welcome to Mockoon's official CLI, a lightweight and fast NPM package to deploy your mock APIs anywhere.
      » npm install @mockoon/cli
    
Published   Jan 14, 2026
Version   9.5.0
Author   Mockoon
🌐
Thoughtworks
thoughtworks.com › home › insights › technology radar | guide to technology landscape › tools › mockoon
Mockoon | Technology Radar | Thoughtworks
October 23, 2024 - Mockoon is an open-source API mocking tool. It has an intuitive interface, customizable routes and dynamic responses as well as the ability to automate the creation of mock data sets.
🌐
Ministry of Testing
club.ministryoftesting.com › discussions
Have you tried Mockoon to capture and mock real API responses? - Discussions - The Club: Software Testing & Quality Engineering Community Forum | Ministry of Testing
April 27, 2025 - Mocking APIs can help unblock testing and give you control over the data you need, without waiting for backend changes. Using Mockoon, you can take a real request from a frontend and turn it into a mock using two methods. No code needed, just a bit of setup. I’ve put together a small activity you can try if you want to get more hands-on with API mocking.
🌐
Red Hat
redhat.com › en › blog › test-api-interactions-mockoon
Test API interactions with Mockoon
November 20, 2025 - Mockoon provides a simple and powerful way to locally mock API responses. This article shows how to create basic responses with static and dynamic data and how response rules can be leveraged to return different responses based on request attributes.
🌐
Docker Hub
hub.docker.com › r › mockoon › cli
mockoon/cli - Docker Image
Mockoon is the easiest and quickest way to run mock APIs locally.
Top answer
1 of 2
2

It's a bit of a broad question for SO I think. But here are some thoughts. In my opinion, pure unit testing should mock APIs programmatically and not depend on external applications like Mockoon.

What you want to do seems to be more like integration testing, where your code is calling an external API, except that instead of maintaining an instance of the original API specifically for test/QA purposes, you maintain a mock (with Mockoon).

Then, the general idea is more or less the following:

  • you prepare the mock API with Mockoon locally with the UI.
  • you save Mockoon's data file in the repository.
  • During the GitHub Actions workflow, you install Mockoon CLI and start it targeting the data file (relevant tutorial).
  • You run your application tests and modify the environment variable containing the API URL to point to were the CLI is running (probably something like http://localhost:3000).
2 of 2
1

Good answer by Guilaume. I have couple things to point out for the first step:

  • Don't forget that you have to press PLAY for the particular "routes" to start listening for incoming requests:
  • You have to configure the request and especially the response Headers or you might run into trouble
  • Instead of running Github Actions I have opted to use TestContainers
  • At the time of writing there is no specific Mockoon TestContainer module
  • I managed to configure a GenericTestContainer to run Mockoon; it was a bit of a schlepp as I am on a Springboot/Kotlin project but it would apply to a Java project just as equally but I managed it
  • I think Mockoon should have an area where bleeding edge solutions like the above can be shared on the Mockoon site (just a thought)
🌐
Medium
ahmadrezashamimi.medium.com › whats-mockoon-create-mock-apis-in-seconds-7504861bced8
What’s Mockoon?(Create mock APIs in seconds) | by Ahmadreza Shamimi | Medium
August 20, 2023 - Mockoon is a popular tool that allows developers to mock any web service. It offers an intuitive interface to easily mock RESTful APIs, SOAP web services, and more. It’s desktop-based, so you don’t need to install anything on your server ...