Azure Cosmos DB Emulator vs Servirtium
Azure Cosmos DB Emulator
learn.microsoft.comServirtium
servirtium.devSide by side
| Figure | Azure Cosmos DB Emulator | Servirtium |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 0 |
| Spec score · Service Virtualization Software | 8.1 (#10) | 7.3 (#18) |
| Production use | Microsoft does not recommend using the emulator for production workloads. | The site describes Servirtium as exclusively for test automation and says production deployments connect to the real services. |
| Purpose | Provides a local environment that emulates Azure Cosmos DB for development and offline testing. | Servirtium records HTTP conversations from tests and replays them offline without calling the real service. |
Plans
In their own words
Azure Cosmos DB Emulator
Azure Cosmos DB Emulator has no write-up on Specifiction yet; its figures are above.
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.