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).

StatusDescription
200 - OKReturned if the request was completed successfully.
403 - ForbiddenReturned 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 - NotFoundReturned 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

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{runId}5cd9987f-c4c6-400e-a3a3-95f7997be00aThe unique identifier (GUID) of the Automated Test Run.

Response Headers

KeyValueDescription
Content-Typeapplication/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

  • No labels