I am trying to update/change the execution status of the test cases in Zephyr scale via postman. For example, I want to change the status of a test case from Pass to Fail either under Test Cycles/Cases or Test executions. I tried few of the below POST/PUT calls but get errors such as, "Method Not allowed" or "Invalid Payload":
Option 1: POST
URL: ...//api.zephyrscale.smartbear.com/v2/testexecutions
Request Body:
{
"createTestExecution.projectKey": "B2B",
"createTestExecution.statusName": "PASS",
"createTestExecution.testCaseKey": "B2B-T1082",
"createTestExecution.testCycleKey": "B2B-R33"
}
Option 2: PUT/POST
URL: ...//api.zephyrscale.smartbear.com/v2/testcases/B2B-T1082
Request Body:
{
"updateTestCase.key": "B2B-T1082",
"updateTestCase.name": "Terms of Use",
"updateTestCase.status": {
"id": 2472038
}
Could anyone please help me with the correct syntax of the API call in Postman for changing the status of test cases/executions in Zephyr scale.