Test types can be accessed using GET service.
Each function returns a JSON test type object. The test type object is an object that has these attributes.
Attributes | Type | Description |
---|---|---|
testTypeId | Long | Id of test type |
testTypeName | String | Name of test type |
GET
GET (Using Query Parameters)
Base URL for Test Type REST API
http://host:port/flexdeploy/rest/administration/testautomation/testtype
http://host:port/flexdeploy/rest/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.
Example Output
Test types
[ { "testTypeName": "Test1", "testTypeId": 10001 }, { "testTypeName": "Test2", "testTypeId": 10002 }, { "testTypeName": "Test3", "testTypeId": 10003 } ]