LoadRunner in Windows 7
Windows 7 has finally been released, and I’ve had the pleasure to install the latest retail release. Whilst the application support for Windows 7 is quite good, I have to unfortunately report that at this time, HP Loadrunner 9.5 does not work at all as a native Windows 7 application.
What’s wrong with HP Loadrunner 9.5 in Windows 7.
The installation seemingly works fine…however at the end of the process, the Loadrunner license dialog pops up. This is a little strange, as the Loadrunner license dialog doesn’t normally appear during installation. Even stranger the 10-day evaluation license is missing from this dialog. Hmm.
Launching the applications gives similar issues. A complaint about registry permissions when launching the Controller, and an exception stack trace when starting the Analysis component. Whilst the Virtual User Generator (VuGen) started correctly, it has not support for Internet Explorer 8 rendering it useless for Web HTML/HTTP scripts.
Fortunately there is a nice solution!
Out of the darkness, came light. XP Mode!
If you are using Windows 7 Professional, Enterprise or Ultimate editions, then you have the option of using the brand new XP Mode. Even if you’re not using one of these Windows editions, using the new Anytime Upgrade option in Windows 7 will allow you to upgrade your Windows edition.
XP Mode is a downloadable component from the Microsoft Website. It basically installs a fully-integrated copy of Windows XP into your computer as a virtual machine.
XP Mode Installation guide
Follow the instructions on the Microsoft website to install the XP Mode component into your copy of Windows 7.
- Go to http://www.microsoft.com/windows/virtual-pc/download.aspx
Following the instructions, ensure you download and install both software components. - When installed go to your Personal Folder, then Virtual Machines.
- Select “Windows XP Mode” , then Settings.
- Reconfigure the Memory setting to 1024Mb or above (1524Mb is recommended).By default, Windows XP Mode is preconfigured to 512Mb. This is not sufficient to use LoadRunner.
Installing LoadRunner inside XP Mode.
Launch the XP Mode virtual machine window, as follows:
- Go to your Personal Folder, then Virtual Machines.
- Select “Windows XP Mode”, then Open.
- When the Virtual Machine has started, use the LoadRunner DVD to install.
- Close the Virtual Machine window when the installation has completed.
Running LoadRunner.
When you install applications inside XP Mode, they are automatically added to your Windows 7 Start Menu. You will find LoadRunner in the Start Menu, under “Microsoft Virtual PC” > “XP Mode Applications”.

I hope you enjoy using Loadrunner inside XP Mode…it’s definately a clever use of technology. And it just works so seemlessly.
Admittedly, you may experience a few bugs with the technology… if this is a particular problem, you can launch the Virtual Machine mode as a normal window and use Loadrunner within there.
But I expect that Microsoft will release bug fixes for many of the XPMode quirks in the coming months. Thanks for reading!

Related posts:
- Testing Web Services With a Standard Web Vuser It is possible to test web services using the standard...
- What’s New in LoadRunner 9.50? LoadRunner 9.5 was released today and, as mentioned by the...
- DNS-based load balancing for virtual users In DNS-based load balancing, a website visitor will request a...
- VuGen correlation for SAP Web Dynpro If you are trying to create a LoadRunner script for...
- LoadRunner Script Completion Checklist Many years ago I had a team member who would...
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
March 1st, 2010 at 4:13 am
Hi Guys,
I have windows7 ultimate & i have installed Load runner 9.5 trial version. But unfortunately its not working.
Above solution works fine if it supports for Windows Virtual PC which is not supporting my PC. Can some help me out in utilizing Load Runner tool in Win7 Ultimate.
Thanks in Advance.
Regards,
Papi Reddy
March 1st, 2010 at 9:16 am
Hi Papi,
Unfortunately to use Loadrunner with Windows 7 you must use Virtual PC and XPMode. If you’re computer is not supported by Virtual PC then you will need to upgrade. To use Virtual PC I recommend a minimum of 3Gb of RAM and a Dual Core processor.
Alternatively, you can look at dual-booting your computer with Windows XP. There should be plenty of information available on how to accomplish this: http://www.google.com/search?q=dual-booting+windows+7+and+windows+xp
Cheers,
Nick