All Products
Search
Document Center

Performance Testing:Add a think time command

Last Updated:Mar 11, 2026

Real users pause between actions -- they read a page, fill out a form, or decide what to click next. A think time command inserts these pauses into your stress testing scenario so that virtual users behave realistically instead of firing requests at machine speed.

PTS supports three timer types:

Timer typeBehaviorBest for
FixedWaits exactly N millisecondsPredictable, repeatable delays
Uniform DistributionWaits a random duration within a defined range; every value in the range is equally likelyVaried but bounded user behavior
Normal DistributionWaits a random duration clustered around a central value (Gaussian)Realistic modeling where most delays fall near an average

Add a think time command to a scenario

  1. Log on to the PTS console. Choose Performance Test > Create Scenario, and then click PTS.

  2. On the Scenario Settings tab of the Create PTS Scenario page, configure basic request information for an HTTP node.

  3. Click the drop-down arrow to the right of Add Instruction and select Think Time.

  4. In the Think Time row, click the drop-down arrow and configure the Timer Type and Latency parameters. See the following sections for details on each timer type.

Timer types

Fixed

The request pauses for exactly N milliseconds before continuing. N is the value you set in the Latency field.

For example, setting the latency to 3000 makes every virtual user wait exactly 3 seconds between the preceding request and the next action.

Fixed timer type configuration

Uniform Distribution

The request pauses for a random duration uniformly distributed across the range [Delay offset, Delay offset + Changeable span]. Every value in this range is equally likely.

ParameterDescription
Delay offsetThe minimum pause duration (in milliseconds)
Changeable spanThe size of the random range added to the delay offset

Delay formula: actual delay = random value in [Delay offset, Delay offset + Changeable span]

For example, if you set Delay offset to 3 and Changeable span to 2, the pause duration is randomly selected from 3, 4, or 5 milliseconds for each request.

Uniform Distribution timer type configuration

Normal Distribution

The request pauses for a random duration that follows a normal distribution (Gaussian distribution). Configure two parameters:

ParameterDescription
Mean (mu)The central value around which most pause durations cluster
Variance (sigma squared)Controls the spread. A smaller variance keeps durations tightly grouped around the mean. A larger variance produces a wider range of durations.

For example, setting a mean of 5000 and a small variance produces pauses that mostly fall close to 5 seconds, while a larger variance results in pauses that range more widely above and below 5 seconds.

Normal Distribution timer type configuration

Choose the right timer type

ScenarioRecommended timer typeExample
Consistent, reproducible timing between requestsFixedBenchmarking a specific endpoint under a controlled cadence
Randomized delays within a strict rangeUniform DistributionSimulating users who take between 2 and 5 seconds to read a confirmation message
Delays clustered around a typical value with natural variationNormal DistributionModeling real user behavior where most pauses fall near an average think time