Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

Automated test type resource

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

Code Block
languagenone
{
  "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