Today i will share my understanding on “Pacing”.
Usually people take pacing as think time only. I
will try to explain both terms first
Think time and Pacing, both are a kind of “wait” or
“delay” in terms of time but still both differ from each other.
Think time: Think Time is the time or delay which
user can take between two actions
For example, User opens a URL by pressing “Enter”
and login page appears but to enter user name or password user is taking some
time like copying from other place or remembering it or something like that. This
wait or delay we can term as think time in load runner. Think time can be
inserted by user in script or captured by tool itself
Whereas, Pacing is the delay between two iterations
of test. We can give pacing time by using “Runtime Settings” of load runner
tool.
We can calculate Pacing/Think time: Let’s see how?
Calculation:
Just suppose that you have to achieve “50 transactions
per second in avg. response 0.5 sec for 100 users in 1 hour” as goal of
load test, so how much pacing or think time we should give in our script.
1 hour= 3600 sec
Expected Total Transactions = 50*3600=180000 trns/hour
by 100 Users
Each user will perform 180000/100=1800 transactions
per hour
1 transaction is taking avg 0.5 sec so 1800 transaction
will take = (1800*0.5)/60=15min
Now think time will for this run will be =60-15= 45
min =2700 sec
1800 transactions in 2700 sec so one transaction
will take = 1.5 sec ( this think time we need to include)
Total time to complete one iteration = 0.5+1.5=2 sec
(avg)
Lets cross check our calculation:
1800 transaction * 2 sec= 1 hour (Achieved)
Hope this will help you guys.
image source : Google
Happy Exploring!!!!
how u got 2160 number transaction
ReplyDeleteHi Abishek,
DeleteThat was typo!!!
I have updated this one. Thank you for visiting and comment
what is the pacing time you have got.?
DeleteThis is the precise weblog for anybody who needs to seek out out about this topic. You notice so much its almost arduous to argue with you. You positively put a brand new spin on a subject that's been written about for years. Nice stuff, simply nice!
ReplyDelete