All Products
Search
Document Center

Performance Testing:Use a delay release instruction

Last Updated:Nov 01, 2024

A delay release instruction postpones the execution of a business session for a specific period of time. When a stress test starts, the timing simultaneously starts. The business session is executed after the period of time that you specified eleasps. This topic describes how to add a delay release instruction.

Procedure

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

  2. Configure basic request parameter for the HTTP node. For more information, see Basic request parameters.

  3. In the Business Session section, click the Add Instruction drop-down list and select Delay.

  4. Expand Delayed Release and configure the Latency parameter.

    Note

    A delay release instruction is used to postpone a stress test for a specific period of time. The timing begins when the stress test is scheduled and ends when the stress test is started. The delay release instruction must be located at the first place, except for data-related instructions, of a business session. If a data export instruction is added, you must estimate the duration of the data export. The duration ranges from 0 to 600 seconds.

    The following table describes the differences between the Think Time and Delay instructions.

    Instruction

    Location

    Quantity

    Timing point

    Delay

    This instruction must be located at the first place of the current session.

    You can add only one delay release instruction for a business session.

    The timing begins when the stress test is scheduled.

    Think Time

    This instruction can be located at any place except for the first place of the current session.

    You can add multiple delay release instructions for a business session.

    The timing begins when the previous instruction returns results.