1. NOW START STEP BY STEP TO RUN POSTMAN COLLECTION ON COMMAND PROMPT
Step 1: Install Node (You may skip this step if you already have Node installed)
Follow the steps to download Node which is specific to your CI’s platform.
Step 2: Install Newman (You may skip this step if you already have Newman installed)
Newman is a command-line tool that allows you to run a collection in your local development environment or on your own server. The following command installs Newman.
npm install -g newman
Reporter installing command
npm install -g newman-reporter-htmlextra
Step 3: Export postman Tests Collection In your postman tool Test Collection (looks like a folder) on the Left Side you see 3 dots (Point 1) Click on that, from the menu choose to export (point 2), And saved file with .json on your local machine folder, And for the environment & Global variables also download with .json in the same folder (See snapshot)
Add a Comment