This endpoint re-runs a test run with the given test run id
. Provide the test run id
value in the test run
object that was returned from your previous request, and TestOps will re-run the test run.
You can only re-run test runs that were originally scheduled with the TestOps scheduler interface.
Request
This request uses the POST method, which is used to initiate a re-run of a previous test run or execution via the specified resource.
For basic authorization, replace this with your actual username and password (or API key) in the header request in the username:password
or username:api_key
format. Your user creds are combined to form a Base64 encoded string.
The request data is provided as a JSON object. You need to provide the following required query parameters:
id
: the alphanumeric ID of the test run.
Response
If authorized, the API response provides information about the new execution or re-run request.
Refer to the following table about the response body's parameters:
Property | Type | Description |
---|---|---|
status | string | Status of the test run: PASSED , FAILED ERROR , INCOMPLETE , RUNNING , SKIPPED NOT_RUN . |
id | integer | The unique identifier of the new test run or execution. |
project | Project object | The project object associated with the test run. |
webUrl | string | The URL of of test run detail page. |
Try it!
- Enter the test run ID below.
- Select the language in Language.
- Enter your user name or API credentials.
- Review your API call and click Try it!