1.3.0 • Published 3 years ago

newman-reporter-slack v1.3.0

Weekly downloads
479
License
ISC
Repository
github
Last release
3 years ago

newman-reporter-slack

A newman reporter for slack

newman run

collection - environmenttotalfailed
iterations10
requests10
testScripts10
prerequestScripts10
assertions10
------------------------------------
total run duration100ms

Installation

npm install newman-reporter-slack

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'

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.3.0

3 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.0-beta.1

6 years ago

1.0.0

6 years ago