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
2
votes
2 answers

Executing LoadRunner scripts with different number of Users for each scenario/Function

I'm a newbie to the Loadrunner Tool. I have four different scenarios which are recorded in separate functions. Now what I have to do is to run the four scenarios with different number of users. For Eg., I have 4 scenarios like scene 1, scene2,…
Udhay
  • 71
  • 4
  • 15
1
vote
1 answer

How does LoadRunner recognize that data has been returned?

If I e.g. record an action that is querying database and the result is returned after 1 minute, how does Loadrunner recognize this? Because it appears in the communication between client and server? Thanks
John V
  • 4,855
  • 15
  • 39
  • 63
1
vote
3 answers

Load Runner:How to jump to the "vuser_end" from "Action"

My Load Runner test project is intend to initialize 500 virtual users and then run 50 virtual users.So i wrote the script below in the "Action" function to let 450 virtual users jump to the "vuser_end". int…
Sharp Kid
  • 135
  • 1
  • 4
  • 14
1
vote
4 answers

get request parameter from url in HP loadrunner

I am using HP loadrunner for my automatic tests. Every time, when i run my application, it creates some transfer and also generates id in URL. How can i get the id from URL? Thanks in advance!
Vardges
  • 197
  • 3
  • 8
  • 21
1
vote
3 answers

running two scenario at same time with loadrunner

Can we run two scenarios at same time with loadrunner? E.g. Suppose there are 50 user and I have to generate script such that 25 user accessing login and order modules and other 25 user just browsing the site. Is it possible to generate such…
Rohit Ware
  • 1,982
  • 1
  • 13
  • 29
1
vote
3 answers

What differentiate virtual users / real users when performing load test?

Anyone can point out the difference between virtual user and real user?
user705414
  • 20,472
  • 39
  • 112
  • 155
1
vote
3 answers

When using table parameters in LoadRunner, how do I select values from individual columns?

In LoadRunner, given a parameter table stored in a file MyTable.dat and a VUGEN script written in C#: FirstHeader,SecondHeader,ThirdHeader 1A,1B,1C 2A,2B,2C 3A,3B,3C I can use lr.eval_string("{MyTable}"); to return a whole row: 1A,1B,1C I can use…
Iain
  • 10,433
  • 16
  • 56
  • 62
1
vote
2 answers

LoadRunner AccessViolationException when invoking web.url in C#

What's the correct syntax to invoke a HTTP Get using the LoadRunner API (VUGEN 9.52.0.0) in C#? The following generates an AccessViolationException: LoadRunner.WebApi web = new LoadRunner.WebApi(); web.url("GoToMyService",…
Iain
  • 10,433
  • 16
  • 56
  • 62
1
vote
1 answer

Perfomance center LrJson.dll is not loaded

I have two scripts in my own scenario in Performance Center. One of the scripts sends messages to Artemis MQ, and another one - prepares disk volumes with different libraries. If I run scripts in VU Generator - all scripts will pass. But if I run my…
Pavel
  • 11
  • 1
1
vote
2 answers

The callback was already called for LoaderRunner due to bootstrap version ^3.4.1

Through Azure Build pipeline, I am facing surprising error of The callback was already called in loadrunner.js file. Here is the actual error from pipeline: C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" run…
Mehul
  • 25
  • 6
1
vote
1 answer

Alphanumeric increment in Jmeter

is there any why to increment Alphanumeric like A01,A02---A99,B01-----Z99. like this way, we used to work counter config element for increment numbers but this time we need along with alphabets. Thanks in advance!
SNR
  • 11
  • 2
1
vote
1 answer

Parallel call simulation in loadrunner

I am building a Vugen script for the attached call.In the timeline snip 1,2,3 are parallel calls,they can be put inside web_concurrent_start and end. I want to know about call 4,5,6 they are not waiting for the response of 1,2,3 ...Should 4,5 and 6…
1
vote
2 answers

Vugen scripting using http protocol

I recorded a new script which is very large containing 20k lines including extra files(lrw_custom_body.h) i need to do like 300+ correlations in this script for dynamic values. In extra files(lrw_custom_body.h) the ending of the line is splitted up…
1
vote
0 answers

How to Integrate LoadRunner with Jenkins - CI/CD

POC on continuous automation framework for running performance test using C1/CD pipeline by integrating Jenkin and Loadrunner, wanted to share the details for the same - Automation framework POC completed on integrating the performance testing…
1
vote
2 answers

Can we user selenium UI Regression Scripts to do performant testing

I need some input from loadrunner/jmeter experts. I'm having automation scripts which is written in selenium+ java . Can i use same scripts to do performance testing using loadrunner/jemeter.? why i want do like this : to maintain single code…
Ankur Singh
  • 1,239
  • 1
  • 8
  • 18