Professional Documents
Culture Documents
Steps To Run Postman Collections For Every 1 Minute 1609524013
Steps To Run Postman Collections For Every 1 Minute 1609524013
Pre-requisites:
1. Node js ( node package manager) should be installed in your machine link to download and
node js by clicking this following link for windows machine https://nodejs.org/en/#home-
downloadhead
2. Install postman tool from this postman website https://www.postman.com/downloads/
3. Follow this link to install newman globally (https://learning.postman.com/docs/running-
collections/using-newman-cli/command-line-integration-with-newman/ )
4. Follow this link to install htmlextra report https://www.npmjs.com/package/newman-
reporter-htmlextra
Sequence Diagram:
A postman collection is required to keep and windows batch file. So please find the below link step
by step details to create postman collection ( I will keep the below link in comments)
https://www.linkedin.com/posts/ganeshqa_create-and-run-postman-collections-via-newman-
activity-6746991648431050752-_ENs
Launched to command prompt and it got closed automatically after the run
After successful run htmlextra report is got generated in newman folder and log file is got created
date and time details.
3. Name the task as ‘Postman_batchrun’ and select the appropriate windows os details from
configure for dropdown
4. Navigate to Triggers tab and click New button and it will open New Trigger as below
5. Select the below trigger details based on your requirements and click ok
Begin the task: On a Schedule , One time , Repeat task every 1 minute ( its editable ) , duration 15
minutes, also we can select the schedule expiration if it required