Date: Thu, 28 Mar 2024 11:10:56 +0000 (UTC) Message-ID: <2098080007.7717.1711624256529@catch-kbase-p> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7716_1050606397.1711624256528" ------=_Part_7716_1050606397.1711624256528 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Gets the root result nodes of an Automated Test Run.
This resource supports the following methods: GET
Retrieves the root result nodes of an automated test run.
For more details on expansions, please see the Expand help topic.
These are the expected status codes returned by the service. In addition= , some other status codes may be returned if either an internal error occur= s or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successful= ly. |
403 - Forbidden | Returned if ET could not complete the request (n= ormally due to a validation failure or the necessary permissions to complet= e the request have not been met). |
404 - NotFound | Returned if the ID for the run was not found in = the database. |
Retrieves root run result nodes.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{runId} | 1459858c-9526-412e-afdd-09415593c2d3 | The unique identifier (GUID) of the run to get r= esults for. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=3Dutf-8 |
Response Body
[ { "HasAttachments": false, "HasIncidents": false, "HasChildren": true, "Id": "a1d456c4-3713-4f5e-906b-8d56fd977aa2", "Name": "Passing test run node", "Description": "A node that passes", "Notes": null, "Status": "Passed", "Iteration": 5, "StartedAt": "2008-12-25T01:24:00Z", "FinishedAt": "2008-12-25T01:29:00Z", "DurationInSeconds": 300.0, "Expands": [ "Children" ], "Metadata": { "ApplicationDir": "C:\\Program Files (x86)\\HP\\QuickTest Professiona= l", "ApplicationPath": "\\samples\\flight\\app\\flight4a.exe" }, "Parameters": { "Disp": "OpenApplication [FlightLib] Summary", "ElementName": "Action" }, "Self": "http://localhost/api/automatedtestrun/1459858c-9526-412e-afdd-= 09415593c2d3/node/a1d456c4-3713-4f5e-906b-8d56fd977aa2" }, { "HasAttachments": false, "HasIncidents": false, "HasChildren": false, "Id": "8b34026c-260e-4a8c-8bc5-60df88cf1c27", "Name": "Failed test run node", "Description": "A node that's failed", "Notes": null, "Status": "Failed", "Iteration": 5, "StartedAt": "2008-12-25T01:24:00Z", "FinishedAt": "2008-12-25T01:29:00Z", "DurationInSeconds": 300.0, "Expands": [ "Children" ], "Metadata": { "ApplicationDir": "C:\\Program Files (x86)\\HP\\QuickTest Professiona= l", "ApplicationPath": "\\samples\\flight\\app\\flight4a.exe" }, "Parameters": { "Disp": "OpenApplication [FlightLib] Summary", "ElementName": "Action" }, "Self": "http://localhost/api/automatedtestrun/1459858c-9526-412e-afdd-= 09415593c2d3/node/8b34026c-260e-4a8c-8bc5-60df88cf1c27" }, { "HasAttachments": false, "HasIncidents": false, "HasChildren": false, "Id": "12a4c6ad-5c99-4f61-974b-723543cb167c", "Name": "Not run test run node", "Description": "A node that's not been run", "Notes": null, "Status": "NotRun", "Iteration": 5, "StartedAt": "2008-12-25T01:24:00Z", "FinishedAt": "2008-12-25T01:29:00Z", "DurationInSeconds": 300.0, "Expands": [ "Children" ], "Metadata": { "ApplicationDir": "C:\\Program Files (x86)\\HP\\QuickTest Professiona= l", "ApplicationPath": "\\samples\\flight\\app\\flight4a.exe" }, "Parameters": { "Disp": "OpenApplication [FlightLib] Summary", "ElementName": "Action" }, "Self": "http://localhost/api/automatedtestrun/1459858c-9526-412e-afdd-= 09415593c2d3/node/12a4c6ad-5c99-4f61-974b-723543cb167c" } ]
Status Code
200 - OK