1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using?
2. What is the protocol you are recording?
AJAX (Click and Script)
3. If HTML - are you using HTML-Advanced with URLs or,
4. If URL mode:
- Concurrent groups, or
- Without Concurrent groups?
5. Which LoadRunner/PerformanceCenter feature (FPs) or service packs are you using?
6. VuGen Recording - are you using Old or New Recording Engine?
7. List here the Licensed Vuser type/ quantity that you are/were using for this specific issue /problem.
8. Is your support/maintenance contract current and active?
9. What platform(s) (PCs) and Operating Systems (Windows-XP, etc.) are being used for load generators and controllers? Include version and service packs (SP1 or 2, etc.)
All - Server 2003 StdEd SP 2
10. If you have filed a service request with HP/Mercury, what have they told you at this point with respect to your issue?
HP says that antivirus software is incompatible with LoadRunner. From an email we received from one of their engineers:
"Disable anti-virus software. It is known that anti-virus software is intrusive when they are set to look for viruses. However, in searching for viruses, the software can interfere with a program's proper execution. This could cause problems and sometimes crashes. This is why, for debugging purposes, we would recommend turning off the anti-virus software."
This seems a bit drastic, and I'm guessing that most LoadRunner users aren't running their boxes unprotected.
What sort of balance did you guys find that seems to work?
In my experience we ask for the ability to disable the virus scanners during tests. McAffe and Norton seem to be the most common anti-virus used in the industry and tend to cause issues if run on the Load Generators. I am not so sure it is as necessary to disable on the Controller (unless you are running load from it). I use AVG Free and haven't seen an issue with it, but I don't run much load off my laptop (maybe 10 users max).
I am interested to see what others have to say about this.
Not sure on this. However, most of the load testing tools have some problems with anti virus packages especially during script recording. I was using Rational Robot sometime back & couldn't record the script due to the tool's problem with the anti virus scanner. After disabling the virus scanner, I was able to create the scripts & replay them successfully. But the same didn't occur during replay & final test execution.
I observed the same in LR too in one of my projects. From my experience, I think it creates problem mostly during script creation . Ideally, it shouldn't affect your test script execution once you have recorded your scripts. I have seen few adding the LR port communication to the exception list in the virus scanner. Try that approach too if you want to still have your virus scanner running during the load test.
Do you have your scripts working properly after disabling the virus scanner? If yes, did you try to run them in other machines with / without virus scanner? what are your observations?
The views expressed in this forum are mine. My organization does not subscribe to the substance, veracity or truthfulness of the said opinion
I've never had an issue with anti-virus software and using vugen recording/playback. Though if an antivirus scan was actively running while I was recording, I'd probably shut it down for resource utilization purposes - and just to be safe.
I can see anti-virus issues while scanning on a generator (I don't administer generator/controller), or MAYBE if you're doing something like a win-sock protocol, but anti-virus affecting something like a vanilla http test or 99% of other test cases out there? I don't see how that would affect things that drastically. It's kind of a 'just in case' measure when diagnosing issues on Mercury's part, I think. Though maybe a few of the experts on the board have seen a quirk or two.
Now, _firewalls_ are something different. I have to shut down my firewall when recording a script to actually see any traffic at all. But I certainly have no plans to permanently shut down my anti-virus software without seeing some major issues first.