Monday 26 May 2014

Disabling and Enabling Rendezvous Points in Load runner

Rendezvous Points:

 
         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. arrives at the rendezvous point, it is held there by the Controller. You then set a
rendezvous policy according to which the Controller releases the Vusers from the
rendezvous point either when the required number of Vusers arrives, or when a
specified amount of time has passed. You define rendezvous points in the Vuser
script.

A. 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?

B. Include lr_rendezvous(“rendezvous_name”); on the top of the start transaction
where the rendezvous of all the Vusers must occur in the VuGen script.

C. Howto Set Up a Rendezvous in a Scenario?

Prerequisites:

To set up a rendezvous in the scenario, your scenario must include Vuser scripts that
have rendezvous points inserted in them. When you add a Vuser group or script to
the scenario, LoadRunner scans the included scripts for the names of the rendezvous
points and adds them to the list of rendezvous points. You can see the list of all the
rendezvous points in your scenario by selecting Scenario > Rendezvous.

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

Set the level of emulated user load


Select the rendezvous points to take part in the scenario, and the number of Vusers
to participate in each rendezvous. You can temporarily disable a rendezvous and
exclude it from the scenario. You can disable a rendezvous point for all Vusers in a
scenario, or you can temporarily disable specific Vusers from participating in the
rendezvous. By disabling and enabling a rendezvous, you influence the level of server
load.

Set the attributes for the rendezvous policy – Optional


In the Rendezvous Information dialog box, for each rendezvous:

a. Select the rendezvous, and click the Policy button.
b. In the Policy dialog box, set the policy attributes as follows:
  •  Release. How many Vusers will be released from a rendezvous at a time.
  •  Timeout. How long the Controller waits before releasing Vusers from a rendezvous

By disabling and enabling rendezvous points, you can influence the level of server load.

Disabling a rendezvous temporarily removes it from the rendezvous list and excludes it from the scenario.

Enabling a rendezvous returns it to the Rendezvous list and includes it in the scenario.

You use the Disable and Enable commands to change the status of rendezvous points during a scenario.

To disable a rendezvous: 


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

2. Click a rendezvous. The selected rendezvous is highlighted.

3. Choose Rendezvous > Disable, or click the Disable button. The rendezvous name changes from black to
gray and the rendezvous is disabled.

To enable a rendezvous: 

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

2. Click a disabled rendezvous. The selected rendezvous is highlighted.

3. Choose Rendezvous > Enable, or click the Enable button. The rendezvous name changes from gray to
black and the rendezvous is enabled.

No comments:

Post a Comment