Results - List
Get test results for a test run.
GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/results?api-version=6.0
GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/results?detailsToInclude={detailsToInclude}&$skip={$skip}&$top={$top}&outcomes={outcomes}&api-version=6.0
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
|
The name of the Azure DevOps organization. |
project
|
path | True |
|
Project ID or project name |
run
|
path | True |
|
Test run ID of test results to fetch. |
api-version
|
query | True |
|
Version of the API to use. This should be set to '6.0' to use this version of the api. |
$skip
|
query |
|
Number of test results to skip from beginning. |
|
$top
|
query |
|
Number of test results to return. Maximum is 1000 when detailsToInclude is None and 200 otherwise. |
|
details
|
query |
Details to include with test results. Default is None. Other values are Iterations and WorkItems. |
||
outcomes
|
query |
|
Comma separated list of test outcomes to filter test results. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Name | Description |
---|---|
vso.test | Grants the ability to read test plans, cases, results and other test management related artifacts. |
Examples
Get a list of test results |
With test iterations and workitem details |
With workitem details |
Get a list of test results
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/results?api-version=6.0
Sample Response
{
"count": 3,
"value": [
{
"id": 100000,
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-13T11:12:48.487Z",
"completedDate": "2016-07-13T11:12:48.493Z",
"durationInMs": 4,
"outcome": "Passed",
"revision": 1,
"runBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"state": "Completed",
"testCase": {
"name": "Pass1"
},
"testRun": {
"id": "16",
"name": "VSTest Test Run release any cpu",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
},
"lastUpdatedDate": "2016-07-13T11:12:49.123Z",
"lastUpdatedBy": {
"id": "375baa5b-5148-4e89-a549-ec202b722d89",
"displayName": "Project Collection Build Service (fabrikam)",
"uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
},
"priority": 0,
"computerName": "TASKAGENT5-0055",
"build": {
"id": "5",
"name": "20160713.2",
"url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
},
"createdDate": "2016-07-13T11:12:49.123Z",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100000",
"failureType": "None",
"automatedTestStorage": "unittestproject1.dll",
"automatedTestType": "UnitTest",
"automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
"automatedTestId": "aefba017-ab06-be36-6b92-de4e29836f72",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "Pass1",
"customFields": [],
"automatedTestName": "UnitTestProject1.UnitTest1.Pass1"
},
{
"id": 100001,
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-13T11:12:48.547Z",
"completedDate": "2016-07-13T11:12:48.62Z",
"durationInMs": 74,
"outcome": "Failed",
"revision": 1,
"runBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam-Fiber-TFVC",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"state": "Completed",
"testCase": {
"name": "Fail1"
},
"testRun": {
"id": "16",
"name": "VSTest Test Run release any cpu",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
},
"lastUpdatedDate": "2016-07-13T11:12:49.123Z",
"lastUpdatedBy": {
"id": "375baa5b-5148-4e89-a549-ec202b722d89",
"displayName": "Project Collection Build Service (fabrikam)",
"uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
},
"priority": 10,
"computerName": "TASKAGENT5-0055",
"build": {
"id": "5",
"name": "20160713.2",
"url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
},
"errorMessage": "Assert.Fail failed. ",
"createdDate": "2016-07-13T11:12:49.123Z",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100001",
"failureType": "None",
"automatedTestStorage": "unittestproject1.dll",
"automatedTestType": "UnitTest",
"automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
"automatedTestId": "7c66fbda-2d0e-a714-e18d-83c0464019a5",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "Fail1",
"stackTrace": " at UnitTestProject1.UnitTest1.Fail1() in C:\\a\\1\\s\\UnitTestProject1\\UnitTestProject1\\UnitTest1.cs:line 20\r\n",
"customFields": [],
"failingSince": {
"date": "2016-07-13T11:11:17.587Z",
"build": {
"id": 4,
"definitionId": 0,
"number": "20160713.1",
"buildSystem": "Azure DevOps Services"
}
},
"automatedTestName": "UnitTestProject1.UnitTest1.Fail1"
},
{
"id": 100002,
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-13T11:12:48.623Z",
"completedDate": "2016-07-13T11:12:48.623Z",
"outcome": "NotExecuted",
"revision": 1,
"runBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam-Fiber-TFVC",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"state": "Completed",
"testCase": {
"name": "Ignore1"
},
"testRun": {
"id": "16",
"name": "VSTest Test Run release any cpu",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
},
"lastUpdatedDate": "2016-07-13T11:12:49.123Z",
"lastUpdatedBy": {
"id": "375baa5b-5148-4e89-a549-ec202b722d89",
"displayName": "Project Collection Build Service (fabrikam)",
"uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
},
"priority": 20,
"computerName": "TASKAGENT5-0055",
"build": {
"id": "5",
"name": "20160713.2",
"url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
},
"createdDate": "2016-07-13T11:12:49.123Z",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100002",
"failureType": "None",
"automatedTestStorage": "unittestproject1.dll",
"automatedTestType": "UnitTest",
"automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
"automatedTestId": "ef9123e0-a097-7e9b-9a02-f526c7a640c0",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "Ignore1",
"customFields": [],
"automatedTestName": "UnitTestProject1.UnitTest1.Ignore1"
}
]
}
With test iterations and workitem details
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/results?detailsToInclude=WorkItems,Iterations&$top=100&api-version=6.0
Sample Response
{
"count": 1,
"value": [
{
"id": 100000,
"configuration": {
"id": "4",
"name": "Windows 8"
},
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-26T04:22:53.273Z",
"completedDate": "2016-07-26T04:22:56.953Z",
"durationInMs": 2439,
"outcome": "Failed",
"owner": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"revision": 4,
"runBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"state": "Completed",
"testCase": {
"id": "33",
"name": "TestCase1"
},
"testRun": {
"id": "31",
"name": "Plan1 (Manual)",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31"
},
"lastUpdatedDate": "2016-07-26T04:23:11.553Z",
"lastUpdatedBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"priority": 2,
"createdDate": "2016-07-26T04:22:51.8Z",
"iterationDetails": [
{
"id": 1,
"outcome": "Failed",
"errorMessage": "",
"startedDate": "2016-07-26T04:22:54.517Z",
"completedDate": "2016-07-26T04:22:56.953Z",
"durationInMs": 2439,
"actionResults": [
{
"actionPath": "00000002",
"iterationId": 1,
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000/Iterations/1/ActionResults/00000002",
"outcome": "Failed",
"startedDate": "2016-07-26T04:22:54Z",
"completedDate": "2016-07-26T04:22:54Z"
}
],
"parameters": [],
"attachments": [],
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000/Iterations/1"
}
],
"associatedBugs": [
{
"id": "34",
"name": "This step should pass.",
"url": ""
}
],
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000",
"failureType": "None",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "TestCase1",
"customFields": []
}
]
}
With workitem details
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/results?detailsToInclude=WorkItems&$top=100&api-version=6.0
Sample Response
{
"count": 2,
"value": [
{
"id": 100000,
"comment": "Website theme is looking good",
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-14T09:38:29.127Z",
"completedDate": "2016-07-14T09:38:29.127Z",
"outcome": "Passed",
"revision": 2,
"state": "Completed",
"testCase": {
"name": "VerifyWebsiteTheme"
},
"testRun": {
"id": "26",
"name": "Fabrikam Fiber test run ",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26"
},
"lastUpdatedDate": "2016-07-14T09:38:28.94Z",
"lastUpdatedBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"priority": 0,
"createdDate": "2016-07-14T09:38:28.34Z",
"associatedBugs": [
{
"id": "30",
"name": "Bug for test VerifyWebsiteLinks",
"url": ""
}
],
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/Results/100000",
"failureType": "None",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "VerifyWebsiteTheme",
"customFields": [],
"automatedTestName": "FabrikamFiber.WebSite.TestClass.VerifyWebsiteTheme"
},
{
"id": 100001,
"comment": "Website links are failing because of incorrect container id",
"project": {
"id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
"name": "Fabrikam-Fiber-TFVC",
"url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
},
"startedDate": "2016-07-14T09:38:29.127Z",
"completedDate": "2016-07-14T09:38:29.127Z",
"outcome": "Failed",
"revision": 2,
"state": "Completed",
"testCase": {
"name": "VerifyWebsiteLinks"
},
"testRun": {
"id": "26",
"name": "Fabrikam Fiber test run ",
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26"
},
"lastUpdatedDate": "2016-07-14T09:38:28.94Z",
"lastUpdatedBy": {
"id": "a5cbf24d-799f-452e-82be-f049a85b5895",
"displayName": "Fabrikam",
"uniqueName": "fabrikamfiber.vsin@hotmail.com",
"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
},
"priority": 0,
"createdDate": "2016-07-14T09:38:28.34Z",
"associatedBugs": [
{
"id": "30",
"name": "Bug for test VerifyWebsiteLinks",
"url": ""
}
],
"url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/Results/100001",
"failureType": "Known Issue",
"area": {
"id": "37528",
"name": "Fabrikam-Fiber-TFVC",
"url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
},
"testCaseTitle": "VerifyWebsiteLinks",
"customFields": [],
"automatedTestName": "FabrikamFiber.WebSite.TestClass.VerifyWebsiteLinks"
}
]
}
Definitions
Build |
Reference to a build. |
Custom |
A custom field information. Allowed Key : Value pairs - ( AttemptId: int value, IsTestResultFlaky: bool) |
Failing |
Failing since information of a test result. |
Identity |
|
Reference |
The class to represent a collection of REST reference links. |
Release |
Reference to a release. |
Result |
Details to include with test results. Default is None. Other values are Iterations and WorkItems. |
Result |
|
Shallow |
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links. |
Shared |
Reference to shared step workitem. |
Test |
Represents a test step result. |
Test |
Represents a test result. |
Test |
Test attachment information in a test iteration. |
Test |
Reference to a test result. |
Test |
Represents a test iteration result. |
Test |
Test parameter information in a test iteration. |
Test |
Represents a sub result of a test result. |
BuildReference
Reference to a build.
Name | Type | Description |
---|---|---|
branchName |
|
Branch name. |
buildSystem |
|
Build system. |
definitionId |
|
Build Definition ID. |
id |
|
Build ID. |
number |
|
Build Number. |
repositoryId |
|
Repository ID. |
uri |
|
Build URI. |
CustomTestField
A custom field information. Allowed Key : Value pairs - ( AttemptId: int value, IsTestResultFlaky: bool)
Name | Type | Description |
---|---|---|
fieldName |
|
Field Name. |
value |
|
Field value. |
FailingSince
Failing since information of a test result.
Name | Type | Description |
---|---|---|
build |
Build reference since failing. |
|
date |
|
Time since failing. |
release |
Release reference since failing. |
IdentityRef
Name | Type | Description |
---|---|---|
_links |
This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject. |
|
descriptor |
|
The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations. |
directoryAlias |
|
Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary |
displayName |
|
This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider. |
id |
|
|
imageUrl |
|
Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary |
inactive |
|
Deprecated - Can be retrieved by querying the Graph membership state referenced in the "membershipState" entry of the GraphUser "_links" dictionary |
isAadIdentity |
|
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) |
isContainer |
|
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType) |
isDeletedInOrigin |
|
|
profileUrl |
|
Deprecated - not in use in most preexisting implementations of ToIdentityRef |
uniqueName |
|
Deprecated - use Domain+PrincipalName instead |
url |
|
This url is the full route to the source resource of this graph subject. |
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
|
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |
ReleaseReference
Reference to a release.
Name | Type | Description |
---|---|---|
attempt |
|
Number of Release Attempt. |
creationDate |
|
Release Creation Date. |
definitionId |
|
Release definition ID. |
environmentCreationDate |
|
Environment creation Date. |
environmentDefinitionId |
|
Release environment definition ID. |
environmentDefinitionName |
|
Release environment definition name. |
environmentId |
|
Release environment ID. |
environmentName |
|
Release environment name. |
id |
|
Release ID. |
name |
|
Release name. |
ResultDetails
Details to include with test results. Default is None. Other values are Iterations and WorkItems.
Name | Type | Description |
---|---|---|
iterations |
|
Test iteration details in a test result. |
none |
|
Core fields of test result. Core fields includes State, Outcome, Priority, AutomatedTestName, AutomatedTestStorage, Comments, ErrorMessage etc. |
point |
|
Point and plan detail in a test result. |
subResults |
|
Subresults in a test result. |
workItems |
|
Workitems associated with a test result. |
ResultGroupType
Name | Type | Description |
---|---|---|
dataDriven |
|
Hierarchy type of test result. |
generic |
|
Unknown hierarchy type. |
none |
|
Leaf node of test result. |
orderedTest |
|
Hierarchy type of test result. |
rerun |
|
Hierarchy type of test result. |
ShallowReference
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
Name | Type | Description |
---|---|---|
id |
|
ID of the resource |
name |
|
Name of the linked resource (definition name, controller name, etc.) |
url |
|
Full http link to the resource |
SharedStepModel
Reference to shared step workitem.
Name | Type | Description |
---|---|---|
id |
|
WorkItem shared step ID. |
revision |
|
Shared step workitem revision. |
TestActionResultModel
Represents a test step result.
Name | Type | Description |
---|---|---|
actionPath |
|
Path identifier test step in test case workitem. |
comment |
|
Comment in result. |
completedDate |
|
Time when execution completed. |
durationInMs |
|
Duration of execution. |
errorMessage |
|
Error message in result. |
iterationId |
|
Iteration ID of test action result. |
outcome |
|
Test outcome of result. |
sharedStepModel |
Reference to shared step workitem. |
|
startedDate |
|
Time when execution started. |
stepIdentifier |
|
This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1" |
url |
|
Url of test action result. |
TestCaseResult
Represents a test result.
Name | Type | Description |
---|---|---|
afnStripId |
|
Test attachment ID of action recording. |
area |
Reference to area path of test. |
|
associatedBugs |
Reference to bugs linked to test result. |
|
automatedTestId |
|
ID representing test method in a dll. |
automatedTestName |
|
Fully qualified name of test executed. |
automatedTestStorage |
|
Container to which test belongs. |
automatedTestType |
|
Type of automated test. |
automatedTestTypeId |
|
TypeId of automated test. |
build |
Shallow reference to build associated with test result. |
|
buildReference |
Reference to build associated with test result. |
|
comment |
|
Comment in a test result with maxSize= 1000 chars. |
completedDate |
|
Time when test execution completed. Completed date should be greater than StartedDate. |
computerName |
|
Machine name where test executed. |
configuration |
Reference to test configuration. Type ShallowReference. |
|
createdDate |
|
Timestamp when test result created. |
customFields |
Additional properties of test result. |
|
durationInMs |
|
Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate |
errorMessage |
|
Error message in test execution. |
failingSince |
Information when test results started failing. |
|
failureType |
|
Failure type of test result. Valid Value= (Known Issue, New Issue, Regression, Unknown, None) |
id |
|
ID of a test result. |
iterationDetails |
Test result details of test iterations used only for Manual Testing. |
|
lastUpdatedBy |
Reference to identity last updated test result. |
|
lastUpdatedDate |
|
Last updated datetime of test result. |
outcome |
|
Test outcome of test result. Valid values = (Unspecified, None, Passed, Failed, Inconclusive, Timeout, Aborted, Blocked, NotExecuted, Warning, Error, NotApplicable, Paused, InProgress, NotImpacted) |
owner |
Reference to test owner. |
|
priority |
|
Priority of test executed. |
project |
Reference to team project. |
|
release |
Shallow reference to release associated with test result. |
|
releaseReference |
Reference to release associated with test result. |
|
resetCount |
|
ResetCount. |
resolutionState |
|
Resolution state of test result. |
resolutionStateId |
|
ID of resolution state. |
resultGroupType |
Hierarchy type of the result, default value of None means its leaf node. |
|
revision |
|
Revision number of test result. |
runBy |
Reference to identity executed the test. |
|
stackTrace |
|
Stacktrace with maxSize= 1000 chars. |
startedDate |
|
Time when test execution started. |
state |
|
State of test result. Type TestRunState. |
subResults |
List of sub results inside a test result, if ResultGroupType is not None, it holds corresponding type sub results. |
|
testCase |
Reference to the test executed. |
|
testCaseReferenceId |
|
Reference ID of test used by test result. Type TestResultMetaData |
testCaseRevision |
|
TestCaseRevision Number. |
testCaseTitle |
|
Name of test. |
testPlan |
Reference to test plan test case workitem is part of. |
|
testPoint |
Reference to the test point executed. |
|
testRun |
Reference to test run. |
|
testSuite |
Reference to test suite test case workitem is part of. |
|
url |
|
Url of test result. |
TestCaseResultAttachmentModel
Test attachment information in a test iteration.
Name | Type | Description |
---|---|---|
actionPath |
|
Path identifier test step in test case workitem. |
id |
|
Attachment ID. |
iterationId |
|
Iteration ID. |
name |
|
Name of attachment. |
size |
|
Attachment size. |
url |
|
Url to attachment. |
TestCaseResultIdentifier
Reference to a test result.
Name | Type | Description |
---|---|---|
testResultId |
|
Test result ID. |
testRunId |
|
Test run ID. |
TestIterationDetailsModel
Represents a test iteration result.
Name | Type | Description |
---|---|---|
actionResults |
Test step results in an iteration. |
|
attachments |
Reference to attachments in test iteration result. |
|
comment |
|
Comment in test iteration result. |
completedDate |
|
Time when execution completed. |
durationInMs |
|
Duration of execution. |
errorMessage |
|
Error message in test iteration result execution. |
id |
|
ID of test iteration result. |
outcome |
|
Test outcome if test iteration result. |
parameters |
Test parameters in an iteration. |
|
startedDate |
|
Time when execution started. |
url |
|
Url to test iteration result. |
TestResultParameterModel
Test parameter information in a test iteration.
Name | Type | Description |
---|---|---|
actionPath |
|
Test step path where parameter is referenced. |
iterationId |
|
Iteration ID. |
parameterName |
|
Name of parameter. |
stepIdentifier |
|
This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1" |
url |
|
Url of test parameter. |
value |
|
Value of parameter. |
TestSubResult
Represents a sub result of a test result.
Name | Type | Description |
---|---|---|
comment |
|
Comment in sub result. |
completedDate |
|
Time when test execution completed. |
computerName |
|
Machine where test executed. |
configuration |
Reference to test configuration. |
|
customFields |
Additional properties of sub result. |
|
displayName |
|
Name of sub result. |
durationInMs |
|
Duration of test execution. |
errorMessage |
|
Error message in sub result. |
id |
|
ID of sub result. |
lastUpdatedDate |
|
Time when result last updated. |
outcome |
|
Outcome of sub result. |
parentId |
|
Immediate parent ID of sub result. |
resultGroupType |
Hierarchy type of the result, default value of None means its leaf node. |
|
sequenceId |
|
Index number of sub result. |
stackTrace |
|
Stacktrace. |
startedDate |
|
Time when test execution started. |
subResults |
List of sub results inside a sub result, if ResultGroupType is not None, it holds corresponding type sub results. |
|
testResult |
Reference to test result. |
|
url |
|
Url of sub result. |