TeamCity REST API Reference 2022.10 Help

TestCounters

Represents a test results counter (how many times this test was successful/failed/muted/ignored).

Properties

Field

Data type

ignored

integer

failed

integer

muted

integer

success

integer

all

integer

newFailed

integer

duration

long

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<testCounters all="123" duration="123456789" failed="123" ignored="123" muted="123" newFailed="123" success="123"/>
{ "all" : 4, "duration" : 8, "ignored" : 9, "newFailed" : 6, "success" : 5, "failed" : 0, "muted" : 7 }
Last modified: 26 October 2022