Newman v4.0 has major breaking changes which will affect you if you are using deprecated CLI options or running Newman on Node v4. It drops support for Node v4 and deprecated v2 CLI options. Also, inbuilt HTML reporter is moved to a standalone reporter.
If you're updating from an existing version of Newman, make sure you read the rest of this document, to understand the changes.
$ npm uninstall -g newman
$ npm install -g newman # Install newman globally
$ newman --version # Should show the latest version of Newman
Newman v4 requires Node.js >= v6. Install Node.js via package manager.
Newman v4 drops support for all the deprecated v2 CLI options, check Newman v2 to v3 migration guide.
For the complete list of supported options, see README.md
The inbuilt HTML reporter is moved to a standalone reporter which can be installed via:
$ npm install -g newman-reporter-html
Installation should be global if newman is installed globally, local otherwise. (Remove -g
flag from the above command for a local installation.)
The complete installation and usage guide is available at newman-reporter-html.