newman-reporter-teamcity
Version:
A newman reporter for Teamcity.
43 lines (27 loc) • 1.26 kB
Markdown
# newman-reporter-teamcity
A [newman](https://github.com/postmanlabs/newman) reporter for TeamCity. See the [newman documentation](https://www.getpostman.com/docs/postman/collection_runs/command_line_integration_with_newman) for more info.
## Getting Started
1. Install `newman`
2. Install `newman-reporter-teamcity`
3. Add to your TeamCity build
4. Party! 
### Prerequisites
1. TeamCity
2. [npm](https://www.npmjs.com/)
3. `newman`
```
npm install -g newman
```
### Installing
Install with npm
```
npm install -g newman-reporter-teamcity
```
Add a command line step to your TeamCity build with something like this. The `-r teamcity` is the flag to enable TeamCity reporting.
```
newman run "https://www.getpostman.com/collections/<your-collection-url>" -x --delay-request 10 -r teamcity
```
The output will show up in your Build Log like this:

and in the Tests tab in TeamCity like this:
