Questions tagged [loadrunner]

LoadRunner is a commercial performance testing tool supplied by HP. It has a long and varied history resulting in its support of over 30 different interfaces, multiple languages for script creation and a promiscuous non-agent based model for monitoring systems.

LoadRunner is a commercial performance testing tool owned by Hewlett-Packard. LoadRunner's history began in 1994 with a small console to control X-Runner sessions running on X-Windows workstations.

LoadRunner's interface and platform evolution has followed the changes in the industry. By version 4 the LoadRunner controller was available for execution on Windows, including control of WinRunner clients and custom programmed API virtual users. The UNIX Controller continued to be available on multiple platforms though version 5 and was retired when the Windows based controller gained the ability to control UNIX/LINUX based load generators with version 6 of LoadRunner. Version 6 saw the inclusion of the analysis engine and version 8 500 points of SiteScope to handle unified monitoring. Versions numbers 10.x of LoadRunner were skipped altogether in favor of moving from 9.5x directly to version 11 of LoadRunner, announced in the summer of 2010.

LoadRunner supports a varied number of interfaces, many of which have a historical basis in how client server computing has changed over the past two decades. The current version of LoadRunner supports QuickTest Professional exclusively as a GUI Virtual user, leaving behind the support for WinRunner and XRunner. Interfaces as varied as Windows Sockets on the bottom end of the stack and RDP/Citrix at the top end are available. IN between these layers are sandwiched protocol support for databases, distributed computing models, web technologies, specific applications and language templates for times when no in-the-can support exists. With LoadRunner version 9.5 a protocol SDK became available to allow customers to build a custom integration for applications not supported in the as-shipping release of LoadRunner. 2010/2011 saw the beta deployment of a cloud based version of LoadRunner on Amazon Web Services.

LoadRunner's primary development language is 'C,' initially chosen for its light weight and availability across the variety of load generator platforms supported by the tool (UNIX & Windows). With the movement of UNIX vendors away from shipping a compiler with each copy of the UNIX operating system, Mercury moved towards the inclusion of LCC, the lightweight cross platform C compiler: More information on LCC can be found at http://www.cs.virginia.edu/~lcc-win32/ .

While C is the primary language of the tool, LoadRunner supports a number of additional languages for script creation:

  • VB
  • VB Script
  • Java
  • JavaScript
  • C#

The degree to which one scripting language may be used over another is governed by the protocol or interface in use/under test.

With its wide range of protocol and language support the sweet spot for LoadRunner has been the enterprise sale, where Gartner and other analysts have recognized a dominant market position for LoadRunner in the past. LoadRunner faces market challenges from smaller commercial providers and open source tools that cover single interfaces or subsets of interfaces of LoadRunner, but not the complete suite that is currently supported. LoadRunner also benefits from a robust ecosystem of web sites and support locations, owing to its longevity and position in the market.

Cost is the most common criticism of LoadRunner, not technical capability.

The market for LoadRunner talent is a challenging one. While many resumes exist on the market the vast majority of these resumes are tied to individuals with few foundation or tool skills. The performance market over the past ten years, from 2001 to 2010, has experienced an odd economic condition: While the market is expanding and the number of suppliers has not been able to keep pace, the compensation rates have been dropping. Economists note that in a resource scarce environment the price of a resource will rise to reflect it's scarcity. This has not happened in the market for performance testing skills. Dropping rates in a resource scarce environment reflects an average value of the resource which is declining at a rate faster than the expansion of the market.

The economic contraction from 2009 onward has impacted the mobility of the mature LoadRunner practitioners in the market, resulting in a high number which are location locked and some LoadRunner positions going empty for up to a year because of a lack of local talent to fill the need. Remote work models have been increasingly used to allow for remote mature performance test personnel to fill the need for skills at distant organizations. Lead times to find qualified individuals for staff positions extend to months as solid engineers have 'gone to ground' in fixed positions to ride out the down economic cycle.

The ability to find skilled individuals to staff a performance test practice is the single largest determinant of a positive or negative return on investment for tool purchase and deployment whether that tool is commercial or open source. Unskilled individuals take five to ten times longer to deliver a given test artifact at a lower overall level of quality. This results in an introduction of risk into the last risk gate prior to the deployment of a new application.

1237 questions
1
vote
0 answers

Facing issue while trying to record a mobile native application using Loadrunner with VPN

I'm facing an issue while trying to record a mobile native application using Loadrunner (Remote application via Loadrunner proxy). I am using a client provided laptop / mobile devices for testing. Initially, I was not able to record the mobile app…
JoJill
  • 11
  • 1
1
vote
1 answer

LoadRunner does not Record the Events of Localhost

I'm using LoadRunner 2021 with Edge as the browser. LoadRunner can record all the events and generate scripts but fails when the url is based on "localhost" or "127.0.0.1". Moreover I checked the "HTTP Properties/Advanced/Proxy recording…
Rossil
  • 67
  • 5
1
vote
0 answers

Loadrunner if LR_Fail exclude from write to file

Okay so I am attempting to create a utility script that will generate a bunch of users for my testing purposes. If the script passes I need the output to write to a file. Like this At the end of the script action, if the transaction - …
1
vote
0 answers

Type error in argument 1 to `lr_save_string'; found `int' expected `pointer to const char'

I am having an issue with my script. The whole picture is that I get a param from response body, replace all "%2" character by "%252". After that I will put it to another request body. The replace character under is what I got from gg searching, it…
Studier
  • 11
  • 1
1
vote
2 answers

upload same file with different name each time in Load Runner

I need to upload an excel file in load runner HTTP/HTML script with unique filename each time. The file must present in the directory. Copying files and renaming them will be more manual task. Can anyone tell me is there any automated way to do…
JMeter_User
  • 203
  • 3
  • 17
1
vote
2 answers

JMeter Script- Connection timed out

I am receiving the below error when trying to run a JMeter script . The API works fine in Loadrunner . I had set the https.default.protocol=TLSv1.2 in user.properties for the SSL version. What could cause the below error…
Devika
  • 21
  • 1
  • 6
1
vote
3 answers

How to handle TPS in JMeter / Load Runner

I have an HTTP request which contains messages (json body). I need to achieve 1000 messages/sec throughout the load test. But I also need to randomize the number of messages (with different combinations like 100 messages in one HTTP Request, 200 and…
JMeter_User
  • 203
  • 3
  • 17
1
vote
1 answer

Is there a way not to include file path drive names like C:, D:, during upload documents in VuGen?

I have recorded a VuGen script where a user is uploading a document. The script records fine but during replay getting http 400 error. Upon further investigating I found that the environment I'm testing have a validFileNamePattern setting that…
1
vote
1 answer

Execute loop controller for every 10 seconds in Jmeter

I need to execute few HTTP Requests for a regular interval of every 10 seconds during test. I added them to loop controller. Is there any way to do this in JMeter or LoadRunner?
JMeter_User
  • 203
  • 3
  • 17
1
vote
0 answers

In Loadrunner, is there a way to run HTML requests in parallel?

When I check the calls' waterfalls in dev tools, there are 3 calls that run in parallel (roughly) to each other. I understand resources can be loaded in parallel with "concurrent", but I couldn't find a way to run these HTML calls in parallel. Is…
1
vote
1 answer

In LR analysis report . How do i filter average response time only for passed transaction?

In LR analysis report . How do i filter average response time only for passed transaction ? If i use the filer as "PASS" i dont see any change in the average response time. [WithFilter "PASS"] Average Response time is…
Kili
  • 55
  • 1
  • 4
1
vote
1 answer

Click on a link beside text in TruClient

We have a page where with dozens of rows listing cases that we have created. We have named the cases unique so we can use a loop in TruClient to scroll down the page until we find that text. Our page has us then clicking on the link to the left of…
Brian Folan
  • 205
  • 2
  • 9
1
vote
1 answer

LoadRunner 12.00 - Error: Server Handle has not been allocated (NULL)

I have recorded a script using Oracle 2 Tier protocol in LoadRunner 12.00. Here's a small snippet of the code where the script fails: lrd_init(&InitInfo, DBTypeVersion); lrd_initialize_db(LRD_DBTYPE_ORACLE, 1, 0); …
Aayush Pathak
  • 159
  • 11
1
vote
3 answers

How to pick unique value from CSV file in Jmeter distributed testing

when we run JMX file in multiple remote hosts, we need to copy all the parameter files to all the hosts, in this case there will be no uniqueness as parameter file will be available in all the hosts and will be picked up locally. I need to use…
1
vote
3 answers

Real Browser based load testing or Browser level user testing

I am currently working on multiple Load testing tool such as Jmeter, LoadRunner and Gatling. All above tool works upon protocol level user load testing except TrueClient protocol offered by LoadRunner. Now something like real browser testing is in…