lr录制脚本提示不能连接服务器。

问题:

lr录制脚本,提示 Unable to connect to remote server信息。
 

解决方法:

·使用前停止(有时要卸载)杀毒软件。

·是录制选项中的端口映射问题,这里面有三个选项,一般默认为Socke level data ,此时当选成Socke level and WinNet level data 就可以成功录制并且生成脚本了。事后在此新添加选项,端口选择为Any,便解决了不能录制生成脚本的问题。

 

以下是别人的解决方案。我把英文大概梳理了一下。

_______________________________________________________________________


问题是这样的,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:
在一台新机器上安装了lr,发现错误信息如下:
[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.
重新安装了两遍lr都是相同结果。
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.
我注意到另外一件事:在Run-time Settings下,browser emulation was set to IE 4 and no O/S。
我在另一台机器上安装后这个设置为:IE 6/NT 5。
The Mercury forums point to possible spyware, but the new machine is clean. If anyone has any information it would be most appreciated.
Mercury论坛指出可能是间谍软件。但是新机器是干净的。如果谁能提供些信息将我不胜感激。
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 - Subscrīption, Perpetual, Virtual User days, or Evaluation? (choose the one that fits your license model) Evaluation
4.1 If subscrīption, is subscrīption 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.

如果你使用的是评估版,请将你的问题向sales engineer for HP|Mercury or your VAR求助。。。

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.
你要停止(有时要卸载)杀毒软件在安装进程时(lr 需要通知用户在开始安装进程时,但是我没有发现),在重新启动PC后,你可以再启动杀毒软件。

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

 

你可能感兴趣的:(测试工具-LR)