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
=======================

 

發佈了11 篇原創文章 · 獲贊 3 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章