pacing formula

52 views
Skip to first unread message

suresh venkata

unread,
Apr 15, 2012, 2:17:54 AM4/15/12
to LR-LoadRunner
Hi
Can anyone send how to calculate pacing i.e. formula?need answer.

--
Thanks & Regards
Suresh
 

Rajesh Ananthaiah

unread,
Apr 15, 2012, 1:56:29 PM4/15/12
to lr-loa...@googlegroups.com

Declaration:

D = Duration of the test(test window/time frame)
 
B = Baseline time(total time taken by 1 Vu to complete 1 whole iteration)

T = Total amount of Think time in the script

I = Expected/Target iteration

R = Residual time of the test window.

R = ( D - (T + B)*I)
 
P = Pacing interval

Dividing the residual time by target iteration gives pacing interval

Hence:
P = R/I 

Please refer !! 






--
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



--
Thanks
Rajesh


Mital Majmundar

unread,
Apr 15, 2012, 9:40:31 AM4/15/12
to lr-loa...@googlegroups.com
Hello Suresh,
 
A simple crack to calculate pacing is to know how many times you want a particular activity to be happening in an hour.
 
Assume the following situation were we want an online activity to occur 5 times in an hour by 2 business users then round the activity to 6 times an hour and divide the activity by no. of users available, here 2 which is 3 for 1 user.
 
This brings us to a situation were 1 user needs to complete the activity thrice so dividng the 60 mins (1 hour) by 3 we get 20 mins. Which essentially means 1 user has to complete activity once in 1200 secs (20 mins). So this should be your pacing selecting the second option in the pacing preferences.
 
Selecting second option means that a user will start the activity and complete it in 1200 secs regardless of what the thinktime is, provided the fact that the iteration itself does not take 1200 secs of times, which is not the case in most of the cases.
 
 
--
Njoy
 
Mital.


DurgaDevi Srinivasan

unread,
Apr 15, 2012, 10:25:39 AM4/15/12
to lr-loa...@googlegroups.com
     
    Pacing = ( (Total Duration)-(Time taken for single Iteration) * (No.Of Iterations))%(No.Of Iteration-1) 
      
    Example 
                Users: 2 
                Iterations: 3 
                Single Iteration Time: 155 sec 
                Pacing= ((3600-(155*3))%(3-1) 
                        =1567 sec

Thanks & Regards
N S Durga Devi

bhargav m

unread,
Apr 15, 2012, 10:33:33 AM4/15/12
to lr-loa...@googlegroups.com
hi 


if

D = Duration of the test(test window/time frame) 

B = Baseline time(total time taken by 1 Vu to complete 1 whole iteration) 

T = Total amount of Think time in the script 

I = Expected/Target iteration 

R = Residual time of the test window. 

R = ( D - (T + B)*I) 

P = Pacing interval 

Dividing the residual time by target iteration gives pacing interval 
Hence: 
P = R/I 


On Sun, Apr 15, 2012 at 11:47 AM, suresh venkata <sures...@gmail.com> wrote:
Thanks & Regards
Suresh
 

--
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



--
--
(¨`*.*´¨) Always
`*.¸(¨`*.*´¨) Keep
(¨`*.*´¨)¸.*´ Smiling!
`*.¸.*´

Bhargav

bhargav m

unread,
Apr 15, 2012, 10:34:47 AM4/15/12
to lr-loa...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages