Skip to content

Commit

Permalink
Update test-results-at-all-levels.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathk08 committed Jun 6, 2024
1 parent 3ccf40f commit cf98ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/docs/api/test-results-at-all-levels.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ In the response body above, we fetched the test case results with ID 3857.
| **Endpoint** | ```https://app.testsigma.com/api/v3/test_runs/<run_id>/test_case_results/<case_id>/step_results``` |
| **Authorization** | Bearer Token |
| **Response Body Type** | JSON |
| **Response Body (Sample)** | { <br> &nbsp;&nbsp;"content": [ <br> &nbsp;&nbsp;{ "id": "3c51e933-7e15-41a0-893b-38e38b8258a2", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2847, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Navigate to https://simply-travel.testsigma.com/", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully opened given URL.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:32Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:33Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1133, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "c3a8fbeb-b508-41d2-83f7-6a0ca152e234", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2848, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Login or Sign Up Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully performed click action.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:37Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:39Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 2040, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "36bbdc50-ca05-4289-8342-c9e20d0491a4", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2849, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Login Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully performed click action.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:42Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:44Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1539, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "abefa297-cb14-48f4-b9e8-60db12854c03", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2850, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Select the radio button Mobile Number Radio Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Unable to perform click/check action on element, Element is not displayed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": 1000001, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": "ASSERT_ERROR", <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "FAILURE", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:47Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:51Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 3803, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "49b04ef4-40fa-476f-b2a7-17d7a6e68230", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2851, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Enter 9876543212 in the Mobile Number Radio Button field", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Major Test step failed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "NOT_EXECUTED", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "0a2c386f-5639-4276-b69e-f8715cd7a85c", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2852, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Continue Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Major Test step failed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "NOT_EXECUTED", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 0, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false } <br> &nbsp;&nbsp;], <br> &nbsp;&nbsp;"totalElements": null, <br> &nbsp;&nbsp;"totalPages": 1, <br> &nbsp;&nbsp;"pageable": null, <br> &nbsp;&nbsp;"last": false, <br> &nbsp;&nbsp;"numberOfElements": 6, <br> &nbsp;&nbsp;"first": true, <br> &nbsp;&nbsp;"sort": null, <br> &nbsp;&nbsp;"number": 0, <br> &nbsp;&nbsp;"size": 100, <br> &nbsp;&nbsp;"empty": false <br> } |
| **Response Body (Sample)** | { <br> &nbsp;&nbsp;"content": [ <br> &nbsp;&nbsp;{ "id": "3c51e933-7e15-41a0-893b-38e38b8258a2", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2847, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Navigate to https://simply-travel.testsigma.com/", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully opened given URL.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:32Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:33Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1133, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "c3a8fbeb-b508-41d2-83f7-6a0ca152e234", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2848, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Login or Sign Up Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully performed click action.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:37Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:39Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 2040, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "36bbdc50-ca05-4289-8342-c9e20d0491a4", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2849, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Login Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Successfully performed click action.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "SUCCESS", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:42Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:44Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1539, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "abefa297-cb14-48f4-b9e8-60db12854c03", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2850, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Select the radio button Mobile Number Radio Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Unable to perform click/check action on element, Element is not displayed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": 1000001, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": "ASSERT\_ERROR", <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "FAILURE", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:47Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:51Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 3803, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "49b04ef4-40fa-476f-b2a7-17d7a6e68230", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2851, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Enter 9876543212 in the Mobile Number Radio Button field", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Major Test step failed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "NOT\_EXECUTED", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 1, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false }, <br> &nbsp;&nbsp;{ "id": "0a2c386f-5639-4276-b69e-f8715cd7a85c", <br> &nbsp;&nbsp;&nbsp;&nbsp;"testMachineResultId": 1434, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseResultId": 3857, <br> &nbsp;&nbsp;&nbsp;&nbsp;"testCaseId": 609, <br> &nbsp;&nbsp;&nbsp;&nbsp;"stepId": 2852, <br> &nbsp;&nbsp;&nbsp;&nbsp;"type": "NLP\_TEXT", <br> &nbsp;&nbsp;&nbsp;&nbsp;"action": "Click on Continue Button", <br> &nbsp;&nbsp;&nbsp;&nbsp;"message": "Major Test step failed.", <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorCode": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"errorType": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"result": "NOT\_EXECUTED", <br> &nbsp;&nbsp;&nbsp;&nbsp;"conditionalResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualTestResult": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"startTime": "2024-05-29T07:29:54Z", <br> &nbsp;&nbsp;&nbsp;&nbsp;"endTime": null, <br> &nbsp;&nbsp;&nbsp;&nbsp;"duration": 0, <br> &nbsp;&nbsp;&nbsp;&nbsp;"visualEnabled": false } <br> &nbsp;&nbsp;], <br> &nbsp;&nbsp;"totalElements": null, <br> &nbsp;&nbsp;"totalPages": 1, <br> &nbsp;&nbsp;"pageable": null, <br> &nbsp;&nbsp;"last": false, <br> &nbsp;&nbsp;"numberOfElements": 6, <br> &nbsp;&nbsp;"first": true, <br> &nbsp;&nbsp;"sort": null, <br> &nbsp;&nbsp;"number": 0, <br> &nbsp;&nbsp;"size": 100, <br> &nbsp;&nbsp;"empty": false <br> } |

In the response body above, we fetched the test step results of a test case with result ID 3857.

Expand Down

0 comments on commit cf98ccd

Please sign in to comment.