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.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(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.

Request Body

{"0"=>{"clientProfile"=>{"client"=>"CURL", "ipVersion"=>"IPV6"}, "condition"=>{"conditionExpression"=>"Response header \"Content-Type\" has a value that ends with \"{{contentTypeValue}}\""}, "testCaseId"=>301, "testRequest"=>{"requestHeaders"=>[{"headerAction"=>"ADD", "headerName"=>"Accept", "headerValue"=>"v1"}], "requestMethod"=>"POST", "testRequestUrl"=>"https://{{hostname}}/"}}, "1"=>{"clientProfile"=>{"client"=>"CHROME", "ipVersion"=>"IPV6"}, "condition"=>{"conditionExpression"=>"Response code is one of \"{{successCode.statusCodes}}\""}, "testCaseId"=>302, "testRequest"=>{"requestMethod"=>"GET", "testRequestUrl"=>"https://{{sampleVarGroup.urls}}/index"}}, "2"=>{"clientProfile"=>{"client"=>"CHROME", "ipVersion"=>"IPV6"}, "condition"=>{"conditionExpression"=>"Response code is one of \"{{successCode.statusCodes}}\""}, "testCaseId"=>321, "testRequest"=>{"requestMethod"=>"POST", "testRequestUrl"=>"https://{{sampleVarGroup.urls}}/index"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring