Get test run cases
GET
/projects/:project_id/test_runs/:test_run_id/test_cases
Base URL
https://test-management.testsigma.com/api/v1
Retrieves the list of test cases associated with a specific test run.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →PATH PARAMETERS
project_id | Unique identifier of the project the test run belongs to. |
test_run_id | Identifier of the test run whose test cases are listed. |
RESPONSE ATTRIBUTES
message | Status message for the request; may be empty. |
data.test_cases[].id | Unique identifier of the test case. |
data.test_cases[].name | Name of the test case. |
data.test_cases[].status | Execution status of the test case within the run. |
data.test_cases[].assignee_id | Unique identifier of the user assigned to the test case. |
REQUEST
curl -X GET \
'https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs/:test_run_id/test_cases' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs/:test_run_id/test_cases', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs/:test_run_id/test_cases',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": "",
"data": {
"test_cases": [
{
"id": "9ac271b6-4e89-4c93-8c75-2d625efa0b2d",
"name": "Verify login with valid credentials",
"status": "PASSED",
"assignee_id": "cbbc40a5-26e9-4b88-8c27-3626c9fbdaa4"
},
{
"id": "1c4a6347-dec5-4f8e-8b6c-cda33c37c9ce",
"name": "Verify password reset flow",
"status": "FAILED",
"assignee_id": "05782b39-7a2c-4e91-9d6b-8f1340c2ab5e"
}
]
}
}