参考:
http://ptfrontline.wordpress.com/2011/04/18/loadrunner-v9-52-or-windows-7-x64-100-working/
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 as I do scripting with the laptop, no controller was needed. So I set out to install it and also did a few tricks on the way, things I knew would not work or had to be changed.
In short the following actions where taken during installation:
- Installed into C:\USERS\[Username]\HP instead of standard Program Files directory – This because VuGen writes to INI files etc. all the time it needs write access to the install folder
- After v9.50 installation, modified registry as per Richard Bishops blog entry Installing LoadRunner on 64 bit Windows
- Installed all the Patches (IE8 patch too since I have IE8)
- When staring VuGen it complained about a DLL. I replaced this with another older version of the DLL .. And the complaints where gone!
At this point to Analysis worked 100%, and VuGen worked all the way to the point where a web function was called. The call itself worked, and the result was retrieved but alas, the HTML parser failed with a critical exception error. So still I had not achieved 100% VuGen, but I was able to record, and replay non-html pages fine.
Now last Tuesday, Microsoft released a massive patch pack (some 29 fixes I think it was) and just by accident I was demonstrating Analysis and VuGen to a friend – and TO MY GREAT SURPRISE VuGen now replayed and parsed text/html content 100% !
So now I have myself a fully working LR v9.52 installation, and no longer see any immediate need to upgrade to the new ALM v11 just because people switch to Win 7.
Enjoy!