Node.js Client for MockServer

JSON →
library 5.15.0 ·javascript maintenance
verified May 27, 2026

The `mockserver-client` is a Node.js and browser client library designed to facilitate interaction with a running MockServer instance. It allows developers to programmatically define, update, and verify HTTP/HTTPS expectations against a MockServer. Key functionalities include setting simple or complex request/response pairs, forwarding requests, and verifying received requests. The current stable version is 5.15.0, which was last published over three years ago. While the core MockServer project remains actively developed, this specific client library exhibits a slower release cadence, suggesting it is in maintenance mode rather than active development for new features or compatibility updates. A key characteristic is that MockServer itself is a Java-based application, which needs to be running separately, often managed by `mockserver-node` or other methods. This client is a declarative mocking tool, meaning expectations are hand-written, which can lead to 'mock drift' if the real APIs evolve significantly without corresponding updates to the mock definitions.

total hits 15
actors 8 distinct systems
last hit 6d ago Bingbot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇳🇴 Norway · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany