Update a manual test-case result

Update a result for a non-data-bound case in the selected environment.
The {id} path value is the internal manual execution ID.
environmentId selects the environment. The optional mtEnvironmentId
body field does not replace this path value.

The API checks timerStatus against the result and current timer state:

TODO is not terminal. PASSED, FAILED, BLOCKED, and SKIPPED are terminal.

Current timerFor TODOFor a terminal result
No timer or PAUSERUNNINGEND
RUNNINGRUNNING or PAUSEEND
ENDRUNNINGOmit timerStatus

The request example shows a new terminal result with no timer. It sends END.

The API returns HTTP 400 with code 11008 when you send a result for a
data-bound case/environment. The service records those results per
iteration. For an existing iteration, use Mark an iteration status
only to override its status without a rerun. The operation changes the
current attempt. It does not create a re-execution.

Requires the TestRun:Update permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Internal manual execution ID from List manual runs, not externalExecutionId.

int64
required

Manual execution environment ID to which this result applies.

Body Params
int64 | null

Optional body value; the environmentId path parameter selects the environment.

int64 | null

Required when the run has test suites.

string | null
string | null
int64 | null
int64
required

Test Management case ID.

int64
required

Case order within its suite, or within the run when no suites are present.

string | null
string
enum
required
Allowed:
string | null
string | null
enum

See the current timer transition rules in this operation's description.

Allowed:
string | null
enum
Allowed:
string | null
enum
Defaults to MANUAL

The service treats an omitted or null value as MANUAL. Keep this value unchanged after a final result.

Allowed:
int64 | null
date-time | null

Optional backdated start time. The run's explicit start time must not be later than this value.

date-time | null

Optional backdated end time. Supply startTime too. Do not use it with testCaseResult TODO. It must not precede startTime.

int64 | null

Duration in seconds. Supply both timestamps. It must equal the interval between them.

Headers
uuid

Optional account UUID; when supplied, it must own the project. Not a numeric account ID.

int64

Optional organization ID; when supplied, it must own the project.

int64
required

Project ID. Your key's user must have access to this project. See each operation for its permission requirement.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Choose an example:
application/json