51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3530|回复: 3
打印 上一主题 下一主题

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

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2015-7-31 09:08:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 shiwshan 于 2015-7-31 09:13 编辑

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


网上说设置端口就能解决了,但是我试过了也还是不行
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1
回复

使用道具 举报

  • TA的每日心情
    奋斗
    4 小时前
  • 签到天数: 2805 天

    连续签到: 4 天

    [LV.Master]测试大本营

    2#
    发表于 2015-7-31 13:33:50 | 只看该作者
    查看recording options 选项中port mapping选择socket level and wininet level data试试

    评分

    参与人数 1测试积点 +10 收起 理由
    lsekfe + 10 恭喜你获得测试积点10

    查看全部评分

    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
     楼主| 发表于 2015-7-31 16:27:45 | 只看该作者
    jingzizx 发表于 2015-7-31 13:33
    查看recording options 选项中port mapping选择socket level and wininet level data试试

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

    使用道具 举报

    该用户从未签到

    4#
    发表于 2015-8-7 11:16:47 | 只看该作者
    我也是这样,录制就出错,但的确是能访问到服务器的
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-7 11:23 , Processed in 0.063133 second(s), 24 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表