Set rendezvous policies

This topic describes how to set rendezvous policies that determine how the Controller handles Vusers at a rendezvous point, and how to manually release Vusers from a rendezvous.

Rendezvous points

During a test run, you can instruct multiple Vusers to perform tasks simultaneously by using rendezvous points. A rendezvous point creates intense user load on the server, enabling you to measure server performance under load.

Rendezvous points are inserted in the Vuser script when creating the script in VuGen. For information, see the Virtual User Generator Help Center.

Example:  

Suppose you want to measure the performance of an application when 10 Vusers perform a task simultaneously. To make sure that multiple Vusers act simultaneously, you create a rendezvous point in the Vuser script. When Vusers arrive at a rendezvous point, they are held there by the Controller. The Controller releases the Vusers from the rendezvous either when the required number of Vusers arrives, or when a specified amount of time has passed.

For each rendezvous point, you can set Policy attributes. During the test run, you can manipulate the Vuser behavior at the rendezvous points.

For example, to test an online bank, you could create a test that contains two rendezvous points. The first rendezvous ensures that one thousand Vusers simultaneously deposit cash. The second rendezvous ensures that another thousand Vusers simultaneously withdraw cash. To measure how the server performs when only 500 Vusers deposit cash, you can set the release policy so that the Vusers are released when 500 Vusers arrive at the rendezvous.

Back to top

Configure rendezvous policies

You can configure rendezvous policies when defining the test workload. This determines how the Controller handles Vusers at a rendezvous point. You can also activate and deactivate rendezvous points defined in the Vuser scripts.

To configure and enable rendezvous points:

  1.  In the top banner, click the module name or the dropdown arrow and select Test Management > Tests & Scripts. Select a performance test in the test management tree and click Edit Test.

  2. In the Groups and Workload view, select More > View Rendezvous. The Rendezvous Points dialog box opens, displaying any rendezvous points defined in the script.

  3. The rendezvous grid displays the details about the rendezvous points in the scripts:

    UI Element Description
    Rendezvous Name

    The name of the rendezvous point as provided in the VuGen script.

    Contained in # of Scripts

    The number of scripts in which the rendezvous point was defined.

    Click Show Script Names to display the names of the scripts in which the rendezvous point was defined.

    Enable

    Indicates the status of the rendezvous point: Enabled or Disabled.

    You select a rendezvous point by clicking it.

    To select or clear all rendezvous points, click the Rendezvous Name column header.

  4. Set the following policy attributes for each rendezvous to determine how the Controller handles Vusers at a rendezvous point:

    Attribute Description
    Release when...

     

    Sets how many Vusers are released from a rendezvous point at a time.

    • X% of Running Vusers arrive at the rendezvous. Releases the Vusers only when the specified percentage of all Vusers running in the test have arrived at the rendezvous point.

    • X% of All Vusers arrive at the rendezvous. Releases the Vusers only when the specified percentage of all Vusers have arrived at the rendezvous point.

      Note: This option interferes with the scheduling of the test. When selected, your test does not run as scheduled.

    • X Vusers arrive at the rendezvous. Releases the Vusers only when the specified number of Vusers have arrived at the rendezvous point.

    Timeout between Vusers

    The timeout value in seconds. After each Vuser arrives at the rendezvous point, the Controller waits up to the maximum timeout period specified for the next Vuser to arrive.

    If the next Vuser does not arrive within the timeout period, the Controller releases all the waiting Vusers from the rendezvous.

    Each time a new Vuser arrives, the timer is reset to zero. You set a timeout for each rendezvous point.

    Note: When selecting multiple rendezvous points, the default policy is displayed for all rendezvous points.

  5. To enable rendezvous points, select the points you want to enable and click Enable Rendezvous(clear the check box to deactivate rendezvous points). Activating or deactivating a rendezvous point influences the level of server load.

  6. Click OK to save your rendezvous policies.

For details, see Define test workloads.

Back to top

Release Vusers from a rendezvous

You can manually release Vusers waiting at a rendezvous point during a run before the Controller releases them.

  1. In the Run Dashboard, click Rendezvous .

  2. Click Release to releases the Vusers at the selected rendezvous points.

For details on running a performance test, see Run performance tests.

Back to top

See also: