Get Active Test Plans
This endpoint retrieves active test plans based on the provided company ID and optional filters such as project ID and active test statuses. The user must have the PLAN_VIEW
authority to access this endpoint.
Endpoint Details
URL:
https://testinium.io/Testinium.RestApi/api/plans/active
Method:
GET
Authentication: Required (
Bearer Token
)
Path Parameters
companyId
Long
Yes
The unique ID of the company for which active test plans are to be retrieved.
projectId
Long
No
The unique ID of the project to filter active test plans.
activeTestStatuses
List
No
A list of statuses to filter test plans (e.g., WAITING
, RUNNING
, SUCCESS
).
Example Response
Response Fields
id
Long
The unique ID of the test plan.
type
String
The type of the test plan (e.g., SELENIUM
).
project_id
Long
The unique ID of the associated project.
project_name
String
The name of the associated project.
company_id
Long
The unique ID of the associated company.
plan_name
String
The name of the test plan.
scenarios
List<Long>
A list of scenario IDs associated with the test plan.
last_execution
Object
The details of the last execution for the test plan.
result_summary
Object
A summary of the results for the last execution (e.g., WAITING
, SUCCESS
).
environment_resolutions
List
A list of environments and their resolutions used for testing.
Error Codes
401
ACCESS_DENIED
The user lacks the PLAN_VIEW
authority.
400
INVALID_REQUEST
One or more required parameters are missing or invalid.
404
COMPANY_NOT_FOUND
The specified company was not found.
404
PROJECT_NOT_FOUND
The specified project was not found.
500
SYSTEM_INTERNAL_ERROR
An unexpected error occurred.
Example Request
Last updated