Share this page

# Abort run

## Description

Performs an abort operation on the run.

## URL

Copy code

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

## Remarks

Attempts to stop the run the same fashion as Stop run now. 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 run.

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
Copy code

    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

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)