Performance Testing @ the Frontline

A hidden world where small things make a big difference

Archive for April, 2010

Creating a DLL with Delphi for LoadRunner

Posted by Kim on Tuesday, April 13, 2010

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 the rest of this entry »

Posted in Delphi, LoadRunner | Tagged: , , | 5 Comments »

Handle HTTP Re-Directions in LoadRunner Scripts yourself

Posted by Kim on Sunday, April 11, 2010

Sometimes you want to grab a Session-Cookie or something else from the HTTP Header’s during a redirection, but normally LoadRunner does not allow you to web_reg_save() those if there are multiple re-directions, and the same “variable” appears multiple times. Read the rest of this entry »

Posted in LoadRunner | Tagged: | 7 Comments »