Search the site

Blogs

LoadRunner GUID Creator

If you need to create a GUID on the fly for a unique ID, here is some code to do just that. Thanks to Chris Butts for this.

Here is the GUID function. Set this somewhere outside the Action() function to keep it separate.

------

GUID()
{
lr_guid_gen();
lr_message("%s", lr_eval_string(""));
lr_message("%s", lr_eval_string(""));
}

int lr_guid_gen()
{
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;

Loadrunner Citrix and Remote Desktop Conflict - SOLVED

We have been working with a client for weeks to solve an issue with LoadRunner 9.52 that I am happy to report is now solved.
 
Problem: After creating a Citrix script in Vugen and getting a successful playback on a local machine, the script would be moved to the LoadRunner Controller to test it out with multiple virtual users.

Vugen 9.5 and SQL Server 2008 Conflict

I was using the stand-alone version of Vugen used with Performance Center 9.5, and I noticed that it would crash every time I tried to create a parameter file.
 
After some research, I found out it is because SQL Server 2008 was installed on the machine.   Apparently, Vugen is doing something that conflicts with the mfc80.dll or mfc80u.dll file used by SQL Server 2008.

LoadRunner 9.52 Installation Problem With 64-Bit - Workaround

We have experienced a bug in the LoadRunner 9.52 patch when trying to install on a 64-bit OS.  Installing 9.5, and 9.51 works just fine.  However, when trying to install 9.52  - it can’t find an existing Loadrunner installation.

After some research, we located this article:

HPSWU Bingo Card

It's officially here: The 2010 HP Software Universe Bingo card!

As you become overwhelmed with marketing buzzwords, at least make it fun. Download and print, and don't forget to share with your friends. If you actually yell out "bingo" I may have to feature you on our site in appreciation.

April 2010 - Latest LoadRunner Bugs and KB Articles

Web/AJAX Protocol:

KM840444 - Using the Web HTTP/HTML protocol in LoadRunner 9.51 or 9.52, after recording the business process the body portion is missing in the web_custom_request when the script is generated. No error message is displayed in the log files, either during record or replay.

Vugen: Trim Strings With Dynamic Lengths On Left

Sometimes you need to strip off the first part of a string because there is some character and/or amount of crap at the end that you don't need. The most obvious use of this is when you capture an e-mail address as a parameter and the string is like: 

giggity@loadfreakintester.com

Let's say all you need is the "giggity", and not the rest. If you capture the exact same thing each time, you can just strip off anything after the 7th character. But what if the next time you run the script you capture:

Troubleshoot LoadRunner Vugen Errors Loading Custom DLL's

Issue: While using the lr_load_dll function, the user receives the following error:

"Action1.c(x): Error -19890 : C-interpreter run time error:
Action1.c(x): Error -- File error : LoadLibrary(c:\temp\MyDll.dll) failed : The specified module could not be found."


The error above can occur if the compiler fails to locate or load the DLL. You can check the return code of lr_load_dll to verify if this is the case.

Example code:

Vugen: HTML/URL/Text Conversion

The web_convert_param function either converts HTML text to plain text or URL, or converts plain text to URL.

Set up an Oracle Monitor in LoadRunner Using a Baseball Bat

Recently, I needed to setup an Oracle monitor in LoadRunner  so I decided to take some screen shots along the way so that I could post them along with some instructions. I do this because I know I will forget how to do this in the future, so when the next project rolls around that  requires it, I can search Google and find my own article on the topic. It's a great ego booster.  Maybe you are looking to do this, and it will help you too.

Subscribe to Our Podcasts
Our Clients Include…
  • Deloitte Services
  • Coventry Healthcare
  • CSX
  • Fifth Third Bank
  • HealthStream
  • Kroger
  • Max Technical Training
  • MPS Group
  • Sarasota Memorial Hospital
  • Take Charge America
  • Streamline Health Inc.
Our Contributors
Click Name for Full Profile