Newman the cli Companion for Postman
Using Newman, one can effortlessly run and test a Postman Collections directly from the command-line. Now in a task!
You can include this task in a build or release pipeline. Here's a quick 'How To'
Add a npm task to install Newman before execution.
Set a display name (eg : 'Install Newman').
As 'Command and arguments' set
install newman -g
Test report can be integrated in Team Services.
To do so :
- Select at least
junitas a reporter option (others can be added).
- Optionaly specify path to export junit report.
- Add a 'Publish Test Result' task, to process generated Junit report. Specify format (JUnit) and path and to xml file.
Execution is now reported with test statistics.
Following command line options are not supported:
- None of the CLI option
The source to this extension is available. Feel free to take, fork, and extend.
View Notices for third party software included in this extension.
Minimum supported environments
- Azure DevOps Services
- Team Foundation Server
We thank the following contributor(s) for this extension: