Microcks vs Servirtium
Microcks
microcks.ioServirtium
servirtium.devSide by side
| Figure | Microcks | Servirtium |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Service Virtualization Software | 8.6 (#4) | 7.3 (#18) |
| Audience | The project describes use cases for API owners, developers, quality assurance teams, and platform engineers. | The site describes it for teams consuming vendor web APIs and vendors shipping example usages. |
| Integrations | Official automation integrations include GitHub Actions, Jenkins, GitLab CI and Tekton Pipelines. | The HAR bridge names Chrome DevTools, Fiddler, Charles, mitmproxy and Postman as sources of captures it can convert. |
| Purpose | Microcks is a tool for mocking and testing APIs and microservices. | Servirtium records HTTP conversations from tests and replays them offline without calling the real service. |
Plans
In their own words
Microcks
Microcks is an open-source tool for mocking and testing APIs and microservices. It works with OpenAPI, AsyncAPI, gRPC/Protobuf, GraphQL schemas, and SOAP, and can build mock responses from examples, generate realistic data, or alter mock data and responses dynamically. It also checks provider and consumer contracts against live implementations and specification versions, and automates checks in CI/CD pipelines with integrations for GitHub Actions, Jenkins, GitLab CI, and Tekton. Containerized deployment supports on-premises, cloud, and developer-laptop use; its Uber distribution is intended for laptop work and unit tests, using ephemeral in-memory MongoDB. The free, community marketplace for API mocks and test suites is enabled by default. Microcks is a CNCF incubating project, with a listed price of free. The public demo is read-only and cannot import APIs or change artifacts. Documentation cautions against production use of the all-managed Kubernetes setup because its single Keycloak and MongoDB instances are not tuned for scalability or security best practices.
Servirtium
Servirtium is an open-source testing library and command-line tool for recording HTTP interactions and replaying them offline. Saved interactions, called tapes, use readable Markdown that can include requests, responses, headers and bodies, making them shareable across languages and reviewable in Git diffs. A native record-and-replay engine has bindings for Go, Python, Java, .NET, Rust, Ruby, JavaScript and TypeScript, Dart, PHP, Haskell, Elixir, Pharo, Nim, Zig, Lua, Erlang and Gleam. It works with any unit-test or specification framework. The standalone CLI can serve tapes as HTTP stubs, lint them, and import or export HTTP Archive files, including captures from Chrome DevTools, Fiddler, Charles, mitmproxy and Postman. Redaction and tape normalization address transient values such as IDs and timestamps. Playback requires matching request headers and bodies unless masking is applied. Servirtium targets test automation, not production service replacement, and is available for API, Linux, macOS and self-hosted use.