HP, LoadRunner, Performance Testing, Testing, Tools

Understanding Pacing in LoadRunner Runtime Settings

In this blog post I am going to explain about Pacing in LoadRunner in detail. One of the important runtime settings is Pacing in LoadRunner.

What is Pacing?

Pacing helps you to control the time between iteration. This node is application only to specific set of protocols.

Where to find pacing settings in LoadRunner?

Press F4 key, click on Pacing under General as shown below.

Runtime Settings - Pacing in LoadRunner
Runtime Settings – Pacing in LoadRunner

What are all the options available in Pacing?

There are three options available for Pacing settings which as follows:

  1. As soon as the previous iteration ends
  2. After the previous iteration ends
  3. At intervals

Consider that you have an action called Book_Ticket which will perform following actions: Login, Book a Ticket, Checkout and Logout. The duration of the action is 7 seconds. Assume vuser_init and vuser_end are blank.

Selecting As soon as the previous iteration ends

If you select As soon as the previous iteration ends option, LoadRunner will start the next iteration immediately after completing previous action.

This setting will be ideal for Unit Testing and Stress Testing.

Selecting After the previous iteration ends

This option allows you to select fixed/random delay. Minimum delay (in seconds) is 0 and the maximum delay is 32000.

Assume that you have specified at fixed delay of 10 seconds, this will instruct LoadRunner to induce a fixed delay of 10 seconds even though the iteration completes by 7 seconds.

Selecting At fixed/random intervals

This option allows you to start a new iteration at fixed/random intervals for every ā€˜nā€™ seconds. If you set 10 seconds, iteration will get started for every 10 seconds i.e. in 1 minute 6 iterations would have been completed. Minimum delay (in seconds) is 0 and the maximum delay is 32000.

This setting will be ideal if you want to focus on throughput rather than other factors.

Important Note: Iterations will only begin when the previous iteration is complete.

Watch QAInsights Promo Video

Subscribe to our Free Weekly Newsletter

Once a week we send a digest with the most popular articles.

2 Comments

  1. Could you please explain how to calculate pacing time based on throughput ,no of users and no. of transactions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Check out my latest Udemy course `Performance Testing using TruWeb` - Use QAINSIGHTS2018 coupon for 25% off BUY NOW