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
.
Body
PARAM
Key | Datatype | Required | Description |
includeRecentlyDeleted
|
string | (Optional) Includes items deleted within the last 30 days, which you can restore, `false` by default. | |
resolveVariables
|
string | (Optional) Returns test cases with resolved variables assigned statically, `false` by default. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-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&qu Curl curl -X GET 'https://host/test-management/v3/functional/test-suites/:testSuiteId/test-cases?includeRecentlyDeleted=&resolveVariables=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |