... | ... | @@ -74,7 +74,7 @@ If you now go to your preferred Jenkins job, you can a configuration file as a P |
|
|
### Postman collection
|
|
|
* You are able to run a Postman collection on a deployed API, to do this you first have to export your Postman collection and store the `.json` file in your repository;
|
|
|
* Now go to Jenkins and install npm by using `apt-get install nodejs`;
|
|
|
* Now install newman by using `npm install -g newman`;
|
|
|
* Now install [newman](https://www.npmjs.com/package/newman) by using `npm install -g newman`;
|
|
|
* Create a new freestyle Jenkins job and let it run after deploying succeeds;
|
|
|
* Add `newman run "<Postman collection>.json" --disable-unicode` to the Build step.
|
|
|
|
... | ... | |