51Testing软件测试论坛

标题: loadrunner 录制回放报错 [打印本页]

作者: sunnyswu    时间: 2012-2-15 12:43
标题: loadrunner 录制回放报错
我只是录制一个登陆界面,输入用户名、密码 登陆
在回放的时候,到 第一个web_custom_request 时,就会报错,但是发现,这个不是发送登陆请求的函数,
真正发送登陆请求的为后边一个web_custom_request,不明白为啥会报错。
请大侠帮忙解决。
此系统为一开源系统为google web toolkits 编写。
谢谢!
        web_concurrent_end(NULL);

        lr_think_time(7);

        web_custom_request("info",
                "URL=http://10.18.1.146:7080/logicaldoc/frontend/info",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://10.18.1.146:7080/logicaldoc/frontend.jsp?null",
                "Snapshot=t281.inf",
                "Mode=HTTP",
                "EncType=text/x-gwt-rpc; charset=utf-8",
                "Body=7|0|6|http://10.18.1.146:7080/logicaldoc/frontend/|DE212FDEA630F7C69DD73B028BB63BBA|com.logicaldoc.gui.common.client.services.InfoService|getInfo|java.lang.String/2004016611|zh-cn|1|2|3|4|1|5|6|",
                LAST);

        web_concurrent_start(NULL);

        web_url("blank.gif",
       
        lr_think_time(43);

        web_custom_request("security",
                "URL=http://10.18.1.146:7080/logicaldoc/frontend/security",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://10.18.1.146:7080/logicaldoc/frontend.jsp?null",
                "Snapshot=t302.inf",
                "Mode=HTTP",
                "EncType=text/x-gwt-rpc; charset=utf-8",
                "Body=7|0|8|http://10.18.1.146:7080/logicaldoc/frontend/|1F5588BEEF7B3ACD39600590783A6A43|com.logicaldoc.gui.frontend.client.services.SecurityService|login|java.lang.String/2004016611|test1|12345678|zh_CN|1|2|3|4|3|5|5|5|6|7|8|",
                LAST);

        web_concurrent_start(NULL);
作者: msnshow    时间: 2012-2-15 13:48
手工访问正常不
作者: sunnyswu    时间: 2012-2-15 17:12
没问题的,就是脚本回放不成功。
作者: 恋恋的云    时间: 2012-2-15 17:21
BD
作者: mvvztt    时间: 2012-2-16 15:01
为啥不把报错信息贴上来呢




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