Get Scenario Result List

get

/runtime/scenarioresult

Retrieves a list of scenario execution results.

Request

Query Parameters
  • Expand additional fields like case or step details
  • Number of results per page (default 10)
  • Number of items to skip (default 0)
  • Page number (alternative to offset)
Back to Top

Response

200 Response

A paginated list of scenario results
Back to Top

Examples

The following example shows how to retrieve a list of scenario execution results by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X GET "hostname:port/runtime/scenarioresult" -H "accept: */*"

Example of Response Body

If successful, the response code 200 is returned with a response body. For example:

{
  "total": 137,
  "limit": 10,
  "offset": 0,
  "page": 1,
  "pages": 14,
  "docs": [
    {
      "_id": 1,
      "name": "Creation of Postpaid Mobile Product Models",
      "tags": [
        "Import",
        " Publish",
        " PublishMobileModel",
        " DTAutomation"
      ],
      "type": "TestScenario",
      "error": null,
      "status": "PASSED",
      "endTime": "1747245243360",
      "failure": null,
      "duration": "1811560",
      "failCount": "0",
      "namespace": null,
      "passCount": "1",
      "skipCount": "0",
      "startTime": "1747243431800",
      "caseResult": [
        1
      ],
      "errorCount": "0",
      "stackTrace": null,
      "totalCount": "1",
      "description": " Import and Publish Postpaid Mobile Product models in Launch",
      "resultFiles": "{\"json\":{\"design bdd\":\"Creation_of_Postpaid_Mobile_Product_Models.design.scenario\",\"runtime bdd\":\"Creation_of_Postpaid_Mobile_Product_Models.runtime.scenario\"},\"map\":{\"design bdd\":\"Creation_of_Postpaid_Mobile_Product_Models.design.scenario\",\"runtime bdd\":\"Creation_of_Postpaid_Mobile_Product_Models.runtime.scenario\"}}",
      "resultNamespace": null
    },
    {
      "_id": 2,
      "name": "Validate the Supremo 5G Lite Product Model",
      "tags": [
        "Validate",
        " Supremo5GLite",
        " MobileModel",
        " DTAutomation"
      ],
      "type": "TestScenario",
      "error": null,
      "status": "PASSED",
      "endTime": "1747245267746",
      "failure": null,
      "duration": "21282",
      "failCount": "0",
      "namespace": null,
      "passCount": "4",
      "skipCount": "0",
      "startTime": "1747245246464",
      "caseResult": [
        2,
        3
      ],
      "errorCount": "0",
      "stackTrace": null,
      "totalCount": "4",
      "description": " Validate the Supremo 5G Lite mobile model after importing and publishing in Launch. Then, validate the structure and line item prices in Siebel, and validate the charge and discount offer prices in PDC.",
      "resultFiles": "{\"json\":{\"design bdd\":\"Validate_the_Supremo_5G_Lite_Product_Model.design.scenario\",\"runtime bdd\":\"Validate_the_Supremo_5G_Lite_Product_Model.runtime.scenario\"},\"map\":{\"design bdd\":\"Validate_the_Supremo_5G_Lite_Product_Model.design.scenario\",\"runtime bdd\":\"Validate_the_Supremo_5G_Lite_Product_Model.runtime.scenario\"}}",
      "resultNamespace": null
    }
  ]
}

If the request fails, the response includes the appropriate HTTP code. For a 4xx/5xx code, the message body also contains a ProblemDetails structure with the cause attribute set to the appropriate application error.

Back to Top