×
Finish Test Run
Note:
See the API documentation for this endpoint for more information.
More general information on how to use the webmate API can be found here
Finalize the given test run and mark it as successful or failed with an optional failure message.
Endpoint | /testmgmt/testruns/{testRunId}/finish |
Method | POST |
testRunId | ID of testRun to finish |
Body | {"status": "unknown/failed/passed/pending_passed/pending_failed/skipped","message": "string","details": "string"} |
return schema | JSON with result (success or failure) and optional message |
return example | {"result": "success"} |
You can call the endpoint like this:
You need an authenticated webmateSession
to call this function, read this article on how to set up and authenticate with the SDK.
Parameter | |
---|---|
status | webmate TestRunEvaluationStatus (unknown/failed/passed/pending_passed/pending_failed/skipped) |
msg (optional) | String |
detail (optional) | String |
You need an authenticated webmateSession
to call this function, read this article on how to set up and authenticate with the SDK.
Parameter | |
---|---|
status | webmate TestRunEvaluationStatus (unknown/failed/passed/pending_passed/pending_failed/skipped) |
msg (optional) | String |
detail (optional) | String |