Citrus vs Hoverfly
Citrus
citrusframework.orgHoverfly
hoverfly.ioSide by side
| Figure | Citrus | Hoverfly |
|---|---|---|
| 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 | 3 |
| Spec score · Integration Testing Tools | 7.8 (#16) | 8.4 (#10) |
| License | Citrus is published free of charge under Apache License 2.0 and may be used to test commercial applications. | The open-source Hoverfly framework is distributed under the Apache 2 license. |
| Protocols | Supported endpoints include HTTP, Kafka, JMS, Apache Camel, mail, FTP/SFTP, OpenAPI, SOAP, Docker, Kubernetes, Knative, SQL, and SSH. | Hoverfly Cloud supports HTTP/S services including REST, SOAP, XML, JSON, and GraphQL. |
| Purpose | Citrus is a test framework focused on messaging applications and microservices, for automated integration tests. | Hoverfly Cloud is a hosted API simulation and mocking platform for testing without relying on live API dependencies. |
| Support | The project invites users to contribute, submit feature requests, and report issues through its community repository. | iOCO offers Hoverfly Cloud team support by email and support portal with a guaranteed response within one business day during 9am–6pm GMT. |
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.
Hoverfly
Hoverfly Cloud is a hosted API simulation and mocking platform for testing without live API dependencies. It handles HTTP/S services including REST, SOAP, XML, JSON, and GraphQL. Users can capture and replay traffic, generate simulations from OpenAPI specifications, and match requests by methods, headers, parameters, and bodies. Simulations can delay responses, inject faults or errors, and modify replies. A command-line interface supports scripted configuration and testing pipelines. Hoverfly and hoverctl binaries run on macOS, Linux, and Windows, while documentation covers Docker and Kubernetes installation. The underlying Hoverfly framework is open source under Apache 2, has no GUI, and is generally run locally or in a user’s infrastructure. Cloud use cases include performance testing, functional testing, and development.