Newman - CLI companion for Postman

Newman - CLI companion for Postman

A developer's love for the command line is undeniable.

The developer's expression when you say - "Run this test suite in Postman. Generate the summary, download and share"

via GIPHY

Meet "Newman" : It is a command-line collection runner for Postman. It enables one to run and test a Postman Collection directly from the command line.

How to install newman

$ npm install -g newman

How to run Postman Collection with environment variables on the command line

 $> newman run .\Weather.postman_collection.json -e .\openweather_Dev.postman_environment.json

newmancode.PNG

Easy!

I will be exploring newman further, hope you find this interesting.