12

Creating and Using Mock Servers in Postman

Mock servers are a powerful API testing tool. They let you start testing a user interface before the backend is complete. They give you the ability to test applications that use third-party services and enable a lot of other interesting testing scenarios. But what is a mock server, and how do you go about setting one up in Postman? Well, in this chapter, we will dig into those questions and more. We will spend some time learning about mock servers and how to set them up.

This chapter will cover the following topics:

  • What is a mock server?
  • How to create a mock server in Postman
  • How to set up mock data in Postman

Getting started with mock servers

Mock servers are a powerful tool to have in your API ...

Get API Testing and Development with Postman - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.