Collection-based mock server tutorials
These step-by-step tutorials walk you through building and using a mock server from a collection of saved examples. You create a collection with sample requests and example responses, then stand up a mock server that returns the matching example for each request, in the Postman app or with the Postman API.
These tutorials cover the collection-based path. To build a code-based mock with custom JavaScript instead, see Create mocks with JavaScript.
Tutorials
- Mock APIs with response examples — Create a collection, save example responses, and send requests to a mock server built from it.
- Create and use a mock server using the Postman API — Automate mock server setup by mocking a collection with the Postman API.