Get suite template executions
Description
Gets the executions of a specific suite template, including job and test details.
HTTP method
GET
Request
 URL
URL
                                            http://{Job Scheduling API IP}:[port#]/api/spaces/{space_name}/SuiteTemplate/{id}/executions?createdBy={createdBy}$count={count} Headers
Headers
                                            Example header format:
Authorization: Basic <authorization token returned from the login method>
                                                
Content-Type: application/json
                                                
| Parameter | Description/Comments | 
|---|---|
| space_name | CloudShell domain in which the suite was executed. (string) | 
| id | Suite template's id - included in suite execution's URL. For example: http://192.168.74.11//Test%20Lab/execution/ | 
| createdBy | CloudShell user who started the execution. You can provide a specific CloudShell username or enter 'anyone' to return all results. | 
| count | Number of executions to get, starting with the last. For example, if you the template has 5 executions. a count of "3" will return executions, 5, 4, and 3. | 
Response
 Response example
Response example
                                            [
  {
    "id": "fde35ef4-eb00-4d49-a24c-107f55e2192e",
    "counter": 9,
    "suiteTemplateDescription": "",
    "createdDate": "2020-10-28T12:47:44.64Z",
    "executedByName": "admin",
    "executedByUsername": "admin",
    "suiteTemplateName": "Hardware Network Test",
    "suiteTemplateId": "b25d72e0-4f44-4b62-949c-02596196b157",
    "startedDate": "2020-10-28T12:47:50.66Z",
    "endedDate": "2020-10-28T12:49:51.887Z",
    "status": 2,
    "statusDescription": "Succeeded",
    "jobs": [
      {
        "id": "7a1b3d9c-ff65-461e-a7e6-fff538af3159",
        "name": "job 1",
        "description": null,
        "startedDate": "2020-10-28T12:47:50.66Z",
        "endedDate": "2020-10-28T12:49:51.887Z",
        "status": 2,
        "statusDescription": "Succeeded",
        "testExecutionServerName": "My TES2",
        "blueprint": {
          "id": "0efe151f-a581-4e6d-b9e2-7473bbcf297e",
          "name": "CloudShell Sandbox Template",
          "url": null
        },
        "tests": [
          {
            "id": "89c85ae0-2563-45ad-b810-8a0581a0f526",
            "testId": "17936298/demo_tests1/new_test (1).robot",
            "name": "new_test (1).robot",
            "path": "demo_tests1",
            "repositoryName": "ROBOT Tests",
            "result": 1,
            "resultDescription": "Passed",
            "startedDate": "2020-10-28T12:47:50.66Z",
            "endedDate": "2020-10-28T12:48:20.962Z",
            "inputs": [
              {
                "name": "additional_parameters",
                "value": ""
              }
            ],
            "errorCode": 0,
            "errorMessage": "",
            "hasReport": false
          },
          {
            "id": "9b3fbf41-a006-426d-8d09-b5463895106b",
            "testId": "17936298/140_tests_tsivya2/b (101).robot",
            "name": "b (101).robot",
            "path": "140_tests_tsivya2",
            "repositoryName": "ROBOT Tests",
            "result": 1,
            "resultDescription": "Passed",
            "startedDate": "2020-10-28T12:48:20.967Z",
            "endedDate": "2020-10-28T12:48:51.312Z",
            "inputs": [
              {
                "name": "additional_parameters",
                "value": "fghfgh"
              }
            ],
            "errorCode": 0,
            "errorMessage": "",
            "hasReport": false
          },
          {
            "id": "17cc6edf-0899-4e29-b69f-a7c6899fddac",
            "testId": "17936298/140_tests_tsivya2/b (102).robot",
            "name": "b (102).robot",
            "path": "140_tests_tsivya2",
            "repositoryName": "ROBOT Tests",
            "result": 1,
            "resultDescription": "Passed",
            "startedDate": "2020-10-28T12:48:51.32Z",
            "endedDate": "2020-10-28T12:49:21.584Z",
            "inputs": [
              {
                "name": "additional_parameters",
                "value": "dfgsd"
              }
            ],
            "errorCode": 0,
            "errorMessage": "",
            "hasReport": false
          },
          {
            "id": "3c63a8ce-348e-4b5d-acb2-41d3d9f9ecaf",
            "testId": "17936298/140_tests_tsivya2/b (103).robot",
            "name": "b (103).robot",
            "path": "140_tests_tsivya2",
            "repositoryName": "ROBOT Tests",
            "result": 1,
            "resultDescription": "Passed",
            "startedDate": "2020-10-28T12:49:21.589Z",
            "endedDate": "2020-10-28T12:49:51.887Z",
            "inputs": [
              {
                "name": "additional_parameters",
                "value": "dfg"
              }
            ],
            "errorCode": 0,
            "errorMessage": "",
            "hasReport": false
          }
        ],
        "sandbox": {
          "id": "b1824a49-d204-40fc-ae51-fed6e7396960",
          "name": "job 1 #9",
          "url": null,
          "inputs": null
        },
        "errorCode": null,
        "errorMessage": null
      }
    ]
  },
] Response summary
Response summary
                                            | Parameter | Description/Comments | 
|---|---|
| id | Suite execution id. (guid) | 
| counter | Suite execution number. (numeric) | 
| suiteTemplateDescription | Suite execution description. (string) | 
| createdDate | Suite execution creation time. (ISO 8601 Date/Time format) | 
| executedByName | CloudShell user who executed the suite. (ISO 8601 Date/Time format) | 
| executedByUserName | CloudShell user who executed the suite. (string) | 
| suiteTemplateName | Suite template name. (string) | 
| suiteTemplateId | Suite template id - included in the suite's URL. (guid) | 
| startedDate | Suite execution start time. (ISO 8601 Date/Time format) | 
| endedDate | Suite execution completion time. (ISO 8601 Date/Time format) | 
| status | Suite execution status code. (numeric) For details, see Statuses and results. | 
| statusDescription | Suite execution status description. (string) For details, see Statuses and results. | 
| jobs | Job details: 
 
 | 


 
                                    



