shiwshan 发表于 2015-7-31 09:08:03

LR11录制脚本时报Unable to connect to remote server: rc = -1 , le = 0)

本帖最后由 shiwshan 于 2015-7-31 09:13 编辑

服务器部署在linux机器上,是用tomcat部署的
录制脚本时,请求失败,点击登陆因为请求失败无法跳转到下一个页面
错误信息:
Request Connection: Remote Server @ 125.90.204.122:80   (Service=)(Sid= 21)PROXIED!
Address lookup for winhong-PC = 10.10.112.177
Request Connection: Remote Server @ 113.107.57.43:80   (Service=)(Sid= 22)PROXIED!
"GET /cclv/v2/patterns.json"   
   (Sid: 21) Client -> Server : 511 bytes (Service=HTTP)
Address lookup for winhong-PC = 10.10.112.177
   (Sid: 21) Server -> Client : 312 bytes(Service=HTTP)
Request Connection: Remote Server @ 120.31.128.34:80   (Service=)(Sid= 23)PROXIED!
Address lookup for winhong-PC = 10.10.112.177
Request Connection: Remote Server @ 120.31.128.34:80   (Service=)(Sid= 24)PROXIED!
Address lookup for winhong-PC = 10.10.112.177
"POST /wap/personal/member/login.do?1438164147256"   
   (Sid: 24) Client -> Server : 665 bytes (Service=HTTP)
Request Connection: Remote Server @ 125.90.204.122:80   (Service=)(Sid= 25)PROXIED!
Address lookup for winhong-PC = 10.10.112.177
   (Sid: 24) Server -> Client : 578 bytes(Service=HTTP)
Request Connection: Remote Server @ 74.125.23.91:443 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
   (Sid: 22) Connection Terminated (by Server)
   (Sid: 21) Connection Terminated (by Server)
   (Sid: 25) Connection Terminated (by Server)
Request Connection: Remote Server @ 74.125.23.91:443 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
   (Sid: 23) Connection Terminated (by Server)
Request Connection: Remote Server @ 74.125.23.91:443 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 74.125.23.91:443   (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for winhong-PC = 10.10.112.177
   (Sid: 24) Connection Terminated (by Server)
Request Connection: Remote Server @ 74.125.23.91:443 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)


网上说设置端口就能解决了,但是我试过了也还是不行

jingzizx 发表于 2015-7-31 13:33:50

查看recording options 选项中port mapping选择socket level and wininet level data试试

shiwshan 发表于 2015-7-31 16:27:45

jingzizx 发表于 2015-7-31 13:33
查看recording options 选项中port mapping选择socket level and wininet level data试试

这种试过了,还是不行哦。
我把服务器的防火墙关了也还是不行。不知道是不是服务器还要做什么设置才行?

ttaill 发表于 2015-8-7 11:16:47

:(我也是这样,录制就出错,但的确是能访问到服务器的
页: [1]
查看完整版本: LR11录制脚本时报Unable to connect to remote server: rc = -1 , le = 0)