calculate Pacing time and Think time

690 views
Skip to first unread message

kirankumar arungolam

unread,
Sep 15, 2011, 12:14:51 AM9/15/11
to LoadRunner
Hi All, pls tell me how to calculate Pacing time and think time.
Explain me with an example.

James Pulley

unread,
Sep 15, 2011, 9:20:42 AM9/15/11
to LoadRunner
Pacing is derived from your load profile.

Think times are derived from human behavior in how they use the
system, notably reading, waiting, typing, chatting with others,
getting coffee, etc....

On Sep 15, 12:14 am, kirankumar arungolam <arungolamki...@gmail.com>
wrote:

Suresh Babu

unread,
Sep 16, 2011, 8:49:34 AM9/16/11
to lr-loa...@googlegroups.com
Pacing Calculation for your reference

SLA defined/Data supplied by business team :


a.    Number of users = n
b.    Transactions/hour = t

Calculate Transactions/hour/number of users(k)=t/n
Pacing required (p)= 3600/k
 
Here pacing should be variable between  (p+0.1p) to (p-0.1)p

 
For example :
a.    Number of users=20
b.   Transactions/hour=80
Transactions/hour/number of users k=80/20=4
Pacing P=3600/4=900
 
But it is advisable to take 10% deviations of pacing.

Regards,
P. Suresh Babu



--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Suresh Babu

unread,
Sep 16, 2011, 9:02:42 AM9/16/11
to lr-loa...@googlegroups.com
On Thu, Sep 15, 2011 at 6:50 PM, James Pulley <loadrunn...@jamespulley.com> wrote:

anees a mohammed

unread,
Sep 16, 2011, 10:44:25 AM9/16/11
to lr-loa...@googlegroups.com
Here is my understanding:
 I have a script with 5 transactions.
In order to execute 20 iterations in 10 mins(600 sec) with 10 Vusers.

I did the following:

1) Executed the script in controller with 2 users- 2 iterations, without thinktime and pacing, to get the approx time to complete 1 iterations(took the average transaction response time of 2 users 2 iterations and added up all) - It took 25.6 sec to complete 1 iteration.
i.e 1 user takes 25.6 sec to complete 1 iteration.

2) To achieve 20 iterations in 10 mins with 10 Vusers i,e each user will execute 2 times to make up 20 iterations.
    therefore, (25.6*2) =51.2  sec for 1 user
                   (25.6*2)*10=512 sec for 10 users.

3) In the given 10 mins(600 sec), to execute 20 iterations with 10 users without thinktime and pacing, it takes 512 secs.
   We have remaining (600-512) 88 secs. Ideally, if I distribute this 88 secs into thinktime and pacing in that script, I should be able to achieve my
   goal. But in 10 minutes execution(in Controller), the script was executed more than 50 iterations.

Please correct my understanding.

Oliver Lloyd

unread,
Sep 16, 2011, 12:17:55 PM9/16/11
to LR-Loa...@googlegroups.com, lr-loa...@googlegroups.com
Correcting your understanding: Think Time exists for a reason, that reason is not as a method to pace your requests - therefore your methodology is invalid. Close, as it goes, but wrong nonetheless.

Manik Sikka

unread,
Sep 16, 2011, 1:42:54 PM9/16/11
to lr-loa...@googlegroups.com

Think time comes from the business requirement...

anees a mohammed

unread,
Sep 16, 2011, 9:28:28 PM9/16/11
to lr-loa...@googlegroups.com
Okay, Thanks.
In my above situation, thinktime should be learnt from user activities. Only pacing, can be adjusted to achieve the number of iterations.
Is this correct.

nayeem 503

unread,
Sep 17, 2011, 11:32:56 AM9/17/11
to lr-loa...@googlegroups.com
yes absolutely correct.....:)
Reply all
Reply to author
Forward
0 new messages