Resource: Automated Test Run Data ( /api/automatedtestrun/{id}/testdata )
A resource representing the data of an Automated Test Run.
Methods
GET
Retrieves the data for a particular Automated Test Run.
Required Permissions
- TestManagement/View
Status Codes
These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successfully. |
403 - Forbidden | Returned if ET could not complete the request (normally due to a validation failure or the necessary permissions to complete the request have not been met). |
404 - NotFound | Returned if the ID for the run was not found in the database. |
Example - GET
Retrieves the data for a particular Automated Test Run.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{runId} | 5cd9987f-c4c6-400e-a3a3-95f7997be00a | The unique identifier (GUID) of the Automated Test Run. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=utf-8 |
Response Body
{ "Tables": [ { "Name": "People", "ColumnNames": [ "Age", "Id", "Name" ], "Rows": [ { "Id": "1", "Name": "Joe", "Age": "33", "__row_number": "0" }, { "Id": "2", "Name": "John", "Age": "45", "__row_number": "1" } ] }, { "Name": "Jobs", "ColumnNames": [ "Id", "Name" ], "Rows": [ { "Id": "1", "Name": "Baker", "__row_number": "0" }, { "Id": "2", "Name": "Butcher", "__row_number": "1" } ] } ], "Self": "http://localhost/api/automatedtestrun/5cd9987f-c4c6-400e-a3a3-95f7997be00a/testdata" }
Status Code
200 - OK