Logo
Akamai APIs API Documentation

Update test cases

PUT https://{{host}}/test-management/v3/functional/test-suites/:testSuiteId/test-cases

Updates functional test cases in a test suite. The operation responds with a partial-success 207 response.

 

Body PARAM

Key Datatype Required Description 
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 
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X PUT 'https://undefined/test-management/v3/functional/test-suites/:testSuiteId/test-cases?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"0":{"clientProfile":{"client":"CURL","ipVersion":"IPV6"},"condition":{"conditionExpression":"Response header \"Content-Type\" has a value that ends with \"undefined\""},"testCaseId":301,"testRequest":{"requestHeaders":[{"headerAction":"ADD","headerName":"Accept","headerValue":"v1"}],"requestMethod":"POST","testRequestUrl":"https://undefined/"}},"1":{"clientProfile":{"client":"CHROME","ipVersion":"IPV6"},"condition":{"conditionExpression":"Response code is one of \"undefined\""},"testCaseId":302,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://undefined/index"}},"2":{"clientProfile":{"client":"CHROME","ipVersion":"IPV6"},"condition":{"conditionExpression":"Response code is one of \"undefined\""},"testCaseId":321,"testRequest":{"requestMethod":"POST","testRequestUrl":"https://undefined/index"}}}'

ENDPOINTS