LoadRunner案例分析之五

最近被一个代理的问题搞的纠缠不清。我这个人其实很多时候是不求甚解的那种。自打上次跟Zee版主交流了以后,很受打击,惭愧的要命。打算以后改改这个毛病。凡是要探个究竟,正所谓惩前毖后,治病救人嘛。:)

问题是这样的,VUGen里面录制的脚本,回放的时候出错,错误信息是:

[Net An. Warning ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)

重新安装了LoadRunner,结果同样。从错误的表面看是代理的问题,但是本机上网不需要任何代理。也没有设置任何的代理。搜了一下,发现了问题的解决方法。其实挺搞笑的。居然是杀毒软件的问题。

下面是详细的讨论经过(英文的,大家将就看,看不懂就查查辞典)

==================================================
I’ve installed LR on a new machine and I’m encountering an error at record time. This is the error as recorded against loading the Google home page, along with the three warnings that proceed it:

[Net An. Warning ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error ( 218: 9f0)] Request Connection: Remote Server @ 66.102.7.147:80 (Service=) NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)

I’ve reinstalled LR twice with the same results.

One other thing I’ve noticed is that under Run-time Settings, the browser emulation was set to IE 4 and no O/S. I installed LR on a second machine and the setting is IE 6/NT 5.1. The recorder also worked as expected. However this is an older box and I’d rather not use it.

The Mercury forums point to possible spyware, but the new machine is clean. If anyone has any information it would be most appreciated.

1. What version of LoadRunner or PerformanceCenter are you using? 8.1.0.0
2. What is the protocol you are recording? HTTP/HTML
2.1 If HTML – are you using HTML-Advanced with URLs or, NO
2.2 URL mode with Concurrent groups, or NO
2.3 URL mode without Concurrent groups? NO
3. Which LoadRunner/PerformanceCenter feature or service packs are you using? None
4. What kind of LoadRunner license do you have – Subscription, Perpetual, Virtual User days, or Evaluation? (choose the one that fits your license model) Evaluation
4.1 If subscription, is subscription current or expired?
5. What platform(s) and Operating Systems? Include version and service packs. IE 6.0 SP2 and XP SP 2
6. If you have filed a service request with Mercury, what have they told you at this point with respect to your issue?
I’ll be filing an SR today.

Thanks,

Dan
==================================================
Dan, since you are using the evaluation version, please turn your questions to your field sales engineer for HP|Mercury or your VAR for assistance prior to your sale. It is their job to make sure all engineering issues are addressed prior to your purchase of LoadRunner, just as it is the sales representative’s job to make sure all organizational and logistical issues are addressed prior to your purchase. If your VAR or vendor sales engineer is unresponsive to your inquiries, then seek a new representative to work with. However, it has been my experience that a slight threat to go with another vendor that can better support your environment tends to light the fire under most sales types, particularly with a product like LoadRunner that easily can exceed $100,000.00 USD when optioned out.

Thank you for your interest in evaluating LoadRunner prior to your purchase.

James Pulley
====================================================
Thanks for the suggestion.

The controller license is purchased and this is the machine designated for activation. I’m dealing with Mercury on this issue as well.

This is not the first time I’ve had installation issues with a Mercury product and I’m sure it won’t be the last. As I mentioned this is a new laptop so maybe that has something to do with it. But I’ve seen one other post in this forum describing my same problem and there was no resolution so I’m not optimistic that this will be resolved quickly.

If Mercury/HP provides a solution I’ll post it here.
======================================================
A Mercury engineer provided a workaround for this recording error. Under Tools -> Recording Options -> Network -> Port Mapping, the capture level was changed from ‘Socket Level Data’ to ‘WinINet level data’.

When I get the fix for ‘Socket Level Data’ recording error on this PC, I’ll post it here.

Dan
=========================================================
Thanks, Dan. You may not know it, but it all too rare for people to come back and post solutions, so we are truly grateful.
================================================
Thanks for that Peter. I find it worthwhile to post resolutions as I hope they can help others.

So I solved my problem. Digging into the process explorer pointed to the biolsp.dll from Wave Systems. I Googled it and found several discussion forums indicating it causes problems with other applications as well. The patch download link on the Wave website was dead. I don’t need bio security on my Dell so I uninstalled the whole program group. VUGEN is now working as expected.

Good luck to all,

Dan
====================
so let me get this straight…you have to disable the bio security on the computer to get it to work? Seems like an interesting problem if you are required to have the security on as a company policy.
================
That’s a great point jamesso and I agree; this wasn’t the solution I was looking for. Unfortunately there is more going on here. We aquired a term license with Mercury/HP and it activated the virtual users two weeks ago, even though the installation on the controller did not go as planned. But I’m at the point now where we’ve already burnt too much and can’t afford to burn any more of the license. I have to get back on track with the client so I’m going with this for now.

Regards,

Dan

======================
So the term license started before you could actually get a controller working to use them….hmmm. Is HP flexible enough to own this problem and give you time that you lost?
=======================
Time will tell jamesso. I do want that time back and I am looking for consideration, but at this point I’m not optimistic.

I don’t mind saying at this point that I was unhappy with being tied to a start date to begin with. This is the first time I’ve worked with a term license from HP and I would be very happy if it is my last. In my previous term engagements I used Segue/Borland. With their model I activated the license the day I was ready which got the project more value, more flexibility, and less waste.

===========================
Hi Dan,

i had same problem with new LR 8.1 installation with trial 10 days licenses…and my friend with 8 years LR experience say me possible solution(99%):

you need to disable(sometimes uninstall) any antivirus software during installation process (LR need to notify USER before starting installation process, but i not find it),
after restart the PC you can to enable AV again.

Try and Enjoy
=======================

This entry was posted in 测试工具 and tagged . Bookmark the permalink.

One Response to LoadRunner案例分析之五

  1. angel_tianyq says:

    按照你说的方法,卸载LR,卸载杀毒软件,再安装LR,再安装杀毒软件,仍有这个问题。

Leave a Reply

Your email address will not be published. Required fields are marked *