Blog

  • LoadRunner Parameter and Correlation Naming Conventions

    Posted on October 1, 2012 by Admin

    Bill Selph recommends the following LoadRunner parameter and correlation label naming conventions for use in scripts:

    All correlated values begin with “LRC_”
    All parameters begins with “LRP_”

    Bill finds this an easier way to edit and debug of complex scripts.

    Do you have similar naming conventions that you use when coding Vugen script? How about giving out some recommendations to the community by commenting in the section below. Read Entire Entry

  • VuGen: Extracting String Data From A Parameter

    Posted on September 24, 2012 by Admin

    This post examines a condition where data being returned in the VuGen parameter captured (in the web_reg_save_param function) included more characters than was needed and there no easy left/right boundaries to use to get only what was needed. In this case, it was capturing something like “2297,4648”, and we needed to extract the first four numbers and the last four numbers of the string, while stripping out the “comma” character.
    //We need to grab the 1st four (ENTERPRISEID)
    //and the last four digits (which is a tax return ) Read Entire Entry

  • VuGen: Detailed Logging

    Posted on September 19, 2012 by Admin

    The purpose of this VuGen code is so you have one place to enter the URL for the application and grab all the Load Generator and Controller information, and send it to the execution output logs for troubleshooting purposes. Variables are set at top of the action file that it can be changed by modifying one line of code instead of all the code within the script.

    Put this code in the vuser_init() section of the script outside the vuser_init function
    //*******************************************************************
    //* GLOBA Read Entire Entry

  • How LoadRunner Calculates Hits Per Second

    Posted on September 12, 2012 by Admin

    LoadRunner calculates hits per second in the “Hits per second” graph depending on the HTTP requests sent out each second. If there are no HTTP requests sent for some time, then a request is sent out, and the “hits per second” is computed for the entire interval since the last hit was received.

    The measurement seen on the graph is per second, but the granularity of the graph is not 1 second. It is possible to have fractions of hits per second. If you change the granularity to 1 second, then only whole hits per second will b Read Entire Entry

  • Run A Windows Batch Program From LoadRunner VuGen

    Posted on August 29, 2012 by Admin

    I am surprised that many people who script with LoadRunner on a regular basis do know know that you can run external programs in Windows that are kicked off by code in Vugen scripts. The system() function allows you to do this. There have been times where I needed to run a portion of a script and then kick off a program that would run on my local machine for a few minutes. I created a Windows Batch (.BAT) file with it’s own set of instructions on running and how to exit out. When I am ready to kick this BAT file off, I just put one Read Entire Entry

  • LoadRunner Run-Time Settings: Additional Attributes

    Posted on August 27, 2012 by Admin

    Many times I want to set up Vugen scripts so that I can easily move from one environment to another. Often, the environment being tested if not the same one I script in because of logistics in getting the environments ready. Without getting into the issue of poor configuration management between environments screwing up your scripts – and most LoadRunner scripters know how bad of a problem this is –  I wanted to demonstrate the use of the “Additional Attributes” run-time setting to easily change environments without changing the Read Entire Entry

  • LoadRunner 11.5 VuGen – Why SharpDevelop?

    Posted on June 28, 2012 by Admin

    Many folks are probably wondering why HP decided to change the engine for VuGen to the SharpDevelop platform in LoadRunner 11.5. I recently posed this question to Shane Evans, the product  manager for LoadRunner:
    “There were a lot of reasons for the decision. We looked at Visual Studio and Eclipse as options, among others, but each had challenges. Eclipse would have been nice, [but] the whole Java thing was a deal breaker…The team was able to build in SharpDevelop in just 2 months…  We also had the experience of our Servic Read Entire Entry

  • LoadRunner 11.5 – AJAX TruClient For IE

    Posted on June 22, 2012 by Admin

    With the move to LoadRunner 11.5, there have been updates and changes to the AJAX TruClient protocol. More specifically, there have been improvements and modifications for using it with FireFox as well as a new addition in way of support for Internet Explorer 9 with the AJAX TruClient protocol.

    Firefox Enhancements

    With the release of Firefox 8 in November of 2011, Loadrunner 11.5 takes advantage of the improvements that are brought to the table by Mozilla. These items include improved audio and video elements, and other HTM Read Entire Entry

  • LoadRunner 11.5 – VuGen Revamped

    Posted on June 20, 2012 by Admin

    New Vugen Platform: SharpDevelop
    To say that the look and feel of VuGen received a makeover in LoadRunner 11.5 would be somewhat of an understatement. It is a total rework from the ground up. The biggest change is the move from LCC and the GNU Pre-processor engine to the SharpDevelop platform. This has to do with what the custom (HP) code for VuGen sits upon for compilation. This in and of itself warrants a healthy discussion and a separate blog entry. It appears this move affords HP a little more benefit to add additional features Read Entire Entry

  • What’s New in LoadRunner 11.5

    Posted on June 5, 2012 by Admin

    HP has officially announced the release of Loadrunner 11.5, and with it come a bevy of changes. The most immediately noticeable of these is a major retooling of the look and feel of VuGen.

    Over the coming days, we’ll be breaking down and reviewing some of these changes in a couple of blog postings. Here is an overview of some of the major changes you can expect:

    New and Improved VuGen – The whole look and feel of VuGen has been revamped here to include much more modular panes and viewing ability. While there are a handful Read Entire Entry