Learn how to use mock servers with tutorials

View as MarkdownOpen in Claude

These tutorials show you how to get started with Postman’s mock servers and make the most of their features. You’ll learn how to use examples to set up custom responses and how to create mock servers using the Postman API. This makes it easier to test your API and can help you automate your workflow during development.

Mock servers enable you to simulate how your API works, without needing a live server. You can create a mock server from a collection of saved examples, or deploy a mock that you write in JavaScript. These tutorials focus on the collection-based approach: you create a collection with sample requests and examples of the responses you expect, and when you send a request to the mock server, Postman replies with the matching example so you can test and share your API during development.

Tutorials