Implementing rendezvous point for Concurrent Users test

447 views
Skip to first unread message

PN

unread,
May 19, 2009, 12:52:19 PM5/19/09
to LR-Loa...@googlegroups.com
Hi All,
I have a Test Case/Scenario where I should test with 1000 Concurrent Users.For this I know we have to use insert rendezvous function.
Can you tell me what Measures/Rules to be followed while inserting this Rendezvous function in the Script.(like We cannot insert this in Vuser Init, where exactly I should insert,can I insert it before think time or after think time,before start transaction or after...kind of).
 
Thanks in Advance
 
Thank you
PN

shlomini

unread,
May 20, 2009, 2:11:18 PM5/20/09
to LoadRunner
Hi,

Technically speaking you can add the rendezvous point anywhere you
wish in the script aside from vuser_init and vuser_end actions.

Rendezvous point should be used only when you want to sync vusers,
either from the same group or from differernt groups, to perform
specific operations at the same time. Rendezvous is a very good tool
for simulating resource contention for example. It doesn't ensure,
though, these vusers will remain synced after they are released from
the rendezvous point since then they are depended on the think time
policy you applied in the script and the server response time.

How many hits per second (HPS) or transaction per second (TPS) you
need to simulate? 1000 concurrent vusers can generate different levels
of HPS based on your think time and other script Run Time Settings
(RTS).

Regards,
Shlomi Nissim
LoadRunner and Performance Center Functional Architect
HP Software and Solutions

Roland Jefferson JR

unread,
May 20, 2009, 3:37:05 PM5/20/09
to LR-Loa...@googlegroups.com
Rendezvous point should be setup before a submit to hit the database all at once for true concurrency.
 
Hope this helps,
 
Roland

hemanth

unread,
May 19, 2009, 2:20:29 PM5/19/09
to LoadRunner
Hi,
According to me rendezvous function should be placed which point u
want to stress ur application, like report generation or save or
update scenarios, and u have to put it before u start the transaction.
and u have to define the policy for users.

Thanks
Hemanth

pparasher

unread,
May 20, 2009, 12:58:12 PM5/20/09
to LoadRunner
Hi PN -

How I typically use rendezvous points is, first I identify which
transactions within my business process flow I would like to stress
with concurrency. Then, I add the 'lr_rendezvous' statements right
before the transaction is submitted from my VUser script.

For example, If I want to simulate 1000 concurrent 'Login
Transactions' and 1000 concurrent 'Update Transactions' within the
same VUser Script, then I would add 1 'lr_rendezvous' statement right
before the 'Login' transaction and another 'lr_rendezvous' statement
right before the 'Update' transaction.

At run time, The Controller will recognize these rendezvous points for
each VUser in your scenario, and wait until 100% of the running VUsers
that are assigned to that Group will reach that point, then will
release the VUsers so that all the VUsers within that Group will
perform the 'Login' and 'Update' transactions concurrently.

You can put your 'lr_rendezvous' statement in any section within your
VUser Script, regardless of 'Init', Action', or 'End'. I just depends
on what transaction you want to have the stress of concurrent users.

Also, In the Controller, you can assign detailed policies to each of
the rendezvous points that you have set. To do that, Open your
scenario in the LoadRunner Controller, and look under 'Scenario' ->
'Rendezvous...'.

Hope that helps, let me know if you have any questions.

Best regards,
Puneet Parasher

prasenjit dutta

unread,
May 21, 2009, 11:27:40 AM5/21/09
to LR-Loa...@googlegroups.com
i think rendezvous function can be used only in action part not in init or end section......
u can use this rendezvous before the start of a trasaction where u want to simulate ur load.
--
Prasenjit

PN

unread,
May 21, 2009, 2:11:24 PM5/21/09
to LR-Loa...@googlegroups.com
Hi All,
Thanks a lot for the response.
 
Here is what I have implemented:
 
Scenario:
To test if a Report (click on submit to display the Report) can be viewed within 5 Seconds,for 50 Concurrent Users.
 
Steps followed:
VUGen:
I created the Script for executing the report.
Inserted the Rendezevous point before the Start transaction.
I have parameterized 50 User Ids with Unique,Each Iteration.
 
Controller:
I have given the settings as  release 100% Users when all reach the point.
Runtime Settings:
RampUp 5 Users every 30 Seconds.
Duration:Run Untill Completion.
 

Result:
The Script is Reaching till the Rendezvous point and timing out at the Rendezvous point.
Is this because the system/application could not handle 50 concurrent Users(because when I test with 10 Concurrent Users it is giving me a Transaction  response time as 11 Seconds max).Or am I missing anything.
Also since I am not selecting the duration,but keeping it as Run untill completion only 1 Iteration is running so the time is RUn  is not more than 5 minutes.
 
Please let me know if I am missing anything here.

Swet

unread,
May 22, 2009, 5:15:26 AM5/22/09
to LoadRunner
PN,

In parameterization, I think you must use 50 User Ids with*
Unique,Once.*

and in Controller Under Global Schedule
Start Vusers: Start 50 Vusers; 5 Vusers every 30 Seconds

Thanks.



On May 21, 11:11 pm, PN <pnellu...@gmail.com> wrote:
> Hi All,
> Thanks a lot for the response.
>
> Here is what I have implemented:
>
> Scenario:
> To test if a Report (click on submit to display the Report) can be viewed
> within 5 Seconds,for 50 Concurrent Users.
>
> Steps followed:
> VUGen:
> I created the Script for executing the report.
> Inserted the Rendezevous point before the S*tart transaction.*
> I have* parameterized* 50 User Ids with* Unique,Each Iteration.*
>
> *Controller:*
> I have given the settings as  release* *100% Users when all reach the point.
> Runtime Settings:
> RampUp 5 Users every 30 Seconds.
> Duration:Run Untill Completion.
>
> Result:
> The Script is Reaching till the Rendezvous point and timing out at the
> Rendezvous point.
> Is this because the system/application could not handle 50 concurrent
> Users(because when I test with 10 Concurrent Users it is giving me a
> Transaction  response time as 11 Seconds max).Or am I missing anything.
> Also since I am not selecting the duration,but keeping it as Run untill
> completion only 1 Iteration is running so the time is RUn  is not more than
> 5 minutes.
>
> Please let me know if I am missing anything here.
> **
>
> On Thu, May 21, 2009 at 8:27 AM, prasenjit dutta <prasenjit...@gmail.com>wrote:
>
>
>
> > i think rendezvous function can be used only in action part not in init or
> > end section......
> > u can use this rendezvous before the start of a trasaction where u want to
> > simulate ur load.
>
> > Prasenjit- Hide quoted text -
>
> - Show quoted text -

Swet

unread,
May 22, 2009, 8:41:45 AM5/22/09
to LoadRunner
PN,

I think in parameterization, you need to have 50 User Ids with*
Unique, Once.

in controller under global schedule, select start vusers -- start 50
vusers --> 5 Users every 30 Seconds.

Thanks


On May 21, 11:11 pm, PN <pnellu...@gmail.com> wrote:
> Hi All,
> Thanks a lot for the response.
>
> Here is what I have implemented:
>
> Scenario:
> To test if a Report (click on submit to display the Report) can be viewed
> within 5 Seconds,for 50 Concurrent Users.
>
> Steps followed:
> VUGen:
> I created the Script for executing the report.
> Inserted the Rendezevous point before the S*tart transaction.*
> I have* parameterized* 50 User Ids with* Unique,Each Iteration.*
>
> *Controller:*
> I have given the settings as  release* *100% Users when all reach the point.
> Runtime Settings:
> RampUp 5 Users every 30 Seconds.
> Duration:Run Untill Completion.
>
> Result:
> The Script is Reaching till the Rendezvous point and timing out at the
> Rendezvous point.
> Is this because the system/application could not handle 50 concurrent
> Users(because when I test with 10 Concurrent Users it is giving me a
> Transaction  response time as 11 Seconds max).Or am I missing anything.
> Also since I am not selecting the duration,but keeping it as Run untill
> completion only 1 Iteration is running so the time is RUn  is not more than
> 5 minutes.
>
> Please let me know if I am missing anything here.
> **
>
> On Thu, May 21, 2009 at 8:27 AM, prasenjit dutta <prasenjit...@gmail.com>wrote:
>
>
>
> > i think rendezvous function can be used only in action part not in init or
> > end section......
> > u can use this rendezvous before the start of a trasaction where u want to
> > simulate ur load.
>
Reply all
Reply to author
Forward
0 new messages