You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Resource: Automated Test Type ( /api/automatedtesttype/{name} )

Automated test type resource

This resource supports the following methods: GET

Methods

GET


Retrieves automated test type by its name.

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 request completed successfully.
404 - NotFoundReturned if the automated test type does not exist.

Example - Example - Get automated test type

Example of retrieving an automated test type by its name.

Request Headers

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{name}UnitTestThe name of the automated test type to retrieve

Response Headers

KeyValueDescription
Content-Typeapplication/json; charset=utf-8

Response Body

{
  "Name": "UnitTest",
  "FriendlyName": "Unit Test Results",
  "Types": [
    {
      "Name": "NUnit",
      "FriendlyName": "NUnit"
    },
    {
      "Name": "JUnit",
      "FriendlyName": "JUnit"
    }
  ],
  "Self": "http://localhost/api/automatedtesttype/unittest"
}

Status Code

200 - OK

  • No labels