---
title: "stop running load scenario(s)"
method: PUT
path: "/mockserver/loadScenario/stop"
tags: ["loadgen"]
---

# stop running load scenario(s)

`PUT /mockserver/loadScenario/stop`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/loadScenario/stop`
- Auth: none declared

Stops one or more running load scenarios. Body is {"names":[...]}, {"all":true}, or an empty body (stop all running). Stopped scenarios stay registered (state STOPPED) and can be re-triggered.

## Request body

- object
  - `names` string[]
  - `all` boolean

## Response `200`

load scenario(s) stopped

- object
  - `status` 'stopped'
  - `stopped` object[]
    - `name` string
    - `state` 'STOPPED'

## Other responses

- `400`: failed to stop load scenario(s)

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
