Newman the cli Companion for Postman** Not an official task **Using Newman, one can effortlessly run and test a Postman Collections directly from the command-line. Now in a task! How toYou can include this task in a build or release pipeline. Here's a quick 'How To' Requisites
ExecutionConfigure this task as per your requirements. (see here and here for options) ReportTest report can be integrated in Team Services. To do so :
Execution is now reported with test statistics. Report - HTML Extra
Note About Failed TestsIf your tests are failing, then you will not see the results in the test tab. You can read more about it here, but to resolve that you can:
Realize that this will then NOT fail your pipeline because your tests failed. There is currently no documented way around this. LimitationsFollowing command line options are not supported:
Breaking change(s)Version 4.x
Known issue(s)
Learn MoreThe source to this extension is available. Feel free to take, fork, and extend. View Notices for third party software included in this extension. If you use a Postman Enterprise account workspace check out this task to use in a pipeline. Here's the post explaining it from the tasks author. Minimum supported environments
ContributorsWe thank the following contributor(s) for this extension:
Feedback
|