This calculator gives a fixed pacing value (i.e. a delay between two iterations) to design an accurate workload model. Calculate the pacing value for workload modelling by providing the required inputs.

*Note: Bookmark this page for quick access*

## Example:

**Requirement:** A company with an e-commerce website expects 9000 orders per hour. The company has 3000 registered users, but only 600 customers are active at a time. A customer takes around 300 seconds to place an order. Now, the company wants to check whether the website can handle 600 customers load at a time or not?

**Workload Modelling:** A performance tester needs to design the workload model for the above requirement. After completing the script, he replays the flow and finds that one iteration takes around 90 seconds. He adds 10 seconds think time between each pair of transactions and the sum of all the think times is 110.

The given number of orders per hour is 9000, hence the test needs to complete 9000 iterations with 600 users. To achieve this number accurate pacing needs to be added in the script. The above-given pacing calculator will provide a correct value of pacing:

- No. of Users (Threads): 600
- End to End Response Time (in seconds): 90
- No. of Iterations per hour: 9000
- Total Think Time (in seconds): 110

The calculated Pacing is 40 seconds. It means that a delay of 40 seconds will require between two iterations to place 9000 orders with 600 user load in one hour.

## 14 Responses

what is the formula to calculate the pacing value?

Here having wonderful calculator is available but i would like to know how its doing?

Regards,

Sakthi

Hi Sakthi,

This calculator is based on Little’s law and the same formula is used.

Hi,

Thanks for such helpful content.

Could you please share the formula you are using to calculate Pacing Time.

Thanks.

Hi Sagar,

The calculator is based on Little’s law.

Can you please show me how you have used the Little’s Law Formulae by taking any example….

…..Please..

Hi Chandan,

You can refer to this video. It explains the calculation of User Load using Little’s low, but you will get an idea of calculating the Pacing.

YouTube Video

Hi ,

Hi i am seeing negative pacing value in pacing what would be reason for that.

Hi Laxmikant,

It means that your input (NFR) does not satisfy Little’s law. You need to provide realistic values. For example, if you want to calculate the pacing by providing 1 user with 100 seconds end-to-end response time for 100 iterations per hour then pacing will be negative, because such a scenario is practically impossible.

Hello

just wanted to understand what if based upon input parameter i get negative pacing ?

for exmaple :

If i have given below inputs in the tool i get pacing as -8.5 , What i can interpret from this negative pacing ??

Number of users 100

End to End Response Time in (Seconds) 0.5

Iteration per hout 180000

Total Think Time in Second (0 for no think time) 10

Calculated Pacing -8.5

Hi Sumit,

It means that the given values do not satisfy Little’s law and figures are unrealistic. In your case, 10 seconds think time is too much which you can control.

please suggest how to do that:

Please calculate pacing for the below requirement:

#concurrent users: 5000

5 scripts – concurrent users split is 10%, 25%, 20%, 25% and 20%

Volume per hour: 15000, 25000, 2000, 40000, 30000

#transactions per iteration: 5

Timetaken for 1 iteration : 60, 80, 70, 30, 50 seconds.

Hi Prateek,

As you mentioned transactions per iteration is 5, so does it mean each script has 1 transaction?

Yes. How to calculate ?

Can any one tell me the Pacing and Think time without giving the Iteration time.

We were given only Response time and Users and TPS, based on it, we need to calculate the pacing.