Skip to content

Commit

Permalink
Add mockserver comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Jul 19, 2024
1 parent cf38e04 commit cb7b225
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 1 deletion.
64 changes: 64 additions & 0 deletions content/compare/mockserver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: Comparison between Mockoon and MockServer's API mocking services
excerpt: 'Discover the differences between MockServer and Mockoon API mocking services: cloud offer, features, and more'
meta:
title: Comparison between Mockoon and MockServer's API mocking services
description: 'Discover the differences between MockServer and Mockoon API mocking services: cloud offer, features, and more'
image: comparison-mockoon-mockserver-api-mocking.png
imageAlt: Mockoon and MockServer logos side by side
imageWidth: 1200
imageHeight: 400
order: 5
---

## What is MockServer?

MockServer is a flexible tool used for mocking and proxying HTTP and HTTPS requests. It allows developers to create and simulate complex request-response behaviors for testing and development purposes. With MockServer, users can mock various scenarios by defining expected requests and corresponding responses, enabling the testing of edge cases and failure scenarios. It supports both REST and SOAP APIs and can be used for load testing and functional testing. Additionally, MockServer can be integrated into CI/CD pipelines to automate testing processes and ensure consistent API behavior throughout development cycles. Users can configure MockServer through a simple JSON configuration or programmatically via its Java and JavaScript clients.

![#sub#Screenshot of MockServer's interface{1237x474}](/images/compare/api-mocking-comparison-mockserver-screenshot.png)

## What is Mockoon?

Mockoon is a set of open-source tools that allow developers to mock APIs quickly and easily. It offers an **offline-first and privacy friendly** desktop application to design and run mock APIs locally. A CLI and various libraries are also available to **deploy your mock APIs anywhere**: CI/CD pipelines, servers, etc.

Mockoon features include a powerful **templating system** to generate dynamic and realistic mock data, a **rules system**, a **proxy mode** to partially mock API endpoints, and many customization options: status codes, dynamic headers, TLS, file serving, etc.

Mockoon Cloud is also available for teams and organizations looking for a **cloud-based solution**. It enables teams to **collaborate on API mocking projects** and **share mock APIs** with others by deploying them to the cloud.

> 💡 Get started with Mockoon: [Download Mockoon](/download/) or [Discover Mockoon Cloud](/cloud/)
![#sub#Screenshot of Mockoon's interface{1400x670}](/images/compare/api-mocking-comparison-mockoon-screenshot.png)

## Offer comparison

Below is a comparison of the main characteristics of MockServer and Mockoon respective offers:

| | MockServer | Mockoon |
| ------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <span class="text-gray-700">Offline/Cloud based</span> | **Offline** | **Offline** and [**Cloud** ](/cloud/) |
| <span class="text-gray-700">Tools provided</span> | **Libraries in multiple languages** | [Desktop application](/download/) to design your mock<br/> [CLI](/cli/), [Docker image](https://hub.docker.com/r/mockoon/cli) and [GitHub Action](https://github.com/marketplace/actions/mockoon-cli) to deploy anywhere |
| <span class="text-gray-700">Free/paid</span> | **Free** | **Free** for the open-source tools, **paid** for the Cloud |
| <span class="text-gray-700">Billing</span> | N/A | Billed **per seat** |
| <span class="text-gray-700">Main cloud features</span> | N/A | [Deployments](/docs/latest/mockoon-cloud/api-mock-cloud-deployments/), [team collaboration](/docs/latest/mockoon-cloud/data-synchronization-team-collaboration/) and [AI assistant](/docs/latest/mockoon-cloud/templates-and-ai-assistant/) |
| <span class="text-gray-700">Open-source</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> |
| <span class="text-gray-700">Enterprise support</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> |

## Features comparison

While MockServer and Mockoon offer similar API mocking capabilities, they have different approaches. Below is a comparison of the main features of MockServer and Mockoon:

| API mocking Features | MockServer | Mockoon |
| ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <span class="text-gray-700">Self-host</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span>Multiple libraries are available | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> A [CLI](/cli/), [Docker image](https://hub.docker.com/r/mockoon/cli) and [GitHub Action](https://github.com/marketplace/actions/mockoon-cli) are available to deploy in headless environments |
| <span class="text-gray-700">Proxy mode</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> [Documentation](/tutorials/partial-mocking-proxy/) |
| <span class="text-gray-700">OpenAPI support </span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> [Documentation](/docs/latest/openapi/import-export-openapi-format/) |
| <span class="text-gray-700">Recording</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span>Mocks can be created from previously called endpoints | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> Mockoon can [create mock endpoints based on entering requests](/tutorials/requests-recording-auto-mocking/) |
| <span class="text-gray-700">CRUD operations</span> | <span class="text-danger fw-bold fs-3 me-2"><i class="icon-clear"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> Automated [CRUD endpoints](/tutorials/create-full-rest-api-crud-routes/) with fake [databases](/docs/latest/data-buckets/overview/) |
| <span class="text-gray-700">Response rules</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> Advanced system of [rules](/docs/latest/route-responses/dynamic-rules/) |
| <span class="text-gray-700">Dynamic/realistic data</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> [Advanced templating system](/tutorials/generate-mock-json-data/) and [AI assistant](/ai-powered-api-mocking/) to generate realistic fake data |
| <span class="text-gray-700">File serving</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> [Documentation](/docs/latest/response-configuration/file-serving/) |
| <span class="text-gray-700">Custom headers</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> At endpoint's and server's levels<br/>Supports [templating helpers](/docs/latest/templating/overview/#headers-templating) for dynamically generated headers |
| <span class="text-gray-700">Customizable status code</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> |
| <span class="text-gray-700">Route regex</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> [Documentation](/docs/latest/api-endpoints/routing/) |
| <span class="text-gray-700">GraphQL support</span> | <span class="text-danger fw-bold fs-3 me-2"><i class="icon-clear"></i></span> | <span class="text-danger fw-bold fs-3 me-2"><i class="icon-clear"></i></span> |
| <span class="text-gray-700">Slow network/server simulation</span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> | <span class="text-success fw-bold fs-3 me-2"><i class="icon-check"></i></span> At server's and endpoint's levels |
2 changes: 1 addition & 1 deletion content/compare/readyapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ order: 4

ReadyAPI (formerly SoapUI) is a comprehensive API testing tool that facilitates the creation, testing, and monitoring of APIs. While secondary, it offers API mocking capabilities, allowing developers to simulate REST, SOAP, and other web services. Its feature set includes request and response validation, scripting, and automated test generation.

![#sub#Screenshot of ReadyAPI's interface{2558x1253}](/images/compare/api-mocking-comparison-readyapi-screenshot.png)
![#sub#Screenshot of ReadyAPI's interface{1849x880}](/images/compare/api-mocking-comparison-readyapi-screenshot.png)

## What is Mockoon?

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb7b225

Please sign in to comment.