All Products
Search
Document Center

Performance Testing:Load modes

Last Updated:Mar 10, 2026

Performance Testing Service (PTS) applies load to your system in one of two modes: virtual user (VU) mode or requests per second (RPS) mode. Each mode controls a different dimension of load, and the right choice depends on what you need to measure.

ModeWhat it controlsBest for
VU modeNumber of concurrent usersTesting how many simultaneous users your system handles
RPS modeThroughput (requests per second)Testing the maximum request rate your system sustains

Choose a load mode

Select the mode that matches your system's real-world traffic pattern:

  • VU mode -- Use when you want to answer: *"How does my system behave under N concurrent users?"* VU mode simulates a fixed pool of users, each running a business session end to end. This fits scenarios where you need to assess how many concurrent online users each node of a business system can handle.

  • RPS mode -- Use when you want to answer: *"Can my system sustain N requests per second?"* RPS mode drives a target throughput against each API in your scenario. This fits scenarios where you want to use RPS as a metric to measure the number of requests that a system can handle in a second.

VU mode

In VU mode, load equals the number of concurrent virtual users interacting with your system.

How VU mode works

  1. Set the maximum number of virtual users for the entire scenario.

  2. Assign a weight to each business session to distribute VUs proportionally.

  3. PTS creates the specified number of VUs and distributes them across business sessions.

Because APIs within a session have different response times, VUs accumulate unevenly across APIs. A slow API holds more VUs at any given moment, consuming more thread resources.

Example: A scenario has 100 VUs running a business session with two APIs. If API 1 has a fast response speed and API 2 has a slow response speed, more virtual users wait at API 2, which requires more thread resources to handle virtual user requests.

VU mode parameters

After you select VU mode, configure the following parameters in the Load Level Configuration section:

ParameterDescription
Weight of Max VUDistributes total VUs across business sessions by weight. For example, if session A has weight 1 and session B has weight 3, session A receives 25% of total VUs and session B receives 75%.
Starting PercentageThe percentage of maximum VUs to begin with. Default: 10%.

Example: A scenario allows 1,000 maximum VUs with two sessions (weights 1 and 3). Session A starts with 25 VUs (250 x 10%) and ramps up to 250. Session B starts with 75 VUs (750 x 10%) and ramps up to 750.

image

RPS mode

In RPS mode, load equals the number of requests per second sent to each API.

How RPS mode works

  1. Set the Max RPS and Starting RPS for each API in your scenario. To match a throughput target, set RPS equal to the target transactions per second (TPS). For example, to verify that your system sustains 500 TPS, set RPS to 500.

  2. PTS generates requests at the target rate, creating as many VUs as needed to sustain that rate.

  3. Adjust the load manually during testing -- RPS mode does not auto-scale. For details, see Adjust the number of concurrent users.

Important

If backend response times increase, PTS creates additional VUs to maintain the target RPS. This can cause a rapid, unexpected spike in VU count. Stop the test if you observe abnormal VU growth or system exceptions.

Funnel constraint

In a business session, each subsequent API must have an RPS value equal to or lower than the previous API. This reflects the natural drop-off in a user journey -- not every user who views a page goes on to complete a purchase.

Example (e-commerce funnel):

StepAPIMax RPS
1View homepage1,000
2View product details300
3Add to cart100
4Place order30
5Complete payment20

Each step has fewer requests than the one before it, matching real-world user behavior.

RPS mode parameters

ParameterDescription
Max RPSMaximum requests per second for an individual API.
Starting RPSInitial requests per second for an API at the start of the test.

Configure parameters in bulk

Both VU mode and RPS mode support bulk parameter configuration:

  1. Select the business sessions (VU mode) or APIs (RPS mode) to configure.

  2. Click Batch Settings in the upper-right corner.

  3. Enter a value and click OK.

Resource plan limits

Regardless of the mode you select, the sum of maximum VUs or maximum RPS in each scenario cannot exceed the maximum VUs or RPS of your resource plan.