Here is my understanding:
I have a script with 5 transactions.
In order to execute 20 iterations in 10 mins(600 sec) with 10 Vusers.
I did the following:
1) Executed the script in controller with 2 users- 2 iterations, without thinktime and pacing, to get the approx time to complete 1 iterations(took the average transaction response time of 2 users 2 iterations and added up all) - It took 25.6 sec to complete 1 iteration.
i.e 1 user takes 25.6 sec to complete 1 iteration.
2) To achieve 20 iterations in 10 mins with 10 Vusers i,e each user will execute 2 times to make up 20 iterations.
therefore, (25.6*2) =51.2 sec for 1 user
(25.6*2)*10=512 sec for 10 users.
3) In the given 10 mins(600 sec), to execute 20 iterations with 10 users without thinktime and pacing, it takes 512 secs.
We have remaining (600-512) 88 secs. Ideally, if I distribute this 88 secs into thinktime and pacing in that script, I should be able to achieve my
goal. But in 10 minutes execution(in Controller), the script was executed more than 50 iterations.
Please correct my understanding.