51Testing软件测试论坛

标题: lR录制脚本出现 -27995错误 [打印本页]

作者: liwei0001    时间: 2012-10-21 19:52
标题: lR录制脚本出现 -27995错误
使用lr 录制 一个网站的注册用户的 脚本 ,录制好的脚本中出现 很多问号 ,日志记录出现 -27995错误
作者: msnshow    时间: 2012-10-21 21:12
编码的问题
作者: 黑羽祭    时间: 2012-10-22 11:34
编码问题
作者: liwei0001    时间: 2012-10-22 13:56
我知道,问题是在点击网页注册的按钮这部分的脚本中出现 很多问号,不知道这些问号是怎么回事,我将问号改成链接地址,就出现这个错误了
脚本如下:
        web_url("forum.php",
                "URL=http://127.0.0.1/upload/forum.php",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t19.inf",
                "Mode=HTML",
                LAST);

        /* Request with GET method to URL "http://127.0.0.1/favicon.ico" failed during recording. Server response : 404*/

        web_link("????",      /* 出现问好什么原因*/
                "Text=?????",
                "Ordinal=1",
                "Snapshot=t20.inf",
                LAST);

        return 0;
作者: limit1    时间: 2012-10-22 15:13
设置下recording option -》recording-》HTML Advanced-》script type 选择下面的试试即 a script containingexplicit urls only
作者: moyudong    时间: 2012-10-22 15:25
额,没遇到过。
BTW,我想问下500是服务内部出错,“Server response : 404”呢?
作者: mymagic    时间: 2012-10-22 16:55
回复 6# moyudong


    可以查看一下返回错误的解释  404是指无法找到页面。这样的代码有很多。常见的可以了解一下。
作者: moyudong    时间: 2012-10-23 10:19
回复 7# mymagic


    thx




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2