From cf98ccdce7fd8ccda91a90ffe3eab34bd55be5ee Mon Sep 17 00:00:00 2001 From: Bharath Krishna <118433150+bharathk08@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:11:10 +0530 Subject: [PATCH] Update test-results-at-all-levels.md --- src/pages/docs/api/test-results-at-all-levels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/api/test-results-at-all-levels.md b/src/pages/docs/api/test-results-at-all-levels.md index cd063576..2deb60d4 100644 --- a/src/pages/docs/api/test-results-at-all-levels.md +++ b/src/pages/docs/api/test-results-at-all-levels.md @@ -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//test_case_results//step_results``` | | **Authorization** | Bearer Token | | **Response Body Type** | JSON | -| **Response Body (Sample)** | {
  "content": [
  { "id": "3c51e933-7e15-41a0-893b-38e38b8258a2",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2847,
    "type": "NLP_TEXT",
    "action": "Navigate to https://simply-travel.testsigma.com/",
    "message": "Successfully opened given URL.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:32Z",
    "endTime": "2024-05-29T07:29:33Z",
    "duration": 1133,
    "visualEnabled": false },
  { "id": "c3a8fbeb-b508-41d2-83f7-6a0ca152e234",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2848,
    "type": "NLP_TEXT",
    "action": "Click on Login or Sign Up Button",
    "message": "Successfully performed click action.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:37Z",
    "endTime": "2024-05-29T07:29:39Z",
    "duration": 2040,
    "visualEnabled": false },
  { "id": "36bbdc50-ca05-4289-8342-c9e20d0491a4",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2849,
    "type": "NLP_TEXT",
    "action": "Click on Login Button",
    "message": "Successfully performed click action.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:42Z",
    "endTime": "2024-05-29T07:29:44Z",
    "duration": 1539,
    "visualEnabled": false },
  { "id": "abefa297-cb14-48f4-b9e8-60db12854c03",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2850,
    "type": "NLP_TEXT",
    "action": "Select the radio button Mobile Number Radio Button",
    "message": "Unable to perform click/check action on element, Element is not displayed.",
    "errorCode": 1000001,
    "errorType": "ASSERT_ERROR",
    "result": "FAILURE",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:47Z",
    "endTime": "2024-05-29T07:29:51Z",
    "duration": 3803,
    "visualEnabled": false },
  { "id": "49b04ef4-40fa-476f-b2a7-17d7a6e68230",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2851,
    "type": "NLP_TEXT",
    "action": "Enter 9876543212 in the Mobile Number Radio Button field",
    "message": "Major Test step failed.",
    "errorCode": null,
    "errorType": null,
    "result": "NOT_EXECUTED",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:54Z",
    "endTime": "2024-05-29T07:29:54Z",
    "duration": 1,
    "visualEnabled": false },
  { "id": "0a2c386f-5639-4276-b69e-f8715cd7a85c",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2852,
    "type": "NLP_TEXT",
    "action": "Click on Continue Button",
    "message": "Major Test step failed.",
    "errorCode": null,
    "errorType": null,
    "result": "NOT_EXECUTED",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:54Z",
    "endTime": null,
    "duration": 0,
    "visualEnabled": false }
  ],
  "totalElements": null,
  "totalPages": 1,
  "pageable": null,
  "last": false,
  "numberOfElements": 6,
  "first": true,
  "sort": null,
  "number": 0,
  "size": 100,
  "empty": false
} | +| **Response Body (Sample)** | {
  "content": [
  { "id": "3c51e933-7e15-41a0-893b-38e38b8258a2",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2847,
    "type": "NLP\_TEXT",
    "action": "Navigate to https://simply-travel.testsigma.com/",
    "message": "Successfully opened given URL.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:32Z",
    "endTime": "2024-05-29T07:29:33Z",
    "duration": 1133,
    "visualEnabled": false },
  { "id": "c3a8fbeb-b508-41d2-83f7-6a0ca152e234",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2848,
    "type": "NLP\_TEXT",
    "action": "Click on Login or Sign Up Button",
    "message": "Successfully performed click action.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:37Z",
    "endTime": "2024-05-29T07:29:39Z",
    "duration": 2040,
    "visualEnabled": false },
  { "id": "36bbdc50-ca05-4289-8342-c9e20d0491a4",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2849,
    "type": "NLP\_TEXT",
    "action": "Click on Login Button",
    "message": "Successfully performed click action.",
    "errorCode": null,
    "errorType": null,
    "result": "SUCCESS",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:42Z",
    "endTime": "2024-05-29T07:29:44Z",
    "duration": 1539,
    "visualEnabled": false },
  { "id": "abefa297-cb14-48f4-b9e8-60db12854c03",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2850,
    "type": "NLP\_TEXT",
    "action": "Select the radio button Mobile Number Radio Button",
    "message": "Unable to perform click/check action on element, Element is not displayed.",
    "errorCode": 1000001,
    "errorType": "ASSERT\_ERROR",
    "result": "FAILURE",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:47Z",
    "endTime": "2024-05-29T07:29:51Z",
    "duration": 3803,
    "visualEnabled": false },
  { "id": "49b04ef4-40fa-476f-b2a7-17d7a6e68230",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2851,
    "type": "NLP\_TEXT",
    "action": "Enter 9876543212 in the Mobile Number Radio Button field",
    "message": "Major Test step failed.",
    "errorCode": null,
    "errorType": null,
    "result": "NOT\_EXECUTED",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:54Z",
    "endTime": "2024-05-29T07:29:54Z",
    "duration": 1,
    "visualEnabled": false },
  { "id": "0a2c386f-5639-4276-b69e-f8715cd7a85c",
    "testMachineResultId": 1434,
    "testCaseResultId": 3857,
    "testCaseId": 609,
    "stepId": 2852,
    "type": "NLP\_TEXT",
    "action": "Click on Continue Button",
    "message": "Major Test step failed.",
    "errorCode": null,
    "errorType": null,
    "result": "NOT\_EXECUTED",
    "conditionalResult": null,
    "visualTestResult": null,
    "startTime": "2024-05-29T07:29:54Z",
    "endTime": null,
    "duration": 0,
    "visualEnabled": false }
  ],
  "totalElements": null,
  "totalPages": 1,
  "pageable": null,
  "last": false,
  "numberOfElements": 6,
  "first": true,
  "sort": null,
  "number": 0,
  "size": 100,
  "empty": false
} | In the response body above, we fetched the test step results of a test case with result ID 3857.