Get Test Execution by ID and Company ID
The endpoint allows users to retrieve detailed information about a specific test execution by its ID and associated Company ID.
Endpoint Information
URL:
<custom-env-url>/Testinium.RestApi/api/testExecutions/{execId}/company/{companyId}
Method:
GET
Authentication:
Bearer Token
is required
Path Variables
execId
Long
Yes
The unique identifier of the test execution.
companyId
Long
Yes
The unique identifier of the company associated with the execution.
Response Body
Upon a successful request, the API returns a TestExecutionDTO
object containing the details of the requested test execution.
id
Long
The unique ID of the test execution.
level
String
The status of the test execution (e.g., FAILURE
).
start_date
Long
Start time of the test execution in epoch format.
end_date
Long
End time of the test execution in epoch format.
runtime
int
Total runtime in milliseconds.
session_id
String
Unique session identifier for this execution.
message
String
Execution message detailing any errors or warnings.
video_enabled
Boolean
Indicates if video recording was enabled.
performance_data_enabled
Boolean
Indicates if performance data collection was enabled.
test_scenario.id
Long
The ID of the associated test scenario.
test_plan.id
Long
The ID of the associated test plan.
project.id
Long
The ID of the project related to the execution.
video_format
String
The format of the recorded video, if available.
environment.id
Long
The ID of the environment used in this execution.
test_execution.id
Long
Reference ID of the test execution.
node_log_path
String
URL to the node log file for the execution.
executor_log_path
String
URL to the test result log file for the execution.
Error Codes
404
Test Execution not found
The specified test execution was not found.
403
Access denied
User is not authorized for the requested company.
500
Internal Server Error
An unexpected error occurred on the server side.
Example Request
Last updated