get https://testops.katalon.io/api/v1/test-suites/
A successful request to this endpoint returns details of a specified test suite.
Request
This request uses the GET method, which is used to retrieve data of a specific test suite from the specified resource.
For basic authorization, replace this with your actual username and password (or API key) in the header request in the username:password
or username:api_key
format. Your user creds are combined to form a Base64 encoded string.
You need to provide the following required query parameters:
id
: the alphanumeric ID of the test case.
Response
The response is in JSON. This API response provides detailed information about the test suite after the GET operation.
See the following example:
{
"id":1120266,
"name":"Mobile Testing Native app",
"path":"Test Suites/TS Mobile",
"project": {...},
"alias":"mobile-testing-native-app",
"lastExecutionTestSuite”: {
"status":"FAILED",
"startTime":"2022-11-24T17:10:17.956+0000",
"endTime":"2022-11-24T17:10:17.956+0000",
"duration":0,
"totalTests":1,
"totalPassedTests":0,
"totalFailedTests":1,
"totalErrorTests":0,
"totalIncompleteTests":0,
"totalSkippedTests":0,
"id":474897161,
"testSuite": {
"id":1120266,
"alias":"mobile-testing-native-app",
"urlId":"1120266-mobile-testing-native-app"
},
"executionId":13679107,
"urlId":"474897161-mobile-testing-native-app"
},
"updatedAt":"2022-11-30T07:10:21.988+0000",
"createdAt":"2022-11-30T07:10:17.037+0000",
"type":"KATALON_STUDIO",
"urlId":"1120266-mobile-testing-native-app"
}
Refer to the following table about the response body parameters:
Property | Type | Description |
---|---|---|
id | integer | The unique identifier of the test suite. |
name | string | The name of the test suite. |
path | string | The file folder location of the test suite in TestOps. |
project | project object | The project object associated with the test suite. |
alias | string | The alias for the test class used in a test script. |
lastExecutionTestSuite | lastExecutionTestSuite object | This object contains details of the latest execution of a test suite, including execution status, total tests executed, duration, execution ID, and start and end times. |
updatedAt | string | The date and time when the test suite was last updated. |
createdAt | string | The date and time when the test suite was created. |
urlId | string | The unique URL identifier of a test suite. |
Try it!
- Enter the test suite ID below.
- Select the language in Language.
- Enter your user name or API credentials.
- Review your API call and click Try it!