51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1911|回复: 5
打印 上一主题 下一主题

[原创] loadrunner在线求助,在线等!!!

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-11-11 14:34:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
求助,我在回放脚本时报如下错误,请大家帮忙看一下!!谢谢!!
Action_login.c(30): Error -26627: HTTP Status-Code=404 (Not Found) for "https://192.168.72.11:9443/FrameworkWeb/DecisionTreeAction.do?method=toShowDryrunTips"          [MsgId: MERR-26627]

Action_login.c(30): web_submit_data("post.do_2") highest severity level was "ERROR", 344986 body bytes, 10954 header bytes, 26 chunking overhead bytes          [MsgId: MMSG-26387]


以下是录制的部分脚本,红色为报错的函数:
Action_login()
{
        // [WCSPARAM WCSParam_Diff3 32 fc839df2312049c3a6c76e4888f1231e] Parameter {WCSParam_Diff3} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff3", "LB=value=\"", "RB=\"", "Ord=3", "Search=Body", "RelFrameId=1", LAST );
        web_submit_data("POST.do_2",
                "Action=https://192.168.72.11:9443/ca/POST.do",
                "Method=POST",
                "TargetFrame=",
                "RecContentType=text/html",
                "Referer=https://192.168.72.11:9443/ca/loginbox.do?service=https%3A%2F%2F192.168.72.11%3A9443%2Fboss&continue=Frameset.jsp",
                "Snapshot=t5.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=SAMLRequest", "Value={WCSParam_Diff2}", ENDITEM,
                "Name=RelayState", "Value=Frameset.jsp", ENDITEM,
                "Name=mobile", "Value=a000000000000161", ENDITEM,
                "Name=password", "Value=Telfort11", ENDITEM,
                LAST);

        lr_think_time( 2 );

        // [WCSPARAM WCSParam_Diff8 18 0.6429302897970222] Parameter {WCSParam_Diff8} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff8", "LB=random=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
        // [WCSPARAM WCSParam_Diff9 198 c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e] Parameter {WCSParam_Diff9} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff9", "LB=signId=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1.9", LAST );
        // [WCSPARAM WCSParam_Diff10 36 c4af4f2e-b382-4510-8391-e796c6bcdd54] Parameter {WCSParam_Diff10} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff10", "LB= value=\"", "RB=\"", "Ord=10", "Search=Body", "RelFrameId=1.9", LAST );
        // [WCSPARAM WCSParam_Diff11 23 ysOkAO6-ty1V6rnPVS61KD1] Parameter {WCSParam_Diff11} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff11", "LB= value=\"", "RB=\"", "Ord=11", "Search=Body", "RelFrameId=1.9", LAST );
        web_submit_data("post.do_2",
                "Action=https://192.168.72.11:9443/boss/post.do",
                "Method=POST",
                "TargetFrame=",
                "RecContentType=text/html",
                "Referer=https://192.168.72.11:9443/ca/POST.do",
                "Snapshot=t6.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=loginType", "Value=", ENDITEM,
                "Name=RelayState", "Value=Frameset.jsp", ENDITEM,
                "Name=SAMLart", "Value={WCSParam_Diff3}", ENDITEM,
                EXTRARES,
                "Url=js/page.js", "Referer=https://192.168.72.11:9443/boss/Frameset.jsp", ENDITEM,
                "Url=images/FrameBtn_Top_Bg.gif", "Referer=https://192.168.72.11:9443/boss/leftblow.html", ENDITEM,
                "Url=images/FrameBtn_Left_Bg.gif", "Referer=https://192.168.72.11:9443/boss/Middle.htm", ENDITEM,
                "Url=images/FrameBtn_Left_1.gif", "Referer=https://192.168.72.11:9443/boss/Middle.htm", ENDITEM,
                "Url=images/FrameBtn_Top_1.gif", "Referer=https://192.168.72.11:9443/boss/blowmain.html", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/parser.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/date/stamp.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/number.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/i18n.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/cldr/nls/zh-cn/number.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/string.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/regexp.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/cldr/nls/number.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                "Url=../custcare/js/util/dojo/dojo/cldr/nls/en/number.js", "Referer=https://192.168.72.11:9443/custcare/cc_common/commonLoginAction.do?method=initPage&loadmode=loginboss&lang=en_US&signId=c03gam8mf6zeu11p32x9kut1i62jw6aijadljhr9m6z2uakzmxgbepe9qfux5tx0nuqnvbkzwfhhf9ar8yqehlirr9j8pjc8vhsl7zugmzcwslnlr0mhrc3f6zmwmye2o9thl3n2ktv41llublbhkhwfqn62n33bgp8y84qq07ropm106piqiq8s5hg826oeiqa05e", ENDITEM,
                LAST);


        web_submit_data("activeCustcare.jsp",
                "Action=https://192.168.72.11:9443/custcare/activeCustcare.jsp?null&signId={WCSParam_Diff9}",
                "Method=POST",
                "TargetFrame=_self",
                "RecContentType=text/html",
                "Referer=https://192.168.72.11:9443/boss/custcare.jsp?targetURI=%2Fcustcare%2FactiveCustcare.jsp%3Fnull&sid={WCSParam_Diff11}",
                "Snapshot=t7.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=OperID", "Value=a000000000000161", ENDITEM,
                "Name=OperName", "Value=a000000000000161_name", ENDITEM,
                "Name=Region", "Value=310", ENDITEM,
                "Name=OrgID", "Value=NL.01", ENDITEM,
                "Name=QueueID", "Value=", ENDITEM,
                "Name=IPAddress", "Value=", ENDITEM,
                "Name=MacAddress", "Value=", ENDITEM,
                "Name=RoamOrgID", "Value=NL.01", ENDITEM,
                "Name=RoamRegion", "Value=", ENDITEM,
                "Name=LoginAuthKey", "Value={WCSParam_Diff10}", ENDITEM,
                "Name=bossJSessionID", "Value={WCSParam_Diff11}", ENDITEM,
                "Name=Language", "Value=en_US", ENDITEM,
                "Name=sid", "Value={WCSParam_Diff11}", ENDITEM,
                "Name=targetURI", "Value=/custcare/activeCustcare.jsp?null", ENDITEM,
                LAST);
        ..........................................
        .......................................
        return 0;
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2010-11-11 17:11:06 | 只看该作者
看看系统后台日志报什么错。
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2010-11-11 17:17:21 | 只看该作者
找不到地址,看看地址那儿有什么错吧
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2010-11-11 21:07:55 | 只看该作者
楼主可以尝试手动访问出错请求的地址,看看是不是也有同样的问题
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2010-11-11 22:45:31 | 只看该作者
to 2#:
看过系统日志,也没有任何错误!
出现这两种错误,一般都有什么可能的情况啊?
尤其是第二种:
Action_login.c(30): web_submit_data("post.do_2") highest severity level was "ERROR", 344986 body bytes, 10954 header bytes, 26 chunking overhead bytes          [MsgId: MMSG-26387]
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2010-11-11 22:47:28 | 只看该作者
to 3# 4#:
手动访问肯定不行,如果不登陆,把链接地址拷进去,属于越权访问的,肯定会报错。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-15 20:25 , Processed in 0.080442 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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