Updates the execution status of specified testcases inside an existing execution.
This endpoint supports bulk updates and is intended for:
Step-level status updates are not supported.
Use this endpoint when you need to:
curl -X POST https://api.hawzu.com/api/v1/workspace/{workspaceId}/project/{projectId}/executions/{executionId}/update_testcase \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"updates": [
{
"testcase_code": "TC_LOGIN_001",
"status": "PASSED",
"assignee_email": "john.doe@example.com"
},
{
"testcase_code": "TC_LOGIN_002",
"status": "FAILED"
}
]
}'
}| Parameter | Required | Description |
|---|---|---|
workspaceId | ✅ Yes | The ID of the workspace to update the testcase status for |
projectId | ✅ Yes | The ID of the project to update the testcase status for |
executionId | ✅ Yes | The ID of the execution to update the testcase status for |
This endpoint accepts the following request body:
| Parameter | Required | Description |
|---|---|---|
updates | ✅ Yes | The updates of the testcases |
| Header | Required | Description |
|---|---|---|
Authorization | ✅ Yes | Bearer token in the format Bearer <API_TOKEN> |
This endpoint returns a 200 OK status code on success.
{
"updates": [
{
"testcase_code": "TC_LOGIN_001",
"status": "PASSED",
"assignee_email": "john.doe@example.com"
},
{
"testcase_code": "TC_LOGIN_002",
"status": "FAILED"
}
]
}