Update Test Plan
Updates an existing test plan with new configurations, such as modifying the plan's name, scenarios, and environment settings.
Endpoint Information
URL:
https://testinium.io/Testinium.RestApi/api/projects/{projectId}/plans/{planId}
Method:
PUT
Authentication: Required (
Bearer Token
)
Request
Request Parameters
id
Integer
The unique ID of the test plan to update.
type
String
The type of the test plan (e.g., SELENIUM
).
project_id
Integer
ID of the project associated with the test plan.
plan_name
String
The name of the test plan.
scenarios
Array
List of scenario IDs associated with the test plan.
period
Object
Information about the execution period of the test plan.
alerts
Array
List of alerts configured for the test plan (currently empty).
enabled
Boolean
Whether the test plan is enabled.
group_plan
Boolean
Whether the test plan is a group plan or not.
plan_parallel_test_limit
Integer
The parallel test limit for the test plan.
failed_test_retry_count
Integer
The number of retries in case a test fails.
alerts_enabled_result
Boolean
Whether the alerts are enabled for the test plan.
project_enabled
Boolean
Whether the project associated with the test plan is enabled.
test_run_type
String
The type of test run (e.g., CROSS
).
test_rail_enabled
Boolean
Whether TestRail integration is enabled.
test_rail_any_mismatch
Boolean
Whether any mismatch in TestRail should be handled.
test_plan_java_parameters
Array
Java parameters associated with the test plan (currently empty).
performance_data_enabled
Boolean
Whether performance data collection is enabled.
file_download_path
String
The file download path associated with the test plan.
environment_resolutions
Array
List of environment resolutions associated with the test plan.
Response
Response Fields
id
Integer
Unique ID of the test plan.
plan_name
String
The name of the test plan.
scenarios
Array
List of scenario IDs associated with the test plan.
period
Object
Information about the test plan's execution period.
enabled
Boolean
Whether the test plan is enabled.
group_plan
Boolean
Whether the test plan is a group plan or not.
plan_parallel_test_limit
Integer
The parallel test limit for the test plan.
failed_test_retry_count
Integer
The number of retries in case a test fails.
alerts_enabled_result
Boolean
Whether alerts are enabled for the test plan.
project_enabled
Boolean
Whether the project associated with the test plan is enabled.
test_run_type
String
The type of test run (e.g., CROSS
).
updated_at
String
The last update timestamp of the test plan.
environment_resolutions
Array
List of environment resolutions associated with the test plan.
Error Codes
400
BAD_REQUEST
Invalid request parameters.
401
UNAUTHORIZED
The user is not authorized to access this resource.
403
FORBIDDEN
The user does not have sufficient permissions to access the resource.
404
NOT_FOUND
The specified test plan or project was not found.
500
INTERNAL_ERROR
An internal server error occurred while processing the request.
Example Request
Last updated