October 2020
Intermediate to advanced
358 pages
8h 39m
English
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.
You can check if you already have Newman installed by typing the following at the command line:
| | newman -v |
If it’s installed, you’ll get a response showing the version number of your release of Newman. On my machine I get this:
| | 4.5.0 |
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 ...