LoadRunner allows you to check your system’s response under specific load. To do this, you can use rendezvous points to cause multiple Vusers to perform tasks at exactly the same time, thereby creating intense user load on the server.
During a scenario run, you can instruct multiple Vusers to perform tasks simultaneously by using rendezvous points. A rendezvous point creates intense user load on the server and enables LoadRunner to measure server performance under load.
Suppose you want to measure how a Web-based banking system performs when ten Vusers simultaneously check account information. To emulate the required user load on the server, you instruct all the Vusers to check account information at exactly the same time.
You ensure that multiple Vusers act simultaneously by creating a rendezvous point. When a Vuser arrives at a rendezvous point, it is 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 details on the release criteria, see “Setting the Rendezvous Policy”.
You define rendezvous points in the Vuser script. For information about inserting rendezvous points into Vuser scripts. Using the Controller, you can influence the level of server load by selecting:
- which of the rendezvous points will be active during the scenario
- how many Vusers will take part in each rendezvous
For example, to test a bank server, you could create a scenario 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. If you want to measure how the server performs when only five hundred Vusers deposit cash, you can deactivate (disable) the “withdraw” rendezvous, and instruct only five hundred Vusers to participate in the “deposit” rendezvous.
The following procedure outlines how to control load peaks on the server:
- Create the Vuser scripts, inserting the necessary rendezvous points.
- Create a scenario.
When you add a Vuser group to a scenario, LoadRunner scans the group’s associated script for the names of the rendezvous points and adds them to the list in the Rendezvous Information dialog box (Scenario > Rendezvous). If you create another Vuser group that runs the same script, the Controller adds the new Vusers to the rendezvous and updates the list.
- Set the level of emulated user load.
You determine the exact level of load by selecting the rendezvous points that will take part in the scenario, and how many Vusers will participate in each rendezvous.
- Set the attributes for the rendezvous (optional).
- Run the scenario.
Setting the Rendezvous Attributes
You can set the following rendezvous attributes from the Rendezvous Information dialog box (Scenario > Rendezvous):
- Rendezvous Policy
- Enabling and Disabling of Rendezvous Points
- Enabling and Disabling of Vusers