Summary
This this the tool to convert our test script to newman/postman executable script, execute the script with newman API.
Prerequisite:
Run below command to install dependencies for this tool.
npm install -g postman-script-executor
How to use?
Parameter | Description |
---|---|
-d | Absolute path of the data file. |
-o | Absolute path of the report that should be generated to. |
-e | Absolute path of the postman environment file. |
Sample:
newmanexec {postman collection} -d {data file} -o {output directory} -e {postman environment}