--- title: Postman description: Import the MockServer Postman collection to drive the REST control plane from Postman — create expectations, verify requests, and inspect recorded traffic. layout: page pageOrder: 10 section: 'Where' subsection: true sitemap: priority: 0.6 changefreq: 'monthly' lastmod: 2026-06-08T08:00:00+01:00 ---
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.
One click imports the collection — from the MockServer public workspace on the Postman API Network — straight into your Postman:
Or import it manually:
examples/postman/MockServer.postman_collection.json from the repository, then in Postman click Import and select the file.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:
The collection is organised into folders by area, covering all 68 control-plane endpoints:
| Folder | What's in it |
|---|---|
| expectation | Create expectations (from JSON, an OpenAPI/Swagger spec, or a WSDL) and generate suggestions from unmatched requests |
| verify | Verify a request or a sequence was received; diff two requests field-by-field |
| control | Clear, reset, retrieve, status, bind ports, configuration, clock, proxy/mock mode, cassettes, replay, and request breakpoints |
| troubleshooting | Explain why requests did not match; per-expectation mismatch debugging |
| chaos | Register, list and live-patch service / TCP / gRPC chaos, plus scheduled multi-stage experiments |
| scenario | List, get, set and trigger stateful scenario state |
| drift | Retrieve and clear recorded mock drift |
| files / crud / import | File store, generated CRUD data stores, and HAR/Postman import |
| oidc / asyncapi / grpc / wasm / pact | Turnkey 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.