leafle / newman-reporter-teamcity

A newman reporter for TeamCity.
MIT License
20 stars 13 forks source link
newman teamcity

newman-reporter-teamcity

A newman reporter for TeamCity. See the newman documentation for more info.

Getting Started

  1. Install newman
  2. Install newman-reporter-teamcity
  3. Add to your TeamCity build
  4. Party! partyparrot

Prerequisites

  1. TeamCity
  2. npm
  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:

TeamCity Log View

and in the Tests tab in TeamCity like this:

TeamCity Tests View