All Products
Search
Document Center

Performance Testing:Adjust concurrent users during a stress test

Last Updated:Mar 11, 2026

When a stress test is running, you can monitor the stress testing metrics of your scenarios and APIs in real time. You may need to change the load level to prevent APIs from receiving excessive requests and becoming overloaded, helping maintain system stability. Performance Testing Service (PTS) lets you modify the number of concurrent users in real time. PTS records the operations that you perform on stress testing scenarios for subsequent queries.

Concurrency modes

PTS provides two modes that control how concurrent users are added or changed during a stress test:

ModeBehaviorWhen to use
Tiered IncrementAdds users automatically based on predefined stepsThe predefined ramp-up plan meets your needs and no manual intervention is required
Manual AdjustmentLets you set a specific concurrency valueYou need to react to real-time metrics -- for example, reduce load before an API becomes overloaded

When you switch from Tiered Increment to Manual Adjustment, you also choose the scope of the change:

ScopeEffect
Global Batch Speed RegulationApplies to all APIs across all business sessions
Business Session Speed RegulationApplies only to the current business session. Other business sessions are not affected

Both PTS-based and JMeter-based stress tests support runtime adjustment, but the workflows differ as described below.

Prerequisites

Before you begin, make sure that you have:

The following figure shows the stress testing page after a test starts.

Stress testing page

Adjust concurrent users in a PTS-based stress test

Switch from tiered increment to manual adjustment

  1. On the Executing Test page, click Scene speed regulation.

  2. Select the adjustment scope:

    • Global Batch Speed Regulation: Applies to all APIs across all business sessions.

    • Business Session Speed Regulation: Applies only to the current business session. Other business sessions are not affected.

  3. Change the mode from Tiered Increment to Manual Adjustment.

  4. Enter the desired concurrency value and start the test.

Speed regulation dialog
Note

If Stress Mode is set to RPS Mode (Requests Per Second) in the Stress Mode Configuration section when you create a PTS-based stress testing scenario, you can adjust the number of concurrent users for each API individually.

Adjust users in manual adjustment mode

The workflow in Manual Adjustment mode is the same as in Tiered Increment mode: click Scene speed regulation, select the scope, enter a value, and apply.

If you do not make any changes, the stress test continues with its current settings.

Adjust concurrent users in a JMeter-based stress test

  1. On the Executing Test page, click Scene speed regulation.

  2. In the dialog box, enter the number of concurrent users.

  3. Click OK.

JMeter speed regulation dialog

View operation records

PTS records the operations that you perform on stress testing scenarios for subsequent queries, such as the start and stop of the stress test and scenario editing.

To view these records, go to the Edit Scenario page and click Records in the upper-right corner.