LoadRunner Random Function with Normal (Gaussian) Distribution

Many times when performance tests are designed, the think-time between actions of the actual users is simulated with an approximation of the actual time it takes for a user to do their task. Unfortunately LoadRunner only offers a linear random distribution to an average wait time via the Runtime settings.Read More »


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 »