Servirtium
Servirtium records HTTP interactions during tests and replays them from saved files, allowing playback without calling the real service.
What Servirtium is
Servirtium records HTTP interactions during tests and replays them from saved files, allowing playback without calling the real service. It is an open-source, in-process testing library with file-based tapes and a standalone CLI, rather than a hosted SaaS endpoint. Tapes use readable Markdown and can capture requests, responses, headers, and bodies, making them shareable across languages and reviewable in Git diffs. One native engine has bindings for Go, Python, Java, .NET, Rust, Ruby, JavaScript and TypeScript, Dart, PHP, Haskell, Elixir, Pharo, Nim, Zig, Lua, Erlang, and Gleam. Servirtium can work with any unit-test or spec framework. The CLI can serve tapes as HTTP stubs, lint tapes, and import or export HTTP Archive files; named capture sources include Chrome DevTools, Fiddler, Charles, mitmproxy, and Postman. Redaction and whole-tape normalization can handle changing values such as IDs and timestamps. Playback fails when request headers or bodies differ from the recording, though masking and redaction can address transient values. The project is focused on HTTP test automation, not production traffic.
Good
- Open-source and file-based
- Markdown tapes can be reviewed in Git diffs
- Bindings cover seventeen listed languages
- CLI imports and exports HTTP Archive files
- Works with any unit-test or spec framework
Watch out
- Focused on HTTP test automation
- Playback fails when request headers or bodies differ
- Not intended for production deployments
Who it suits
It suits teams that consume vendor web APIs and want tests to replay saved interactions offline. API vendors can also use it to share example scenarios.
Verdict
Servirtium offers a portable record-and-replay approach for HTTP tests, with a CLI and bindings across many languages. Request matching is strict by default, so transient values may need masking or redaction.
The facts
Each one read from Servirtium's own pages, with the date it was checked.
What it does
- Audience
- The site describes it for teams consuming vendor web APIs and vendors shipping example usages.checked 8 Oct 2026
- CI and API drift
- The site describes using tape changes and Git diffs to identify API compatibility changes in CI or code review.checked 8 Oct 2026
- CLI
- A standalone CLI can serve tapes as a live HTTP stub, lint tapes, and import or export HTTP Archive files.checked 8 Oct 2026
- Deployment model
- The project describes Servirtium as an in-process testing library with file-based tapes and a standalone CLI, rather than a hosted SaaS endpoint.checked 8 Oct 2026
- Engine and bindings
- The current project describes one native engine with language bindings, including Go, Python, Java, .NET, Rust, Ruby, JavaScript and TypeScript, Dart, PHP, Haskell, Elixir, Pharo, Nim, Zig, Lua, Erlang and Gleam.checked 8 Oct 2026
- HAR integrations
- The CLI imports and exports HTTP Archive files and names Chrome DevTools, Fiddler, Charles, mitmproxy, and Postman as sources or tools.checked 8 Oct 2026
- Integrations
- The HAR bridge names Chrome DevTools, Fiddler, Charles, mitmproxy and Postman as sources of captures it can convert.checked 8 Oct 2026
- Notable limit
- The site says Servirtium is focused on HTTP and is used for test automation, with production deployments connecting to real services.checked 8 Oct 2026
- Offline playback
- Playback uses saved Markdown recordings, so tests can run without calling the real service.checked 8 Oct 2026
- Playback matching
- Playback fails when request headers or bodies differ from the recording, and the site describes optional masking and redaction for transient data.checked 8 Oct 2026
- Pricing and support
- The opened maker pages provide no product pricing, trial terms or support offer.checked 8 Oct 2026
- Production use
- The site describes Servirtium as exclusively for test automation and says production deployments connect to the real services.checked 8 Oct 2026
- Purpose
- Servirtium records HTTP conversations from tests and replays them offline without calling the real service.checked 8 Oct 2026
- Redaction
- The shared engine includes redaction and whole-tape normalization features for handling values such as transient IDs and timestamps.checked 8 Oct 2026
- Release history
- The site says the Servirtium beta, with Markdown record/playback syntax, a Java library, and examples, was released in autumn 2019.checked 8 Oct 2026
- Request matching
- Playback fails when the request headers or body differ from the recorded interaction; the site recommends deliberate masking or redaction for transient values.checked 8 Oct 2026
- Security and compliance
- The opened product pages describe redaction features but make no security certification or compliance claims.checked 8 Oct 2026
- Shared engine
- The current VCR project uses one native record/replay engine with language bindings, and the site lists seventeen bindings.checked 8 Oct 2026
- Tape contents
- A Markdown tape can capture HTTP requests, responses, headers, and bodies, with XML or JSON payloads shown in code fences.checked 8 Oct 2026
- Tape format
- Recordings use human-readable Markdown that teams can share across languages and review in Git diffs.checked 8 Oct 2026
- Test frameworks
- The site says Servirtium is agnostic about test-runner choice and can be used with any unit-test or spec framework.checked 8 Oct 2026
- Test runners
- Servirtium is described as agnostic about test-runner choices and usable with any unit test or spec framework.checked 8 Oct 2026
- Use cases
- The site identifies teams consuming vendor web APIs and API vendors sharing example scenarios as intended users.checked 8 Oct 2026
Alternatives to Servirtium
- 1

LocalStack
Free planOpen sourceWebAPIExtensionLinux8.2Free plan - 2

Beeceptor
Free planWebAPILinuxmacOS7.9From $10 a month - 3

ReadyAPI
WebAPILinuxmacOS7.6 - 4

Microcks
Free planWebAPIExtensionLinux7.2Free plan - 5

Hoverfly
WebAPILinuxmacOS6.7From $10 a month - 6

MockServer
Free planWebAPILinuxmacOS6.6Free plan
