In this article, you are going to learn about what is Load Generator Calculator and how to calculate the number of virtual users that can run on load generator machine with step by step screenshots. Quite many of you might have heard about this utility. This Load Generator Calculator was introduced in HP LoadRunner 12 package. This utility will help you to calculate how many virtual users that can run on a Load Generator machine for the specified script.
Purpose of Load Generator Calculator
The main intend of this calculator is to calculate the number of virtual users that can run on load generator machine for the particular script and by specifying the memory and CPU parameters.
How to launch Load Generator Calculator?
Load Generator Calculator is hidden in the following path: C:\Program Files (x86)\HP\LoadRunner\bin\HP.LR.LG.Calculator.exe
Below is the snapshot of it.
How to use Load Generator Calculator?
There are three fields you need to fill in before you hit Start Estimation button.
- VuGen Script
- IP addresses or host names
- CPU and/or Memory
Click on the highlighted button to specify the script path as shown below.
Next, you need to specify the IP addresses or host names as shown below. You can enter multiple IP addresses as well by pressing the enter key.
Third step is, you need to specify the CPU and/or Memory limits (in bytes) by double clicking on the checkbox.
In this example, I checked only CPU threshold at 70%. Now, hit Start Estimation button. Once you hit that button, the calculator will start connecting the LG machines and displays the log instantly.
Once the estimation is done, it will display the results in Results multi-text box as shown below. In this example, it is displaying the error message as expected. But if you use the tool in your organization network, if you have right setup, it will give you the calculated output.
You can save the log in text format by clicking on Save log button. The output varies, the protocols used in the script, business processes involved in the script and the resources such as CPU and Memory available in LG machines.
Your turn: please give it a shot and let me know your experience of using this calculator.