TeamCity REST API Reference 2023.05 Help

Tests

Represents a paginated list of Test entities.

Properties

Field

Data type

count

integer

myTestCounters

TestCounters

nextHref

string

prevHref

string

test

List<Test>

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.

<tests count="123" nextHref="string" prevHref="string"> <myTestCounters all="123" duration="123456789" failed="123" ignored="123" muted="123" newFailed="123" success="123"/> <test>[[[test...|test.html]]]</test> </tests>
{ "test" : [ { "testOccurrences" : "[[[testOccurrences...|testoccurrences.html]]]", "name" : "name", "investigations" : "[[[investigations...|investigations.html]]]", "parsedTestName" : "[[[ParsedTestName...|parsedtestname.html]]]", "id" : "id", "href" : "href", "mutes" : "[[[mutes...|mutes.html]]]", "locator" : "locator" } ], "count" : 1, "myTestCounters" : { "all" : 9, "duration" : 7, "ignored" : 4, "newFailed" : 0, "success" : 0, "failed" : 7, "muted" : 9 }, "prevHref" : "prevHref", "nextHref" : "nextHref" }
Last modified: 22 May 2023