Open topic with navigation

# abort

## Description

Performs an abort operation on the run.

## URL

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/{run ID}/abort

## Remarks

Attempts to stop the run the same fashion as stopNow. If the run does not stop after a delay, it is stopped immediately even if there is loss of data.

Post run actions are not executed when abort is invoked. They only apply to stop.

The URL for the run data is the same as the Location header returned by Start a Test Run with the addition of the operation "abort".

## HTTP Method

POST: Invokes the abort operation on the run.

## Request

Headers:

None

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

Request Example

    POST http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/{ID}/abort

## Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

None

## See Also

Run Status XML
Stopping Runs
Start a Test Run