TeamCity REST API Reference 2024.07 Help

Test

Represents a test.

Properties

Field

Data type

id

string

name

string

mutes

Mutes

investigations

Investigations

testOccurrences

TestOccurrences

parsedTestName

ParsedTestName

href

string

locator

string

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.

<test href="string" id="string" locator="string" name="string"> <mutes count="123" href="string" nextHref="string" prevHref="string"> <mute>[[[mute...|mute.html]]]</mute> </mutes> <investigations count="123" href="string" nextHref="string" prevHref="string"> <investigation>[[[investigation...|investigation.html]]]</investigation> </investigations> <testOccurrences count="123" failed="123" href="string" ignored="123" muted="123" newFailed="123" nextHref="string" passed="123" prevHref="string"> <testOccurrence>[[[testOccurrence...|testoccurrence.html]]]</testOccurrence> <testCounters>[[[testCounters...|testcounters.html]]]</testCounters> </testOccurrences> <parsedTestName testClass="string" testMethodName="string" testNameWithParameters="string" testNameWithoutPrefix="string" testPackage="string" testShortName="string" testSuite="string"/> </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" }
Last modified: 04 July 2024