Citrus vs Mockoon
Citrus
citrusframework.orgMockoon
mockoon.comSide by side
| Figure | Citrus | Mockoon |
|---|---|---|
| Price from | Free | €10/mo |
| Free plan | Yes | — |
| Free trial | — | Yes |
| Open source | — | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 2 |
| Spec score · Integration Testing Tools | 7.8 (#16) | 8.4 (#12) |
| Founded | 2006 | 2017 |
| Purpose | Citrus is a test framework focused on messaging applications and microservices, for automated integration tests. | Mockoon is a free and open-source tool for designing and running mock APIs locally. |
| Support | The project invites users to contribute, submit feature requests, and report issues through its community repository. | Team includes next-business-day email support; Enterprise offers dedicated support with a four-business-hour initial response time. |
Plans
In their own words
Citrus
Citrus is a free integration-test framework for messaging applications and microservices. It can make a test act as both client and server across messaging interfaces, send and sequence messages, and validate payloads and other elements. Supported endpoints include HTTP, Kafka, JMS, Apache Camel, mail, FTP/SFTP, OpenAPI, SOAP, Docker, Kubernetes, Knative, SQL, and SSH. Validation covers JSON and XML, XML schemas, DTDs, and database data. Test cases can use loops, delays, retries, parallel sections, and timeouts. Tests are written in Java, XML, YAML, or Cucumber BDD features. Citrus integrates with JUnit 5, Cucumber, JBang, Quarkus, Spring Boot, TestNG, and JUnit 4, with Maven and Gradle setup guidance. It runs on Linux and requires Java 17 or newer since version 4.0. Citrus is Apache-licensed freeware for testing commercial applications.
Mockoon
Mockoon is a free, open-source tool for designing and running mock APIs locally. It supports OpenAPI and can fit into existing applications and API design workflows. Mock behavior can use dynamic templating, rule matching, JSON databases, proxy mode, webhooks, and TLS. The tool can record requests and responses from a real API to create mocks, and it supports proxying and integration testing. The open-source version permits unlimited mock APIs and routes, including parallel runs. Its CLI can run mocks in headless automated environments such as CI, GitHub Actions, and Docker; mocks can also run in serverless environments including AWS Lambda and GCP/Firebase Functions. The desktop app stores mocks locally, works offline without an account, and reports that mock content and request data are not sent to Mockoon. Pro adds real-time team collaboration, synchronized mocks, and deployment management on private infrastructure; it can be self-hosted on-premises, in a private cloud, or on isolated or air-gapped networks. Team is listed at €10 a month, billed annually at €120/license/year, tax excluded. Eligible companies can request one 14-day self-hosted Pro trial with five license slots using a verified work email, without a payment method.