For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Performance TestingAbort Performance Test
TestMu AI
StatusCommunityBlog
Performance Testing

Abort Performance Test

Stop dispatching new batches AND end live calls. Dispatching stops promptly, and every call still in-flight on this run is asked to end via the telephony provider so accidentally-triggered calls don't run to completion. Provider-side termination is best-effort: calls that can't be ended (already ended, not yet connected) are cleaned up by a background job within a few minutes. The org concurrency cap is restored as soon as the run finishes shutting down.

POST
/api/performance-tests/{run_id}/abort
Abort Performance Test
curl --request POST \
--url "https://agent-testing.lambdatest.com/api/performance-tests/{run_id}/abort" \
--header "Authorization: Basic <encoded-value>"
{
"id": "<string>",
"project_id": "<string>",
"suite_id": "<string>",
"source_suite_id": "<string>",
"source_suite_name": "<string>",
"profile": "ramp_up",
"status": "running",
"max_concurrency": 123,
"started_at": "<string>",
"completed_at": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

run_idstringrequired

Response

application/json

Successful Response

idstringrequired
project_idstringrequired
suite_idstringrequired
source_suite_idstring
source_suite_namestring
profilestringrequired

Pacing pattern the orchestrator applies to the call list.

statusstringrequired

Lifecycle states for a `PerformanceTestRun` row.

max_concurrencyintegerrequired
started_atstringrequired
completed_atstringrequired
Abort Performance Test
curl --request POST \
--url "https://agent-testing.lambdatest.com/api/performance-tests/{run_id}/abort" \
--header "Authorization: Basic <encoded-value>"
{
"id": "<string>",
"project_id": "<string>",
"suite_id": "<string>",
"source_suite_id": "<string>",
"source_suite_name": "<string>",
"profile": "ramp_up",
"status": "running",
"max_concurrency": 123,
"started_at": "<string>",
"completed_at": "<string>"
}