Syntax Highlighting for custom functions in LoadRunner VuGen

Sometimes when you have a function that you use alot, it might be nice to have it color coded in code like the other lr_* commands.

I looked for a solution to this for awhile but didn’t find anything relating to VuGen and Syntax Highlight things, so I started digging a little deeper into VuGen’s configs and came up with a half-way solution to this.

Read More »


LoadRunner VuGen v9.52 on Win7 x64 – 100% Working (Updated)

I recently got Windows 7 x64 installed on my laptop, and as per information from HP LoadRunner v9.52 does NOT work with Windows 7, let alone x64 – So I got myself a Virtual Machine installed, where I have Win XP x86 for LoadRunner work.

Beeing a person who believes software should work in diverse environments, I also tried installing LoadRunner on the Win 7 machine, specifically Analysis and VuGen Read More »

Overriding LR functions with custom code

Most people do not know that LR supports overriding existing functions with custom ones in a very easy way.

I had a situation where I had a pre-made script that had fixed think-time values for the lr_think_time() calls, and they of course were completely wrong. So my problem was that I had a lot of lr_think_time() places and I didn’t want to go through them all myself.Read More »

Creating a DLL with Delphi for LoadRunner

This article extends my previous post on Using a Custom DLL in LoadRunner and now shows by example how a DLL is actually created in Delphi and used from LoadRunner.

The DLL I’ll create here is a simple stub with a few basic functions and can serve as a template for any type of DLL that you want to create.

I’ll show how to avoid the most common problems of sending/retrieving strings to/from the DLL as well as how to handle the Unicode situation with D2009 and D2010 (LR is not Unicode enabled).Read More »

SHA-1 hash for LoadRunner

One of my colleagues at work was testing a solution that obfuscated passwords using the SHA1 algorithm, and was looking for a suitable solution to replicate this with LoadRunner. As I’ve used SHA1 before for other things, I promised to look around and see if I could help out.

As it turns out a suitable source was found and I made the necessary changes to the code to make it work in LoadRunner. A big thank you to Paul E. Jones for providing a free SHA1 implementation.Read More »