Postman

MockServer provides an official Postman collection for its REST control plane. It covers every control-plane endpoint — create expectations, verify requests, inspect recorded traffic, inject chaos, drive scenarios, set breakpoints, and manage server state — all from the Postman client. The collection is generated from MockServer's OpenAPI specification, so it always matches the running server.

Import the Collection

One click imports the collection — from the MockServer public workspace on the Postman API Network — straight into your Postman:

Run in Postman

Or import it manually:

Quick Start

Start MockServer with Docker:

docker run -d --rm -p 1080:1080 mockserver/mockserver

Each request carries a worked example body and documentation. A typical first run:

  1. expectation → create expectation — registers a mock endpoint.
  2. verify → verify a request has been received — asserts MockServer saw a request.
  3. control → retrieve recorded requests — inspects what was received.
  4. control → clears all expectations and recorded requests — resets state.

What the Collection Covers

The collection is organised into folders by area, covering all 68 control-plane endpoints:

FolderWhat's in it
expectationCreate expectations (from JSON, an OpenAPI/Swagger spec, or a WSDL) and generate suggestions from unmatched requests
verifyVerify a request or a sequence was received; diff two requests field-by-field
controlClear, reset, retrieve, status, bind ports, configuration, clock, proxy/mock mode, cassettes, replay, and request breakpoints
troubleshootingExplain why requests did not match; per-expectation mismatch debugging
chaosRegister, list and live-patch service / TCP / gRPC chaos, plus scheduled multi-stage experiments
scenarioList, get, set and trigger stateful scenario state
driftRetrieve and clear recorded mock drift
files / crud / importFile store, generated CRUD data stores, and HAR/Postman import
oidc / asyncapi / grpc / wasm / pactTurnkey OIDC provider, AsyncAPI broker mocking, gRPC descriptors/health, WASM rule modules, and Pact contract export/verify

Prefer an open-source, git-native client? The same requests are available as a Bruno collection — both are generated from the same OpenAPI spec, so they stay identical.

The full control-plane API is documented as an OpenAPI spec on SwaggerHub.