List test cases
GET https://{{host}}/test-management/v3/functional/test-suites/:testSuiteId/test-cases
Lists functional test cases included in a test suite. The list can also include deleted test cases that you can restore. The response is an array of objects, each keyed by testCaseId.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| includeRecentlyDeleted | string | (Optional) Includes items deleted within the last 30 days, which you can restore, falseby default. | |
| resolveVariables | string | (Optional) Returns test cases with resolved variables assigned statically, falseby default. | |
| accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
{"areAllTestCasesIncluded":true,"testCases":[{"clientProfile":{"client":"CHROME","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response header \"Content-Type\" has a value that ends with \"{{contentTypeValue}}\"","conditionExpressionResolved":"Response header \"Content-Type\" has a value that ends with \"json\""},"createdBy":"jperez","createdDate":"2023-04-12T10:28:13+0000","modifiedBy":"jperez","modifiedDate":"2023-04-12T10:28:14+0000","order":1,"testCaseId":301,"testRequest":{"requestHeaders":[{"headerAction":"ADD","headerName":"Accept","headerValue":"v1"}],"requestMethod":"GET","testRequestUrl":"https://{{hostname}}/","testRequestUrlResolved":"https://www.user8.example.com/"}},{"clientProfile":{"client":"CHROME","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"{{successCode.statusCodes}}\""},"createdBy":"jperez","createdDate":"2023-04-12T10:28:13+0000","derivedTestCases":[{"clientProfile":{"client":"CHROME","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"200\""},"order":1,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://abc.com/index"}},{"clientProfile":{"client":"CHROME","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"200\""},"order":2,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://def.org/index"}}],"modifiedBy":"jperez","modifiedDate":"2023-04-12T10:28:13+0000","order":2,"testCaseId":302,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://{{sampleVarGroup.urls}}/index"}}]}