The Newman command-line app can run the tests created by the Postman app. This makes running Postman tests really simple, and it also makes it easy to include these tests in command-line-driven build scripts.
Checking for Newman
You can check if you already have Newman installed by typing the following at the command line:
If it’s installed, you’ll get a response showing the version number of your release of Newman. On my machine I get this:
You can install the Newman test runner using the npm utility you installed earlier (see NodeJS and npm). To do that, just type the following at the command line:
|||npm -g install newman|
That’s all you need to do. You can check to see if it was properly installed ...