LoadRunner – Runtime Settings

LoadRunner Runtime Settings

LoadRunner Runtime Settings set-up the inputs for the test execution. It defines a way to run the Vuser script during the performance test. As the name suggested, these settings guide and control the test execution at the runtime in the controller or performance center. After enhancing VuGen script with correlation,  parameterizationtransaction handlingrendezvous point and script logic, you need to set-up the runtime settings before uploading the script in the controller/performance center.

How to set the Runtime Settings in LoadRunner?

Once you record the script, default runtime settings are applied to the recorded script. There are 3 ways to open the Runtime Settings:

  1. Using Solution Explorer
  2. Using VuGen Menu
  3. Via Shortcut Key

1. Using Solution Explorer

By default, Solution Explorer is available in the left pane of VuGen. The components are shown under Solution Explorer in the tree structure. You can expand the tree and get the ‘Runtime Settings’ option.

Runtime Settings under Solution Explorer
Figure 01: Runtime Settings under Solution Explorer

2. Using VuGen Menu

Another way to open the Runtime Settings option is VuGen menu bar. Go to ‘Replay’ tab and get the ‘Runtime Settings’ option in the list.

LoadRunner - Runtime Settings Option
Figure 02: Runtime Setting under the Replay tab

3. Via Shortcut Key

Press ‘F4’ function key on the keyboard to open Runtime Setting window.

LoadRunner - Runtime Settings
Figure 03: LoadRunner – Runtime Settings

The main purpose of Runtime Settings is to set-up the script execution logic, to enable the logs to find out the dynamic values for correlation, to add pacing, think time and many more things which are listed below in the blog. LoadRunner store the Runtime settings in a file located in the Vuser script folder and applied to Vusers while running the script using VuGen, the Controller or Performance Center. Runtime settings also help to emulate real-world user behaviour during the test run. To make the runtime setting reusable, you have import and export option. You can export the settings to a JSON file and import into another script.

Runtime Settings Options:

1. General

  • Run Logic: It provides an option to arrange the sequence of actions and define the number of iterations
  • Pacing: To insert a fixed or random delay between iterations 
  • Log: This option helps to define when and what logs to be stored. You can instruct VuGen/Controller how much information to store and situation when logging starts
  • Think Time: To insert a fixed or random delay between transactions
  • Additional Attributes: Using Additional Attributes, you can add a parameter to the script and has the flexibility to change the value through run time settings. These parameters are as same as the declared parameter within the script.
  • Miscellaneous: This helps to configure settings related to Error Handling, Multithreading and Automatic Transaction. 

2. Browser

  • Browser Emulation: It helps to configure browser settings like cache etc.

3. Network

  • Speed Simulation: It helps to configure network speed by setting-up bandwidth value 
  • Streaming: To set-up video buffer timeout and retries

4. Internet Protocol

  • Content Check: It is helpful in finding known errors anywhere in the script while execution
  • Proxy: Through the Proxy setting, a custom proxy server can be set
  • Preferences: It deals with the checkpoint, Performance graph and advanced setting
  • Download Filters: To filter out unwanted request coming from any server or with a URL

5. Data Format Extension

  • Chain Configuration: This setting helps to configure Data Format Extension during code generation
  • Advanced: To add external JRE

Leave a Reply

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