Skip to content
Testsigma DOCS

Get Test Case execution details

GET/execution_results/{executionResultId}/test_case_results

Base URL  https://app.testsigma.com/api/v1

Get details of all Test Case executions for a particular execution result using REST API.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
executionResultIdResult ID of the Test Plan execution.
executionIdExecution ID of the Test Plan.
executionResultIdResult ID of the Test Plan execution.
resultOverall result of the execution — e.g. FAILURE.
statusOverall status of the execution — e.g. STATUS_COMPLETED.
testCasesArray of Test Case execution detail objects.
testCaseIdID of the Test Case.
testCaseNameName of the Test Case.
testCaseResultIdID of the Test Case result.
isDataDrivenCaseWhether the Test Case is data-driven.
iterationResultsArray of iteration result objects for data-driven cases.
iterationResultIdID of the iteration result.
setNameName of the test data set used for the iteration.
testSuiteIdID of the Test Suite.
testSuiteNameName of the Test Suite.
testSuiteResultIdID of the Test Suite result.
machineIdID of the machine the Test Case ran on.
machineTitleTitle of the machine.
machineResultIdID of the machine result.
REQUEST
curl -X GET \
  'https://app.testsigma.com/api/v1/execution_results/{executionResultId}/test_case_results' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v1/execution_results/{executionResultId}/test_case_results', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://app.testsigma.com/api/v1/execution_results/{executionResultId}/test_case_results',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "executionId": 268,
  "executionResultId": 986,
  "result": "FAILURE",
  "status": "STATUS_COMPLETED",
  "testCases": [
    {
      "testCaseId": 413,
      "testCaseName": "03 data driven small",
      "testCaseResultId": 7975,
      "result": "FAILURE",
      "isDataDrivenCase": true,
      "iterationResults": [
        {
          "iterationResultId": 7963,
          "setName": "examples",
          "result": "SUCCESS"
        },
        {
          "iterationResultId": 7976,
          "setName": "travels",
          "result": "FAILURE"
        },
        {
          "iterationResultId": 7965,
          "setName": "examples 1",
          "result": "FAILURE"
        }
      ],
      "testSuiteId": 197,
      "testSuiteName": "02 DD Small",
      "testSuiteResultId": 2295,
      "machineId": 414,
      "machineTitle": "machine 2",
      "machineResultId": 2370
    }
  ]
}