Custom Postman /Newman api test suite reporter for Slack
Setup
- Install Newman
$ npm run i -g newman
- Create slack app with a Slack webhook
- Install this custom Newman reporter
npm i -g newman-reporter-testsuiteslack
Running the test collection
newman run <thisCollectionFile> -e <thisEnvironmentFile> --suppress-exit-code -r testsuiteslack --reporter-testsuiteslack-webhookurl '<thisWebhookUrl>'