Example:Volume defined as : 400 transcation per hour needed by businessVuser Load : 8Total no of transcation in a script: 5Think time in script: 10 secExecution duration in hours: 1 hour to runTime taken by 1Vugen in 1iteration: 30 secWhat will be the right pacing for the same, if some one can explain with desciption it will great helpif any excel with calculation on the same i can get will do wonders for me :)thanx--
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
while calculating pacing, we can consider wrapper transaction (Action as one transation), Total Think Time & TPS
400 transactions per hour required by business in 1 hour by 8 virtual users.
So 1 virtual user should be doing 400/8=50 transactions.
Now, 1 v user is doing:
1 iteration in 30 secs
Hence, in an hour 1 v user does 120 iterations, which is 70 more than required.
So you need to adjust time of 70 iterations, which is 70*30=2100 secs.
So the efective pacing would be 2100 secs.
I suggest you go for a random pacing of 2000 to 2200 secs of pacing with third option selected which also takes into account the think time you havw provided.
Let me know in case of any issues about the above explanation.
Mr. Majumdar, u r confused with transactions and iterations. Check out once again. 2000 seconds of pacing, does that make sense.
Hello Adil,
Yes i think i missed tht point of transactions and business process. But i guess i gave a fair idea of how to calculate pacing.
True.
That's a bottom up approach.
Response times are ignored.
Are you sure that a single iteration will take the same time for a single run in VuGen as compared to an 8 user run in Controller? If the response times change, the pacing will also need to be changed.Ashish
On Friday, July 6, 2012 7:02:04 PM UTC+5:30, shakti sareen wrote:
@ashish - Selecting the third option in the pacing selector can prevent what you are suggesting. The third option in pacing means the one in which it will wait for a given amount of time no matter when it finishes. Supposing that the iteration gets completed in 60 secs max, the pacing that we have provided is 366 secs . So it wait for rest of the time and then start the second iteration.
Bala, u r wrong. Think again.
Pacing should be 30 sec.Here 400 transactions should processed per 1 hour(3600 Sec) with 8 Vusers.So each user should process 50 transactions (i.e. 400/8 = 50 tran/1 user).1 iteration = 5 transactions ( as shakti sareen said)10 iterations = 50 transactions.So 1 user should process 10 iterations.Then 8 users should process 80 iterations.time to execute 1 iteration is 30 sec.time to execute 10 iteration is 300 secs.so time to execute 80 iterations is 2400 secs.we have 1 hour. i.e. 3600 secremaining time is 3600-2400=1200 secso all 80 iteartions should share remaining 1200 secs.1200/80 = 30 sec.So Pacing should be 30 sec if we ignore response times. Bcoz some times response times vary for iteration to iteration.Please correct if i am wrongThanksBala
Adil,If you give 366 sec as pacing, it is around 6 mins.we have 1 hr execution time i.e. 60 mins
time to execute 1 iteration is 30 sec.
if we execute the script for 10 iterations, the time it took is 300 sec(5 mins).if we give pacing 6 min, for 10 iterations it would be 54 minsSo if we execute 10 iterations, the total execution time + pacing (5 min + 54 min) = 59 mins....(almost 1 hour).1 iteration with 1 user = 5 transactions1 iteration with 8 users = 40 transactions10 iterations with 8 users = 80 tranactionsso in 1 hr 80 transactions are processing here....but we have to process 400 transactionsAdil is this correct?-- Bala
On Friday, 6 July 2012 19:02:04 UTC+5:30, shakti sareen wrote:Example:Volume defined as : 400 transcation per hour needed by businessVuser Load : 8Total no of transcation in a script: 5Think time in script: 10 secExecution duration in hours: 1 hour to runTime taken by 1Vugen in 1iteration: 30 secWhat will be the right pacing for the same, if some one can explain with desciption it will great helpif any excel with calculation on the same i can get will do wonders for me :)thanx
--
Der u go shakti. Calculated right but that should be div by 9.
To find out pacing basic formaula which can be used based on condition i have given is :Total Duration/Kwhere K= Transcation Per Hour/Total No of VusersHence K= 80 / 8= 103600/10=360 pacing (this is not the accurate pacing, but near by which is required, easy way)
Adil, you are right.....pacing is 366 sec..... I did wrong calculation.
Thanks bala.
Rishu, please look up for calculations been done by engineers. You will get an idea.
Regards,
Adil
X= users
Y= transactions per hour
Now convert transaction per hour into transactions per second i,e
Z= Y/3600
Now pacing P= X/Z seconds.
Thanks,
Arjun
I have a feeling that you posted it wrong.
Assuming that 400 txns/hr includes all the transactions (5) in your script and the total think time in your script is 10 secs, here is my analysis.
400/8 users = 50txns/ user
1hr = 3600 sec
3600/ 50 txns = 72 secs
So, use the pacing type: After the previous iteration ends with a fixed/random delay and use 72 seconds.
Done !