Get a test run
GET https://{{host}}/test-management/v3/test-runs/:testRunId
Returns details of a test run. Check Functional testing results to learn how to analyze the results.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
includeContext | string | (Optional) Includes test run context in the response, true by default. | |
includeSkipped | string | (Optional) Includes details on objects skipped during the test run in the response, false by default. | |
includeAuditInfoInContext | string | (Optional) Includes audit information for run test cases and test suites in the response, false by default. | |
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. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"completedDate":"2022-01-27T04:36:00+0000","functional":{"allExecutionObjectsIncluded":true,"propertyManagerExecution":{"propertyId":123,"propertyName":"config_user11","propertyVersion":15,"testSuiteExecutions":[{"completedDate":"2022-01-27T05:00:00+0000","status":"COMPLETED_WITH_UNEXPECTED_RESULTS","testCaseExecutions":[{"derivedTestCaseExecutions":[{"conditionEvaluationResult":{"actualConditionData":[{"name":"responseCode","value":"200"}],"result":"PASSED"},"status":"COMPLETED","testCaseContext":{"clientProfile":{"client":"CHROME","clientVersion":"103.0.5060.53-1","geoLocation":"US","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"200\""},"order":1,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://pqrs.com/index"}},"testCaseExecutionId":6,"testCaseId":5},{"conditionEvaluationResult":{"actualConditionData":[{"name":"responseCode","value":"403"}],"result":"FAILED"},"status":"COMPLETED","testCaseContext":{"clientProfile":{"client":"CHROME","clientVersion":"103.0.5060.53-1","geoLocation":"US","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"200\""},"order":2,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://xyz.org/index"}},"testCaseExecutionId":7,"testCaseId":5}],"status":"COMPLETED_WITH_UNEXPECTED_RESULTS","testCaseContext":{"clientProfile":{"client":"CHROME","clientVersion":"103.0.5060.53-1","geoLocation":"US","ipVersion":"IPV4"},"condition":{"conditionExpression":"Response code is one of \"{{successCode.statusCodes}}\""},"createdBy":"jperez","createdDate":"2021-07-06T10:28:13+0000","modifiedBy":"jperez","modifiedDate":"2021-07-06T10:28:13+0000","order":1,"testCaseId":5,"testRequest":{"requestMethod":"GET","testRequestUrl":"https://{{sampleVarGroup.urls}}/index"}},"testCaseExecutionId":5,"testCaseId":5}],"testSuiteContext":{"executableTestCaseCount":2,"isLocked":false,"isStateful":true,"testSuiteDescription":"test the change in test case that includes ab1.gsshappylearning.com Version 2 property","testSuiteId":5,"testSuiteName":"testsuite3","variables":[{"createdBy":"jperez","createdDate":"2021-07-06T10:28:13+0000","modifiedBy":"jperez","modifiedDate":"2021-07-06T10:28:13+0000","variableGroupValue":[{"columnHeader":"urls","columnValues":["pqrs.com","xyz.org"]}],"variableId":204,"variableName":"sampleVarGroup"},{"createdBy":"jperez","createdDate":"2021-07-06T10:28:13+0000","modifiedBy":"jperez","modifiedDate":"2021-07-06T10:28:13+0000","variableGroupValue":[{"columnHeader":"statusCodes","columnValues":["200","200"]}],"variableId":205,"variableName":"successCode"}]},"testSuiteExecutionId":3,"testSuiteId":5}]},"status":"COMPLETED_WITH_UNEXPECTED_RESULTS"},"note":"Test a change on staging that is implemented in config_user11 Version 15.","purgeInfo":{"status":"COMPLETED"},"sendEmailOnCompletion":true,"status":"COMPLETED_WITH_UNEXPECTED_RESULTS","submittedBy":"jperez","submittedDate":"2022-01-27T04:34:15+0000","targetEnvironment":"STAGING","testRunId":2}