Skip to main content

Load Testing

Load testing shows how your service behaves as traffic increases. You can scale an entire recording, target selected endpoints, or replay complete user journeys with separate schedules and goals.

Choose a load test​

What you want to testStart here
Increase traffic across an entire recordingConfigure replay stages below.
Increase one endpoint's load while keeping another steadyFollow Test one endpoint while stressing another.
Replay complete user journeys, including login and transaction stepsUse session load groups.
Look for problems that appear under sustained loadRun a soak test.
Find a load-plan field, unit, or compatibility limitRead the load-plan reference.

Independent endpoint and session workloads​

Use endpoint and session load plans when each workload needs its own schedule and goals. For example, ramp statement requests while holding transaction posting steady, then check posting latency during the busiest part of the test.

Select endpoints with URL filters, adding an HTTP method filter when reads and writes share a route. A request group replays those requests independently. A session group selects recorded users with a matching request and replays their complete journeys, including login and other steps.

In the dashboard, open Test Config > Load Pattern to add request or session groups. Set each group's filter, schedule, and goals, then use Preview against a recording to check selected endpoints, request ownership, and session population before running. For local replay and Run in cluster, use Replay > Load plan in proxymock web.

The banking walkthrough takes you through endpoint selection, rotating sessions, latency goals, and report interpretation. The feature guide explains scheduling choices, shared arrival rates, budgets, and Kubernetes setup.

Load test an entire recording​

Use a test config to define the load pattern for your test. Built-in test configs cannot be modified, so start by opening performance_100replicas and clicking Copy test config.

The read-only performance_100replicas test config with its maintained by Speedscale banner and the Copy test config button

Notice the existing settings on the test config like low data mode.

info

In low data mode only sampled response data of failures will not be sent to Speedscale for analysis. This limits the number of RRPairs that will be collected and processed with assertions, defined on the Assertions tab, but enables much higher throughput than can be achieved otherwise. Status codes will be compared in low data mode which determines the overall accuracy of the replay report.

Now click on the Load Pattern tab to configure load for the replay. From this screen you can edit and add replay stages, and the chart above the stages table previews the pattern.

The Load Pattern tab of the copy with one stage of 100 vUsers for 300 seconds and its chart

A replay may have one or more stages and each stage may have a different configuration. Let's break down the settings in a stage. Click the pencil on stage 1.

The Stage 1 dialog set to run for a fixed time of 300 seconds with 100 vUsers at full speed

The left side sets the Duration and determines how long the stage will last. Select Run as long as it takes to send all requests to replay each request in the snapshot once per vUser. Alternatively, select Run for a fixed time to cycle traffic from the snapshot until the time is reached. The Ramp Time moves traffic from the previous stage's level to this stage's target over the time given, and cannot exceed the stage duration.

The right side sets the Request Volume/Speed and determines how fast requests will be made. Select Request rate to set the number of requests per second this stage will target, in TPS, or per minute with TPM. While the replay is running the generator monitors the current rate and increases or decreases load accordingly, holding load once the target is reached. A request rate stage needs a fixed time, and the rate must be a positive whole number. Select vUsers instead to set the number of concurrent traffic copies, sent at Full speed or with the recorded delay between requests scaled by Multiply original latency.

Let's look at an example with multiple stages using a request rate to control load.

StageRamp timeDurationRequest Volume
10s120s50 TPS
20s180s100 TPS
330s300s200 TPS
445s45s1 TPS

This load pattern would result in a replay that looks like this:

| stage 1 | stage 2 | stage 3 |stage 4|
|---120s---|----180s----|-30s-|-----270s-----|--45s--|
^ ^ ^ ^ ^
| | | | |
stage 1 | | | |
targets 50 TPS | | | |
| | | |
stage 2 | | |
immediately | | |
targets 100 TPS | | |
| | |
stage 3 spends | |
30s ramping from | |
100 to 200 TPS | |
| |
stage 3 spends |
the remaining |
270s at 200 TPS |
|
stage 4 spends all of its 45s
ramping down from 200 TPS to 1

A report's Performance tab shows each stage in its throughput chart. This report ran three stages: 2 vUsers for 30 seconds, a 5 second ramp to 20 vUsers held for 30 seconds, then 2 vUsers for 60 seconds.

A load test report Performance tab where throughput jumps from about 120 to about 450 RPS during the middle stage and drops back

There are several performance oriented test configs available by default to get you started.

Soak Test​

A common use case is to use a small amount of traffic to create a high throughput or long running replay. Some issues are only exposed after sustained load exhausts a resource, which can take time. Extend your traffic with the test config Duration setting. This will run your traffic in a loop for the entirety of the duration.

Loading search...