This article relates to the New Job Scheduling, which provides enhanced performance and support for different testing frameworks. For the original Job Scheduling, see Job Scheduling.
Get suite template details
Description
Gets a detailed summary of a suite template in a domain.
HTTP method
GET
Request
URL
http://{Job Scheduling API IP}:{port#}/api/spaces/{space_name}/SuiteTemplate/{id}
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's URL. For example: http://192.168.74.11/Test%20Lab/suite/
|
Response
Response example
{
"id": "b25d72e0-4f44-4b62-949c-02596196b157",
"createdDate": "2020-10-28T10:30:19.122Z",
"ownerUsername": "admin",
"ownerName": "admin",
"modifiedDate": "2020-10-28T11:10:07.78Z",
"modifiedByUsername": "admin",
"modifiedByName": "admin",
"testTypeName": "Robot",
"testTypeId": "59aabbe8-dc0b-48c4-81af-d76f915b47b1",
"spaceId": "35f2d31b-7ce2-45b1-b7aa-7e5002a9031c",
"spaceName": "Test Lab",
"name": "Hardware Network Test",
"description": "",
"cronTrigger": null,
"shouldStartAutomatically": false,
"jobs": [
{
"name": "job 1",
"description": "",
"durationBufferInMinutes": 0,
"blueprint": {
"id": "0efe151f-a581-4e6d-b9e2-7473bbcf297e",
"name": "CloudShell Sandbox Template",
"inputs": []
},
"tests": [
{
"id": "17936298/demo_tests1/new_test (1).robot",
"name": "new_test (1).robot",
"path": "demo_tests1",
"durationInMinutes": 1,
"inputs": [
{
"name": "additional_parameters",
"value": ""
}
],
"repositoryName": "ROBOT Tests"
},
{
"id": "17936298/140_tests_tsivya2/b (101).robot",
"name": "b (101).robot",
"path": "140_tests_tsivya2",
"durationInMinutes": 1,
"inputs": [
{
"name": "additional_parameters",
"value": "fghfgh"
}
],
"repositoryName": "ROBOT Tests"
},
{
"id": "17936298/140_tests_tsivya2/b (102).robot",
"name": "b (102).robot",
"path": "140_tests_tsivya2",
"durationInMinutes": 3,
"inputs": [
{
"name": "additional_parameters",
"value": "dfgsd"
}
],
"repositoryName": "ROBOT Tests"
},
{
"id": "17936298/140_tests_tsivya2/b (103).robot",
"name": "b (103).robot",
"path": "140_tests_tsivya2",
"durationInMinutes": 4,
"inputs": [
{
"name": "additional_parameters",
"value": "dfg"
}
],
"repositoryName": "ROBOT Tests"
}
]
}
]
}
Response summary
Parameter | Description/Comments |
---|---|
id | Suite execution id. (guid) |
createdDate | Suite execution creation time. (string) |
ownerUserName | CloudShell username who executed the suite. (string) |
ownerName | First and last name of the CloudShell user who executed the suite. (string) |
modifiedDate | Last modification time of suite template. (string) |
modifiedByUserName | CloudShell user who last modified the template. (string) |
testTypeName | Testing framewor of suite's tests. (string) |
testTypeId | ID of the test type. (guid) |
spaceId | ID of domain in which the suite template resides. (guid) |
spaceName | Domain in which the suite template resides. (string) |
name | Suite template name. (string) |
description | Suite template description. (string) |
cronTrigger | Configured recurring executions of this suite, in cron. (cron expression) |
shouldStartAutomatically | Specifies if suite execution is set to start automatically (true). (bool) |
jobs |
Job details:
|