loadrunner录制脚本时报错Unable to connect to remote server: rc = -1 , le = 0
来源:互联网 发布:支付宝软件下载 编辑:程序博客网 时间:2024/05/22 00:05
问题现象:
Loadrunner在录制脚本的过程中报如下错误:
[Net An. Error (11f0:113c)] Request Connection: Remote Server @ 127.0.0.1:5152 (Service=) NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer (11f0:17a4)] Address lookup for PC-03161305 = 122.204.143.218
[Net An. Warning (11f0:17a4)] Request Connection: Remote Server @ 127.0.0.1:9415 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning (11f0:17a4)] Request Connection: Remote Server @ 127.0.0.1:9415 (Service=) Failed attempt #2.Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning (11f0:17a4)] Request Connection: Remote Server @ 127.0.0.1:9415 (Service=) Failed attempt #3.Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error (11f0:17a4)] Request Connection: Remote Server @ 127.0.0.1:9415 (Service=) NOT PROXIED! (REASON:Unable to connect to remote server: rc = -1 , le = 0)
解决方法:
在脚本录制之前,打开录制选项的port maping选项卡,按照如下步骤进行配置。
配置完之后的界面
配置IE浏览器的代理
一切配置完成后,就可以重新进行录制了。
原因分析(不一定对):
其实loadrunner的录制原理就是基于自己的port mapping。Port mapping的工作方式就是在本地自动启动一个代理,将所有对服务的请求首先转发到这个本地代理上,再经这个本地代理对服务器进行请求。
Loadrunner通过对自己启的这个本地代理进行监控,从而监控整个应用的交互,进行脚本录制。前面的手工配置traffic forwardding步骤就是指定了启动的本地代理的端口号,然后在浏览器端也配置了通过这个代理进行请求转发。这样loadrunner就不会找不到服务了。
参考文档:
http://www.51testing.com/html/63/290563-246322.html
- loadrunner录制脚本时报错Unable to connect to remote server: rc = -1 , le = 0
- 关于LoadRunner录制脚本时,报REASON: Unable to connect to remote server: rc = -1 , le = 0错误
- 性能loadrunner--录制脚本失败(REASON: Unable to connect to remote server: rc = -1 , le = 0)
- 关于LoadRunner录制脚本时,报REASON: Unable to connect to remote server: rc = -1 , le = 0错误
- 在LoadRunner自动录制脚本时,默认会发生REASON: Unable to connect to remote server: rc = -1 , le = 0,错误
- LoadRunner录制脚本时出现:Unable to connect to remote server),有事件没有脚本的问题
- Unable to connect to the remote server 问题
- kafka远程客户端 运行producer线程 时报 Unable to connect to zookeeper server within timeout: 400
- Unable to connect with connect string: nodeid=0
- unable to connect to converter enterprise server
- SVN检出checkout时报错errror: Unable to connect to a repository at URL'svn://localhost'
- how to remote connect to isa server 2000?
- 【QTP 10】QTP录制时报错: unable to launch the browser 解决
- QTP录制时报错: unable to launch …
- LoadRunner - Failed to connect to server "127.0.0.1:8888"
- loadrunner中关于Failed to connect to server错误
- 连接LinuxTelnet提示:Unable to connect to remote host: No route to host
- rc=20 > Connect to SAP gateway failed
- C和指针读书笔记(第十章)
- top命令查看每个逻辑cpu使用率
- JS preventDefault ,stopPropagation ,return false
- 【各大OJ】最短路专题
- 数据结构实验之链表二:逆序建立链表
- loadrunner录制脚本时报错Unable to connect to remote server: rc = -1 , le = 0
- Spring 配置使用 - Bean 作用域
- Oracle存储过程以及java调用
- 浙大 PAT b1052
- 欢迎使用CSDN-markdown编辑器
- C#_CombolBox添加数据的几种方法
- 树表中二叉树树查找方法以及平衡树的简解
- maven install Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-wa
- windows下apache、php、mysql以及wordpress配置步骤