/
Test Type Rest API
Test Type Rest API
Test types can be accessed using GET service.
Authentication - Use Basic Authentication for this API.
GET
GET (Using Query Parameters)
API URL
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
Attributes | Type | Description |
---|---|---|
testTypeName | String | Contains ignore case search |
Response
Attributes | Type | Description |
---|---|---|
testTypeId | Long | Id of test type |
testTypeName | String | Name of test type |
Response Codes
HTTP Code | Description |
---|---|
200 | Search successful and results returned |
400 | Bad request |
401 | Authentication failure |
403 | Authorization failure (no access to resource) |
500 | Unexpected internal server error |
Example Output
Test types
[ { "testTypeName": "Unit Test", "testTypeId": 10001 }, { "testTypeName": "Functional Test", "testTypeId": 10002 }, { "testTypeName": "Integration Test", "testTypeId": 10003 } ]
, multiple selections available,
Related content
runAllTests (API Fortress)
runAllTests (API Fortress)
More like this
get (REST Plugin)
get (REST Plugin)
More like this
put (REST plugin)
put (REST plugin)
More like this
API Tokens
API Tokens
More like this
head (REST Plugin)
head (REST Plugin)
More like this
FlexDeploy - REST Plugin Guide
FlexDeploy - REST Plugin Guide
More like this
The following macros are not currently supported in the footer:
- style