Run Test Plan
13 min
the endpoint starts the execution of a specific test plan the user must have the plan run authority to access this endpoint endpoint information url https //gateway testinium io/queue https //gateway testinium io/queue method post authentication required ( bearer token ) request body { "planid" 12345, "userid" 67890 } request body parameters parameter type required description planid long yes the unique id of the test plan to execute userid long yes the unique id of the user who runs plan response this response indicates that the operation was completed successfully, with no additional data returned { "data" null, "result" { "code" 0, "message" "success" } } response fields field type description data object the payload of the response in this case null since no extra data is returned result object contains details about the outcome of the operation result code integer the result code (e g , 0 indicates success) result message string a message describing the outcome (e g , "success" ) error codes http code error message description 400 invalid request the request was malformed or contained errors 500 internal server error an unexpected error occurred on the server side application error codes 10000 "plan not found!" 10002 user not found! example request curl 'https //gateway testinium io/queue' \\ h 'accept application/json, text/plain, / ' \\ h 'authorization bearer \<your access token>' \\ h 'content type application/json' \\ \ data raw '{"planid" \<plan id>,"userid" \<user id>}'