PerfMatrix Site Link: https://www.perfmatrix.com/virtual-user-calculator/
You can calculate no. of VUsers (Threads) by providing available inputs. Kindly use 0 (zero) in the respective fields in case of no pacing or think time. Calculate No. of VUsers (Threads):
End 2 End Response Time (in seconds)* =
No. of Transactions in 1 iteration# =
Transactions per second (TPS)$ =
Pacing (in seconds)^ =
Total Think Time (in seconds)~ =
No.of VUsers (Threads) =
where,
* Time to complete 1 iteration
# e.g. HomePage, Login, Search, Logout etc.
$ If you already have this number then well and good. In case you do not have TPS then calculate like this.
Total no. of Iterations in an hour =
No. of Transactions in 1 Iteration (in seconds)#=
Transactions per second (TPS) =^ Dealy between two iterations
~ Total think time is the sum of all the think time used in the script
Related Topic:
- Pacing Calculator
- Think Time Calculator
- TPS Calculator
- No. of required LG Calculator
- Test Data Calculator
Good One Gagan!
ReplyDeleteGagan..It was really awesome..but can elaborate the logic it might be useful..if possible please consider my request.--Thanks!
ReplyDeleteLogic is based on basic formula:
DeleteNo. of Users = Response Time * TPS
this is for without pacing right.please correct me if wring
DeleteHi Manju,
DeleteResponse time includes Pacing, Think time and End to end response time. If I mention all these 3 terms in the formula then it would be like this:
No. of Users = (End to End Response Time + Pacing + Think Time) * TPS
what is end to end response time?
ReplyDeleteEnd to end response time is a sum of response time of all transactions.
ReplyDeleteExample:
Login: 2 sec
Search: 5 sec
Order Submission: 4 sec
Logout: 1 sec
So, end to end response time will be 12 sec.
If end to end response time is varying then you have to use dynamic pacing, so that required throughput can be achieved.
Hi Gagan, how to calculate dynamic pacing based on changing response time?
ReplyDeleteHi Sri,
DeleteRefer the below blog and choose 3 options which is explained in the blog.
http://perfmatrix.blogspot.in/2017/03/hp-loadrunner-runtime-settings-pacing.html
Hi Gagan,what is mean of no. Of transactions?
ReplyDeleteTransactions like HomePage, Login, Logout etc.
DeleteHi Gagan ,I use the formula which is mention by you
ReplyDeleteNo of user = Response time * TPS
Response time =15 s
TPS = 0.860 s
According to your calculator it show 2.15 user and my calculation show 13 user .
Please correct me
Hi,
DeleteEven I am getting 12.9 (~13). Kindly use proper value for No. of transaction, pacing and think time. I used below values:
End 2 End Response Time (in seconds)* = 15
No. of Transactions in 1 iteration# = 1
Transactions per second (TPS)$ = 0.86
Pacing (in seconds)^ = 0
Total Think Time (in seconds) = 0
No. of Users = 12.9
I have doubt like how can we calculate vusers without knowing the application and infrastructure of application. In one of your explanation say you have users 13 on what base you have calculate it please let us know .
ReplyDeleteHi Rayini,
DeleteMay I know in which post you have read 13 Vusers? so that I can explain you better.
This is simply awesome !
ReplyDeleteyou have created all these calculators?
Thanks a lot!
DeleteHi Gagan,
ReplyDeleteMy end to end response time is 0.04 seconds which includes 2 API calls (let's consider this as 2 transactions). No think time and pacing
TPS rate is 0.42 which is known
When I used your calculator, it says the number of users required is 0.0084
But when I apply your logic which I think is based on Little's Law i.e.,
No. of Users = Response Time * TPS
No of users = (0.04+0+0) * 042 = 0.016
Can you please tell me what I am missing here? Correct me if I am wrong
Please use below calculator:
ReplyDeletehttps://www.perfmatrix.com/virtual-user-calculator/