Skip to main content
Version: 2023.3

Get test execution report

Description

Gets a specific test execution's report.

URL

http://{Job Scheduling API IP}:[port#]/api/spaces/{space_name}/TestExecution/{id}/Report

ParameterDescription/Comments
space_nameCloudShell domain in which the suite was executed. (string)
idSuite 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/ - included in Get suite execution

HTTP method

GET

Request

Headers

Example header format:

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

Content-Type: application/json

Response

Response example
{
"testResult": 1,
"name": "new_test (1).robot",
"path": "demo_tests1",
"startTime": "2020-10-28T20:05:07.472Z",
"endTime": "2020-10-28T20:05:37.653Z",
"testExecutionServerName": "My TES2",
"executedBy": "steven.g",
"report": "Test request data: {\"domainName\": \"Test Lab\", \"test\": \"demo_tests1/new_test (1).robot\", \"reportsFullPath\": \"/home/jrobot/app/nfs/quali/archive/e1a812cd-192d-4617-8046-be5c5861d46c_steven.g\", \"reservationID\": \"e1a812cd192d46178046be5c5861d46c\", \"executionID\": \"9dc164b376004515ac94da4b933d1d7c\", \"testInactivityTimeoutInMinutes\": 2, \"username\": \"steven.g\", \"job\": null, \"parameters\": \"\", \"suite\": null, \"robot\": null, \"inputs\": null}",
"errorCode": 0,
"errorMessage": ""
}
Response summary
ParameterDescription/Comments
testResultTest result code. (numeric)
For details, see Statuses and results.
nameTest name. (string)
pathTest's folder path on the online test repository. (string)
startTimeTest execution's start time. (ISO 8601 Date/Time format)
endTimeTest execution's completion time. (ISO 8601 Date/Time format)
testExecutionServerNameTest Execution Service used to execute the test. (string)
executedByCloudShell user who executed the test. (string)
reportTest execution report. (json)
errorCodeTest execution's error code. (numeric)
For details, see Statuses and results.
errorMessageTest execution's error message. (string)
For details, see Statuses and results.