Logo
Akamai APIs API Documentation

Get a test suite with child objects

GET https://{{host}}/test-management/v3/functional/test-suites/:testSuiteId/with-child-objects

Exports a test suite with test cases and variables.

 

Body PARAM

Key Datatype Required Description 
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

{ "configs": { "propertyManager": { "propertyId": 1234, "propertyName": "config_user8", "propertyVersion": 4 } }, "createdBy": "hgildong", "createdDate": "2023-04-12T10:28:13+0000", "executableTestCaseCount": 3, "isLocked": false, "isStateful": false, "modifiedBy": "hgildong", "modifiedDate": "2023-04-12T10:28:13+0000", "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": "hgildong", "createdDate": "2023-04-12T10:28:13+0000", "modifiedBy": "hgildong", "modifiedDate": "2023-04-12T10:28:13+0000", "order": 1, "testCaseId": 301, "testRequest": { "requestHeaders": [ { "headerAction": "ADD", "headerName": "Accept", "headerValue": "v1" } ], "requestMethod": "GET", "testRequestUrl": "https://{{hostname}}/?abc=1234555", "testRequestUrlResolved": "https://www.user8.example.com/?abc=1234555" } }, { "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" } } ], "testSuiteDescription": "This test suite performs basic check of www.user8.example.com", "testSuiteId": 284, "testSuiteName": "www.user8.example.com test suite", "variables": [ { "createdBy": "hgildong", "createdDate": "2023-04-12T10:28:13+0000", "isDynamicallyUsed": false, "modifiedBy": "hgildong", "modifiedDate": "2023-04-12T10:28:13+0000", "variableId": 201, "variableName": "hostname", "variableValue": "www.user8.example.com" }, { "createdBy": "jperez", "createdDate": "2023-04-12T10:28:13+0000", "isDynamicallyUsed": false, "modifiedBy": "jperez", "modifiedDate": "2023-04-12T10:28:13+0000", "variableId": 202, "variableName": "contentTypeValue", "variableValue": "json" }, { "createdBy": "hgildong", "createdDate": "2023-04-12T10:28:13+0000", "modifiedBy": "hgildong", "modifiedDate": "2023-04-12T10:28:13+0000", "variableGroupValue": [ { "columnHeader": "urls", "columnValues": [ "abc.com", "def.org" ] } ], "variableId": 203, "variableName": "sampleVarGroup" }, { "createdBy": "jperez", "createdDate": "2023-04-12T10:28:13+0000", "modifiedBy": "jperez", "modifiedDate": "2023-04-12T10:28:13+0000", "variableGroupValue": [ { "columnHeader": "statusCodes", "columnValues": [ "200", "200" ] } ], "variableId": 204, "variableName": "successCode" } ] }



Curl
curl -X GET 'https://undefined/test-management/v3/functional/test-suites/:testSuiteId/with-child-objects?resolveVariables=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS