A newman reporter for sending reports to slack webhook URL
npm install newman-reporter-slackwebhooknewman run
| collection - environment | total | failed |
|--------------------------|-------|---------|
| iterations | 1 | 0 |
| requests | 1 | 0 |
| testScripts | 1 | 0 |
| prerequestScripts | 1 | 0 |
| assertions | 1 | 0 |
| ------------------------ | ----- | ------- |
| total run duration | 100ms | |
Create a .env file in the root of your project and add these configurations.
````
export SLACK_WEBHOOK_URL='https://hooks.slack.com/services/xxx/yyy/zzzzzzzzzzzz'
export SLACK_WEBHOOK_MSG_TITLE='newman run title'
export SLACK_WEBHOOK_MSG_HEADER='newman run header'