Skip to content

Latest commit

 

History

History
219 lines (200 loc) · 5.82 KB

File metadata and controls

219 lines (200 loc) · 5.82 KB
sidebar_position 9

Get suite template details

Description

Gets a detailed summary of a suite template in a domain.

URL

http://{Job Scheduling API IP}:{port#}/api/spaces/{space_name}/SuiteTemplate/{id}

Parameter Description/Comments
space_name CloudShell domain in which the suite was executed. (string)
id Suite execution's ID- included in the suite's URL. (string)
For example:
http://192.168.74.11/Test%20Lab/execution/1ab91be7-6136-4fd5-b22d-72c462947459/

HTTP method

GET

Request

Headers

Example header format:

Authorization: Basic <authorization token returned from the login method>

Content-Type: application/json

Response

Response example ```javascript { "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": "0e1e151f-a581-4e6d-b9e2-7473b1d2297e", "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
ParameterDescription/Comments
id Suite execution id. (guid)
createdDate Suite template creation time. (ISO 8601 Date/Time format)
ownerUserName CloudShell username who owns the suite template. (string)
ownerName First and Last name of the CloudShell user who owns the suite template. (string)
modifiedDate Last modification time of suite template. (string)
modifiedByUserName CloudShell user who last modified the template. (string)
testTypeName Testing framework 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:
- **name**: Job name. (string) - **description**: Job description, if defined. (string) - **durationBufferInMinutes**: Buffer period, in minutes. (numeric) - **blueprint**: Details of the job's blueprint. - **id**: Blueprint ID - included in the blueprint's URL. (guid)
For example:
http://192.168.30.6/RM/Diagram/Index/0e1e151f-a581-4e6d-b9e2-7473b1d2297e?diagramType=Topology - **name**: Blueprint name. (string) - **inputs**: Inputs defined on the job's blueprint. (string) (string) - **tests**: Details of the job's tests. - **id**: Test ID. (guid) - **name**: Test name. (string) - **path**: Test path from the root. (string) - **durationInMinutes**: Test's duration, in minutes. (numeric) - **inputs**: Details about the test's inputs: - **name**: Input name. (string) - **Value**: Input value, if defined. (string) - **repositoryName**: Name of online repository containing the test. (string)