> OctoPerf load testing - Live Load documentation page. How to change the load of a running test: scale every user profile, set the Virtual Users of one, hold it, extend the test, and read the history of the changes.

Source: https://api.octoperf.com/doc/analysis/edit-bench-report/live-load/

# Live Load

The **Live load** panel changes the load of a test while it runs, without stopping it and starting a new one. You can:

- Scale every user profile at once, for instance to 120 % of their current level,
- Set the number of Virtual Users of one user profile, reached over a transition you choose,
- Hold a user profile at its current level,
- Extend the whole test by a few minutes.

This is useful to look for the breaking point of an application step by step, to keep a test running while you investigate a problem, or to lower the load when the tested servers suffer.

A test can only go as high and as long as the **live load margin** of its scenario allows: the margin is set before the launch, in the [Live load step](https://api.octoperf.com/doc/runtime/edit-scenario/#live-load) of the scenario. Without a margin, a user profile can only go down, and the test cannot be extended.

## Open the panel

The **Live load** button sits at the bottom of the left menu of the report, next to the [Test Logs](https://api.octoperf.com/doc/analysis/edit-bench-report/test-logs/) and the [Runtime Properties](https://api.octoperf.com/doc/analysis/edit-bench-report/runtime-properties/). Its counter shows how many changes were made to the load of the test.

The panel opens at the bottom of the report, below the report items:

![The Live load panel](https://api.octoperf.com/doc/analysis/edit-bench-report/img/live-load-panel.png "The Live load panel")

It opens by itself the first time you open the report of a running test you can drive. A member of the workspace with the Viewer role cannot change the load: the panel does not open by itself for them.

The panel belongs to the report of a single test: a report that compares several tests, or shows a trend, has none.

Once the test is over, the button stays, and opens the panel on its [history](#history).

## The live load range

Each user profile is driven within a **range** around its planned peak:

- **Below**, down to its **floor**: going lower would mean stopping the test. For instance, with a range of 20 %, a user profile planned at 10 Virtual Users cannot go below 8.
- **Above**, up to the live load margin of the scenario.

The range is set by the platform.

While a user profile ramps up, it runs below its floor: you can raise it, but not lower it nor hold it there.

![A user profile that ramps up below its range](https://api.octoperf.com/doc/analysis/edit-bench-report/img/live-load-ramp-up.png "A user profile that ramps up below its range")

## The rows of the panel

The panel has three kinds of rows:

| Row | What it does |
|-----|--------------|
| **All user profiles (%)** | Scales every user profile from its current level, over a transition: `120` raises each one by 20 %. |
| **Extend test by (min)** | Extends the whole test by a number of minutes. |
| One row per user profile | Sets its **Target VUs**, reached over a **Transition (s)**: **Apply** sends the change. **Hold** keeps the user profile at the level it has when the change arrives. |

Each user profile row also shows its expected Virtual Users, the Virtual Users measured on the load generators, and the time it has left, for instance `13 VUs expected · 12 measured · 14 min left`. K6 Virtual Users report no measured value.

### The limits under each field

Each field gives its limit just below it, so you read it before you type:

| Limit | Under | Meaning |
|-------|-------|---------|
| `8 to 12 VUs` | The target of a user profile | From the floor of its range up to its margin. |
| `80 to 150 %` | **All user profiles** | The scale that takes every user profile to the end of its range. It reads `all at min VUs to 600 %` when no user profile can go lower, and `all at max VUs` when none can go higher. |
| `up to 10 min` | **Extend test by** | What the margin still allows. |
| `up to 790 s` | A transition | The time the user profile will have left once the change is sent, so that the transition reaches its target before the user profile ends. |

A value outside its limit is refused before anything is sent, for instance `At least 8 VUs (live load range).` or `At most 790 s.`

Two buttons are disabled with a tooltip that says why:

- **Extend**, once the margin leaves no time to extend the test: its field then reads `no time left`,
- **Hold**, while the user profile ramps up below its range: it shows the floor of its range as its target, and cannot be held below it.

### Each change waits 10 seconds

Every change waits 10 seconds before it is sent, so that you can take back a wrong value. The row shows the countdown, for instance `Sending 22 VUs in 9 s`, with two buttons:

![A change that waits before it is sent](https://api.octoperf.com/doc/analysis/edit-bench-report/img/live-load-countdown.png "A change that waits before it is sent")


- **Send now** sends the change at once,
- **Cancel** drops it, and puts the row back as it was.

Closing the panel also drops a change that has not been sent yet.

### What each row shows

Once you type a value, the row previews the change, for instance `7 → 22 VUs in 30 s: about +1 VU every 2 s`. Once it is sent, the row follows it:

| Step | Example |
|------|---------|
| Transition in progress | `Transition to 20 VUs · 13 s left` |
| Change done | `Reached 20 VUs`, `Held at 8 VUs`, `Visitors: Extended by 3 minutes (capped)` |
| Change refused | `Nothing to extend: every user profile has no margin left, or is done` |

A new **Apply** during a transition replaces it.

## Scale every user profile

**All user profiles (%)** applies the same percent to the current level of every user profile: `100` changes nothing, `50` halves the load, `150` raises it by half.

A scale never goes against its percent:

- A user profile stops at the floor or the top of its range. The result names the ones that stopped, for instance `Applied to 2 user profiles (Visitors and Buyers stopped at their floor).`,
- A user profile still below its floor, while it ramps up, is not lowered,
- A scale that would change nothing is refused: `Nothing to change: every user profile is at that level, at an end of its live load range, or done`.

Once applied, the field goes back to `100`: the percent applies to the current level, so sending it again would scale the load a second time.

## Extend the test

**Extend test by (min)** adds the same duration to every user profile, within the margin of the scenario. A user profile that has already ended is skipped.

When you ask for more than the margin allows, the extension is capped, with one result per user profile, for instance `Visitors: Extended by 3 minutes (capped)`. The field then reads `no time left`.

## History

The **History**, below the rows, lists every change made to the load of the test: its time, its author, the user profile and the change.

![The history of the changes](https://api.octoperf.com/doc/analysis/edit-bench-report/img/live-load-history.png "The history of the changes")

| Change | Meaning |
|--------|---------|
| `9 → 22 VUs (+13) in 30 s` | A target set on the user profile. |
| `90 %: 22 → 20 VUs (-2) in 60 s` | A scale of every user profile. |
| `Hold at 8 VUs` | The user profile held. |
| `+3 minutes (capped from 5 minutes)` | An extension the margin capped. |
| `8 → 12 VUs (+4) in 30 s (raised from 10)` | A target below the floor of the range, raised to it. |

The search box above the table keeps the changes that hold every word you type, in any column: type `Visitors capped` to find the changes of Visitors that the margin capped.

The history stays with the test result: you can read it once the test is over.

## Markers on the report charts

Each change draws a dashed vertical line, a **marker**, on the Scenario chart of the [Summary](https://api.octoperf.com/doc/analysis/edit-bench-report/report-items/summary/) item. Point at a marker to read its author, its time, and one line per user profile it changed. Past five user profiles, the lines group the user profiles that changed the same way.

![A marker and its tooltip on the Scenario chart](https://api.octoperf.com/doc/analysis/edit-bench-report/report-items/img/summary-item-live-load.png "A marker and its tooltip on the Scenario chart")

To find the effect of a change on the response times or the errors, turn on **Also show on the other time charts**, in the header of the panel: the markers then show on every time chart of the report. Your browser remembers this choice, which is off by default.

Comparisons and trends show no marker.

## From the REST API and AI agents

The same changes can be sent from the [REST API](https://api.octoperf.com/doc/runtime/edit-scenario/integrations-automation/ci-cd/rest/) and from the [MCP server](https://api.octoperf.com/doc/mcp/). Changing the load needs the right to run the test; reading the history, the right to read it.
