[go: up one dir, main page]

0% found this document useful (0 votes)
14 views2 pages

API Test Automation With Postman

The document provides a comprehensive guide on API test automation using Postman, covering installation, setup, and key features such as mock servers, monitors, workspaces, and the Newman command line runner. It details how to organize APIs, create mock servers, monitor API performance, and collaborate through workspaces. Postman is highlighted as a leading platform for API collaboration and testing.

Uploaded by

yingzh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

API Test Automation With Postman

The document provides a comprehensive guide on API test automation using Postman, covering installation, setup, and key features such as mock servers, monitors, workspaces, and the Newman command line runner. It details how to organize APIs, create mock servers, monitor API performance, and collaborate through workspaces. Postman is highlighted as a leading platform for API collaboration and testing.

Uploaded by

yingzh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Instruction

API test Automation with Postman


Chapter 1.1 - Install and Setup
Chapter 1.2 -Tour of Postman
Chapter 1.3 -Importing Tests
Chapter 2 - Creating and Running Mocks in Postman
Chapter 3 - Monitors in Postman
Chapter 4 - Postman Workspaces
Chapter 5 - Newman Runner
Postman - the most used API collaboration platform in the world.

Chapter 1.2 -Tour of Postman


left hand panels:

 "Collections" are where you organize your APIs into groups.


 "APIs" show you all the APIs that you're working with.
 "Environments" is where you can group your variables according to
the environment you want to run them in. Whether that's Prod,
Dev, QA, etc.
 "Mock Servers" is where you go if you want to look at anything
created to mock endpoints.
 "Monitors" you set up will be accessible here.

Chapter 2 - Creating and Running Mocks in


Postman
three main ways MOCKs can be created in Postman:

 You can create a mock server that's based on a specification file.


This is a really great option if you have the right documentation at
hand, which details the API.
 You can create a mock server from scratch, adding in requests and
telling Postman what response data to return.
 You can add a mock server to an existing Postman collection.
If you have multiple examples, how does Postman know what example to
return?

 [✅] Header Key and Value

Chapter 3 - Monitors in Postman


Monitors help us to understand what's going on with our APIs and really
quickly respond to issues if the performance or health of our APIs isn't as it
should be.
setNextRequest() to run the certain tests.
Chapter 4 - Postman Workspaces
you can use Postman in a more collaborative way to share and work with -
not only your own APIs - but other people's APIs too.

 you can create as many team workspaces and send as many


requests as you like.
 with the Postman Public Workspace Network, and this was
introduced at the end of 2020, so it's quite a recent thing.
we can use version control practices in Postman, such as merging and pull
requests.

Chapter 5 - Newman Runner


Newman, Postman's command line runner which we can use to generate
automated test runs.

You might also like