Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use this as a template. Create a file with this format, replace the values for the name, the host and your API addresses and put it in the same folder as the postman collections.

4  Now

...

create the right script or batch file for your platform (either Windows or Linux/Mac), put it in the same folder and run script execution command.

For example, you can use a batch file (runtest.bat) which would look like the following example: 

set http_proxy=http://proxyinternet.tesa:8080
newman -c DSTestedAPITestCollection.postman_collection -e TMFENV -H DSTestedAPICTKResult.html -o

...

DSTestedAPICTKResult.json
pause >nul

5  A folder name results will be created and filled with the output of the tests. You should see something like the following: 

...