Common Issues with HP Load Runner

Some common Load Runner issues and their solutions

Table of Contents

HP Load Runner is a popular automated load and performance testing tool that emulates actual load to check the performance and behavior of a product. Load Runner comprises three important components namely Virtual User Generator (VuGen), Controller and Load Generator and Analysis.

In fact, before we start discussing the ‘common issues’, let’s take a moment to go through the main LoadRunner components in brief as this would make the terms used in this article more meaningful and clear.

Virtual User Generator (VuGen)

For load and performance testing, you need to create scripts for simulating transactions. That is what VUGen does, in fact, it is one of the most important and most frequently used components of LoadRunner. As a scripting tool, VuGen enables you to create specific user scripts that record various transactions. In addition to creating user scripts, VuGen allows the following tasks:

  • VUGen allows you to record or develop scripts.
  • Parametrize the scripts with data.
  • You can add a checkpoint for test conditions.
  • Allows for script debugging
  • You can measure the transaction timings

Controller and Load Generator

The controller is responsible for executing scripts. When VuGen creates user scripts to simulate transactions, the next requirement is the creation of user case scenarios that simulate the behaviour of a user. These user cases or Vusers are executed and managed by the controller from a single workstation. In addition to passing scripts to the Load Generator which executes Vuser scripts, the controller collects the resulting information for analysis.

Result Analysis

HP Load Runner offers analytic tools that enable you to create detailed reports from Vuser logs generated after the execution of tests. You can either analyze reports from a single test or compare multiple tests.

Common issues with Load Runner

While HP Load Runner is a great tool to increase the quality of a product, technical issues can be frustrating as well. Here are some of the common issues experienced while working with Load Runner.

CASE 1 - When you save or compile VuGen scripts, they get corrupted

This is a common issue seen with most versions of LR. This issue is caused when you clean up the contents of the TEMP folder. Most of us use clean up tools that regularly clear up temporary files from the computer. Sometimes, you do it manually as well. With Windows OS, it is a common phenomenon that the original file is saved in the hard drive and a temporary copy is created in the temporary folder when you open any file.

So, when you clear contents of the temp folder while some VuGen scripts are open, the data is lost. When you save or compile the script, it fills the data with garbage.

To prevent this issue, do not clean up the system when you are working with VuGen scripts.

CASE 2 – LR closes or freezes when replaying scripts

This is another known issue particularly with version VuGen 11.04. When you replay scripts, it either freezes or closes automatically. This is because a thumbnail value is enabled in the registry and you need to disable it. To do so :

  • Go to Start -> Run -> RegEdit
  • Navigate to HKEY_Local_Machine -> Software
  • For 32-bit, go to Mercury Interactive -> Load Runner -> VuGen – > Thumbnails
  • For 64-bit, go to Wow6432node – > Mercury Interactive -> Load Runner -> VuGen – > Thumbnails
  • On the right pane, go to GenerateThumbs Key. If the value is set to 1, change it to 0.
  • Close the registry editor and restart the application
CASE 3 – LR Web Recording issues

There are several reasons for the web recording tool to stop recording. Here are few tips to try.

  • Check if the communication between the server and the client application is good.
  • Web recording works fine when the application communicates using HTTP or HTTPS protocols.
  • When Non-HTML elements like JavaScript are used, you have to choose the right option for Non-HTML-generated elements under the HTML recording options.
  • Firewall or Anti-virus programs might interfere with the web recording component as well. Check this aspect.
  • If parasites like Huntbar are installed on the same machine, it will prevent LR from recording. Check this aspect as well.
Tushar Sharma
Tushar Sharmahttps://www.automationdojos.com
Hi! This is Tushar, the author of 'Automation Dojos'. A passionate IT professional with a big appetite for learning, I enjoy technical content creation and curation. Hope you are having a good time! Don't forget to subscribe and stay in touch. Wishing you happy learning!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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

Recent Posts

RELATED POSTS

Performance Testing on Firewall-Protected Networks

HP Load Runner is the most popular tool from HP for performance, load and stress testing tasks. Using the LR, you can check different...

How To Record Using BlazeMeter Plugin (JMeter)

Honestly speaking if you already have a mature or established process using 'native' JMeter from Apache, without any kind of wrappers utilities or third-party...

Finding Web Elements with Selenium

I'm going to explain in this tutorial about the usage of the findElement and findElements method of Selenium Webdriver on the Chrome web browser....

Â

RECENT 'HOW-TO'

How To Install Oh-My-Posh On Windows PowerShell

Oh-My-Posh is a powerful custom prompt engine for any shell that has the ability to adjust the prompt string with a function or variable. It does not...

SIMILAR ON CODEX

FEATURED PROJECTS

SEPA Bulk File Generator and Validator

ADjo LABS PROJECT: SEPA Bulk File Generator and Validator. Supported File Types PAIN008, PAIN001, PACS003 and PACS008. Tested for supporting PAIN.008.001.001 and PAIN.008.001.002 (version 1&2). The XML...

MORE IN THIS CATEGORY

Best Practices For Evaluating Automation Tool

With rapidly changing financial conditions, businesses face the tough challenge of optimizing resources to produce maximum results. Choosing the right automation tool for functional...

A Prologue For HP Load Runner

Performance testing is one of the important processes of the software QA segment. While the application is efficiently designed and tested for functionality, it...

Performance Testing on Firewall-Protected Networks

HP Load Runner is the most popular tool from HP for performance, load and stress testing tasks. Using the LR, you can check different...

CHECKOUT TUTORIALS

Java Tutorial #2 – Operators in Java

Table of Contents Introduction 1. Assignment Operator 2. Arithmetic Operators 3. Compound Operators 4. Increment & Decrement Operators 5. Relational Operators 6. Logical Operators Introduction Operators are an essential...
- Advertisement -spot_img