Get details of a test suite

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:

PropertyTypeDescription
idintegerThe unique identifier of the test suite.
namestringThe name of the test suite.
pathstringThe file folder location of the test suite in TestOps.
projectproject objectThe project object associated with the test suite.
aliasstringThe alias for the test class used in a test script.
lastExecutionTestSuitelastExecutionTestSuite objectThis 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.
updatedAtstringThe date and time when the test suite was last updated.
createdAtstringThe date and time when the test suite was created.
urlIdstringThe unique URL identifier of a test suite.

Try it!

  1. Enter the test suite ID below.
  2. Select the language in Language.
  3. Enter your user name or API credentials.
  4. Review your API call and click Try it!
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!