Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 13 Current »

Test types can be accessed using GET service.

Authentication - Use Basic Authentication for this API.

GET

GET (Using Query Parameters)

Base URL for Test Type REST API

http://host:port/flexdeploy/rest/v1/administration/testautomation/testtype

http://host:port/flexdeploy/rest/v1/administration/testautomation/testtype?testTypeName={name}

The information about available Test Types can be accessed through this method. It returns the name and id of all available Test Types. You can also search by name using query parameters to access a specific Test Type's information.

Request

AttributesTypeDescription
testTypeNameStringContains ignore case search

Response

AttributesTypeDescription
testTypeIdLongId of test type
testTypeNameStringName of test type

Example Output

Test types
[
      {
      "testTypeName": "Unit Test",
      "testTypeId": 10001
   },
      {
      "testTypeName": "Functional Test",
      "testTypeId": 10002
   },
      {
      "testTypeName": "Integration Test",
      "testTypeId": 10003
   }
]
  • No labels