PerfMatrix Site Link: https://www.perfmatrix.com/tps-calculator/
You can easily calculate Think Time by providing available inputs. Kindly use 0 (zero) in the respective fields in case of pacing think time:
Calculate Think Time:
No. of Users =
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) =
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.
^ Delay between two iterations
Note: If you have 5 transactions, then think time function/element will be used 4 times like below:
You can easily calculate Think Time by providing available inputs. Kindly use 0 (zero) in the respective fields in case of pacing think time:
Calculate Think Time:
No. of Users =
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) =
Average Think Time between each transaction (in seconds) =
* 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 Iteration in an hour =
No. of Transactions in 1 Iteration (in seconds)=
Transactions per second (TPS) =
^ Delay between two iterations
Start of Iteration
↓
Transaction 1
Think Time ()
Transaction 2
Think Time ()
Transaction 3
Think Time ()
Transaction 4
Think Time ()
Transaction 5
↓
End of Iteration
Related Topics:
What is the formula you used for total think time?
ReplyDeleteHi Nadeem,
DeletePlease refer my below blog:
http://perfmatrix.blogspot.com/2017/03/think-time.html
1)will client provide these values ->Total Iteration in an hour & No. of Transactions in 1 Iteration (in seconds) if not then what are the sources to get these values.
ReplyDelete2)And what values will be usually provided by client?
3) will End 2 End Response Time (in seconds) means the expected response time or the response time we get after running for 1 user?
1a. Total Iteration in an hour - Yes. For example you have an e-commerce application where 2000 orders are placed every hour with an average of 200 users. In this case 10 would be the iteration count in 1 hour.
Delete1b. No. of Transactions in 1 Iteration - No need to take this from client. This count you will get from your test script.
2. Ideally, Number of user load, expected response time and target TPS
3. It is an expected response time to complete 1 iteration.
thank you so much
Delete