The Postman plugin enables to run Postman Collections (multiple testsuites) and a specific folder within a collection defined in Postman. The entire collection must be exported to a file or the Postman collection URL(http or https) must be provided as an input to this plugin. Collection must contain one or more test suites, with one or more tests cases defined. FlexDeploy Plugin supports Postman Integration using Newman utility(command line collection runner for Postman).
You can install Newman and Node on your Build or Development servers for execution of Tests. This should be defined in FlexDeploy as Testing Instance. See Creating/Editing a Test Instance. You can use this Testing Instance as Override on your Test Definition, which means that if you are running Build or Deploy on any server/environment and as part of the Workflow you execute tests, execution will transfer to specific Testing Instance for execution of Tests.
You can omit setup of Testing instance if newman and node are available on PATH environment variable wherever you are executing Build, Deploy or Test Workflow.
The Postman plugin has been tested with Postman version 6.0.9, 6.0.10 running on Windows and Linux Endpoints. Newman runs best with Postman version 6.0.10, but the test results will be identical across the versions of Postman.
|Newman is built on Node.js. Node.js must be installed and Newman should be configured globally on the endpoint system so that it can be run from anywhere.|
Node.js needs to be setup in the system environment path of the endpoint before running the plugin operation. If this setup is not done, plugin will set up the same in the end point and then proceed with the collection runner.