Azure Cosmos DB Emulator vs mountebank
Azure Cosmos DB Emulator
learn.microsoft.commountebank
mbtest.devSide by side
| Figure | Azure Cosmos DB Emulator | mountebank |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 1 |
| Spec score · Service Virtualization Software | 8.1 (#10) | 7.6 (#15) |
| Purpose | Provides a local environment that emulates Azure Cosmos DB for development and offline testing. | mountebank provides cross-platform, multi-protocol test doubles over the wire for testing applications in place of real dependencies. |
Plans
In their own words
Azure Cosmos DB Emulator
Azure Cosmos DB Emulator has no write-up on Specifiction yet; its figures are above.
mountebank
mountebank is a free, self-hosted service-virtualization tool that supplies test doubles instead of real application dependencies. Through its HTTP API, developers configure stubs, record and replay proxies, and verify mock expectations. HTTP, HTTPS, TCP, and SMTP are built in; community plugins add LDAP, WebSockets, GraphQL, SNMP, Telnet, SSH, and NETCONF. Installation documentation covers npm and Docker. Community extensions list client libraries for C#, Clojure, Go, Java, JavaScript, Python, Ruby, TypeScript, and Swift, along with Grunt, Gradle, and Maven plugins. Stateful simulation, fault injection, and record-and-replay are supported. By default, mountebank stores everything in memory, which its site says can become a performance bottleneck at scale. Security guidance warns that JavaScript injection can permit code execution on the machine and recommends localhost-only access or an IP whitelist. CORS is disabled by default, and safe origins can be enabled explicitly.