A new Postman is here: Mock servers
Mock servers now run locally on your machine, and you can use Postman AI to generate them, run requests, and update responses. When you connect your Postman workspace to your local repos, mocks live alongside your code and can be versioned and reused during local development and in CI pipelines.
With no lag in response time, Local Mock Servers help you work faster by helping you simulate dependencies and real-world production use cases on your machine.
Mock servers
Postman’s mock servers streamline API design, accelerate split-stack development, and ensure your API delivers the right behavior when it hits production.
Build it right before you build it for real
Postman’s mock servers let you simulate real API responses before the backend exists so frontend and backend teams can work in parallel, validate designs early, and see exactly how the API will behave in production.
Design your API with flexible schema support
Write, edit, or import your API schema to define your API's data structure and generate a collection from your API schema. You can review API responses using mock servers so you can reliably build your API from the ground up, all in one central place.
Catch and fix bugs early
Mock servers increase visibility into errors and weak spots in your API, so you can debug effectively and efficiently. You can easily use mock servers to test for response errors continuously or as often as you need throughout the API lifecycle.
Create public or private mock servers
Postman provides two different types of mock servers. Public mock servers are great for open source or individual projects, but if you're working on internal or private APIs, you can easily keep your APIs secure by viewing API responses with private mock servers.
Collaborate across teams with shared mocks
Mock servers live alongside your collections, documentation, and tests in Postman Workspaces. Anyone on the team can explore, fork, or update mocks so everyone stays aligned.
Get started with Postman mock servers
Mock server docs
Read our docs to learn how you can set up mock servers to test your API responses.
Mock server tutorial
See how to set up mock servers to test your APIs responses in this video tutorial.
Mock servers across the API lifecycle
Learn how mocks can bring order to your development lifecycle.