1.0.8 • Published 5 years ago

newman-reporter-slackthread v1.0.8

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

newman-reporter-slackthread

A newman reporter for slack

Installation

npm install newman-reporter-slackthread

Usage

Set the reporter options

Reporter option can be set as environment variables or from reporter options arguments

export SLACK_WEBHOOK_URL='https://hooks.slack.com/services/xxx/yyy/zzzzzzzzzzzz'
export SLACK_CHANNEL='#slack-channel'
export TITLE='newman run title'
export HEADER='newman run header'
export THREAD='{thread_ts}'

Run newman test with the reporter option -r slack

newman run my-collection.postman_collection.json -r cli,slack --reporter-slack-channel '#slack-channel' --reporter-slack-webhook-url 'https://hooks.slack.com/services/xxx/yyy/zzzzzzzzzzzz'
1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago