Icon

You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the [listing] to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

List tests:
GET http://teamcity:8111/app/rest/testOccurrences?locator=<locator dimension>:<value>
Supported locators:

  • buildbuild:(id:buildId) ,muted:true (tests which were muted when - test run in the build ran)

  • build:(id:buildId),currentlyMutedmuted:true - (failures were not muted, but the tests which were muted since when the failurebuild ran)

  • test

  • currentlyFailing:true,affectedProject:<project locator> - tests currently failing under the project specified (recursively)

  • currentlyMuted:true,affectedProject:<project locator> - tests currently muted under the project specified (recursively) - See also project's Muted Problems tab

Examples:
List all build's tests: GET http://teamcity:8111/app/rest/testOccurrences?locator=build:<buildLocator> 

...