Get Scenarios by User Company
The endpoint retrieves all test scenarios associated with the authenticated user's companies. It returns a list of ScenarioDTO
objects.
Endpoint Information
URL:
<custom-env-url>/Testinium.RestApi/api/scenarios
Method:
GET
Authentication:
Bearer Token
is requiredContent-Type:
application/json
Response Body
Upon a successful request, the API returns a list of test scenarios in JSON format.
id
integer
The unique ID of the test scenario
scenario_name
string
The name of the test scenario
description
string
A brief description of the test scenario
enabled
boolean
Indicates if the scenario is active
execute_mode
string
Defines whether the scenario is AUTOMATED
or MANUAL
createdBy
string
The user who created the scenario
Error Codes
401
Unauthorized
Authorization failed. The user is not logged in.
403
Forbidden
The user does not have permission to access the scenarios.
500
Internal Server Error
An unexpected error occurred on the server side.
Example Request
Last updated