- Postman - Discussion
- Postman - Useful Resources
- Postman - Quick Guide
- Postman - OAuth 2.0 Authorization
- Postman - Run Collections using Newman
- Postman - Newman Overview
- Postman - Sessions
- Postman - Cookies
- Postman - Mock Server
- Postman - Assertion
- Postman - Collection Runner
- Postman - Parameterize Requests
- Postman - Create Collections
- Postman - Create Tests for CRUD
- Postman - DELETE Requests
- Postman - PUT Requests
- Postman - POST Requests
- Postman - GET Requests
- Postman - Workflows
- Postman - Authorization
- Postman - Environment Variables
- Postman - Environment Setup
- Postman - Introduction
- Postman - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Postman - Collection Runner
Postman Collection Runner is used to execute a Collection having multiple requests together. All the requests within a Collection will be executed simultaneously. The Collection Runner does not produce any Response Body.
The Collection Runner console displays the test results for inspanidual requests. It is mandatory to have more than one request within the Collection to work with Collection Runner.
The details on how to create a Collection is discussed in detail in the Chapter on Create Collections.
Execute Tests with Collection Runner
Follow the steps given below to execute the tests with Collection Runner in Postman −
Step 1 − Cpck on the Runner menu present at the top of the Postman apppcation.
Step 2 − The Collection Runner screen shall appear.
Step 3 − Select the Collection name from Choose a collection or folder.
Step 4 − Select an environment from the Environment dropdown to run the requests in a particular environment. Then, specify the number of times we need to iterate the request. We can also set a delay time in milpseconds for the requests.
Step 5 − If we have data in a file, then we have to choose the file type from Data. Then, cpck on the Run Collection1 button.
Step 6 − The Run Results page shall come up. Depending on the delay time provided, the tests should get executed.
The test results (Pass/Fail) should be displayed for each iteration. The pass status is represented in green and failed ones are represented in red. If there is no test implemented for a particular request, then it shall display the message as − This request does not have any tests.
This is the environment in which the tests are executed and the Collection names are visible at the top of the Collection Runner. For each request, the status code, time taken, payload size, and test verification are also displayed.
Advertisements