All Products
Search
Document Center

Performance Testing:Use a rendezvous point instruction

Last Updated:Nov 01, 2024

If you want to simulate a scenario in which multiple users log on to a server at a time, you can use a rendezvous point instruction. For example, you can use a rendezvous point instruction during flash sales at the beginning of an hour. A rendezvous point is the point at which requests of virtual users wait. After specific conditions are met, all pending requests are released. This topic describes how to use a rendezvous point instruction.

Procedure

Note

You can use a rendezvous point instruction to release all pending requests of virtual users at a time, but the release rate is affected by the number of virtual users or read records per second (RPS) of subsequent instructions.

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

  2. Add an API and configure the basic information. For more information, see HTTP APIs.

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

  4. Expand Rendezvous Point and configure the Rendezvous Point Type parameter and related parameters.

    • By Time

      When the stress test starts, the requests of users begin to be accumulated for a specific period of time that is specified by the Wait Time parameter. After the wait time elapses, all accumulated requests of the users are released at a time. Unit: seconds. For example, if you set the Wait Time parameter to 300, all pending user requests at a rendezvous point are released 300 seconds after the stress test is initiated.

      Note

      A rendezvous point takes effect only once.

    • By Number of Users

      After the number of users whose requests are accumulated at a rendezvous point reaches the value that you specify, all accumulated requests of the users are released at a time. One rendezvous point takes effect only once.