Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
DilipMami
Product and Topic Expert
Product and Topic Expert


Hello,

I shall walk you through the concept behind Rendezvous points in LoadRunner

Using what is defined in LR :

When performing load testing, one needs to emulate heavy user load on your system. To accomplish this, one can synchronize Vusers to perform a task

at exactly the same moment. One can configure multiple Vusers to act simultaneously by creating a rendezvous point. When a Vuser arrives at the

rendezvous point, it waits until all Vusers participating in the rendezvous arrive. When the designated number of Vusers arrive, the Vusers are released.

One can designate the meeting place by inserting a rendezvous point into the Vuser script. When a Vuser executes a script and encounters the rendezvous

point, script execution is paused and the Vuser waits for permission from the Controller to continue. After the Vuser is released from the rendezvous, it performs the next task in the script.

How to Insert Rendezvous Points

One can synchronize Vusers to perform a task at exactly the same moment by creating a rendezvous point. When a Vuser arrives at the rendezvous point,it waits until all Vusers participating in the rendezvous arrive. When the designated number of Vusers arrive, the Vusers are released.

One can insert rendezvous points in one of the following ways:

  • To insert a rendezvous point while recording, click the Rendezvous button on the Recording toolbar and enter a name in the dialog box (not case sensitive).

  • To insert a rendezvous point after recording, select Insert > Rendezvous and enter a name in the dialog box (not case sensitive).


When a rendezvous point is inserted, VuGen inserts a lr_rendezvous function into the Vuser script.

To access  one has to follow these steps --> Manual scenario > Design tab > Scenario > Rendezvous


Important information   : Available only if one of the Vuser scripts participating in the scenario contains a rendezvous point.

In the Policy dialog box, set the policy attributes as follows:



    • Release. The number of Vusers to be released from a rendezvous at one time.

    • Timeout. The time the Controller waits before releasing Vusers from a rendezvous.






Setting the Timeout Attribute

The timeout determines the maximum time (in seconds) that LoadRunner waits for each Vuser to arrive at a rendezvous. After each Vuser arrives at the rendezvous, LoadRunner waits up to timeout seconds for the next Vuser to arrive. If the next Vuser does not arrive within the timeout period, then the Controller releases all the Vusers from the Rendezvous.  Each time a new Vuser arrives, the timer is reset to zero

Default value: 30 seconds. One can set a custom timeout for each rendezvous point

To set a timeout one can follow these steps:

1 Open the Rendezvous window. The Rendezvous menu appears in the LoadRunner menu bar.

2 Click a rendezvous in the Rendezvous window.

3 Choose Rendezvous > Details. The Rendezvous Information dialog box opens.

4 In the Timeout box, enter a timeout value, and then click OK. The timeout is set for the rendezvous.

Some screenshot of a working rendezvous shown below :

lr_rendezvous("30_Users");



lr_rendezvous("10_Users");





Note: Rendezvous points are only effective in Action sectionsNOT init or end

Note: In goal-oriented scenarios, a script’s rendezvous points are disabled

 

 

Thanks

Dilip Mamidela , SAP BLR


1 Comment