Complete test runs by specifying a list of key fields and values or a list of test run ids
POST/atm-testrun/complete
Given a list of key field/value pairs, all runs matching these key values will be completed, otherwise runs with specified run ids will be completed.
Request
- application/json
Body
required
- MOD1
- MOD2
Array [
- MOD1
- MOD2
- MOD3
]
oneOf
Project id of the runs
List of run ids to complete
Possible values: >= 1
Project id of the runs
List of test run field names
runFieldValues
object[]
required
List of test run field values
oneOf
string
number
boolean
The name of the automation source which contains the runs
Responses
- 200
- 4XX
- 5XX
Returns 'AutomationRunCompleteResult'
- application/json
- Schema
- Example (from schema)
Schema
List of run ids which where marked as completed (or were already completed)
Possible values: >= 1
{
"completedRunIds": [
0
]
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}