Reorder test cases in a test suite
PUT https://{{host}}/test-management/v3/functional/test-suites/:testSuiteId/test-cases/order
Reorders functional test cases in a test suite. The order of test cases applies when running a test for stateful test suites. You need to provide target order for all test cases included in a test suite. To check the current order of test cases, run the Get a test suite with child objects operation.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
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. |
Request Body
{"0"=>{"order"=>1, "testCaseId"=>302}, "1"=>{"order"=>2, "testCaseId"=>301}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
[{"order":1,"testCaseId":302},{"order":2,"testCaseId":301}]