loadrunner在线求助,在线等!!!
求助,我在回放脚本时报如下错误,请大家帮忙看一下!!谢谢!!Action_login.c(30): Error -26627: HTTP Status-Code=404 (Not Found) for "https://192.168.72.11:9443/FrameworkWeb/DecisionTreeAction.do?method=toShowDryrunTips"
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
以下是录制的部分脚本,红色为报错的函数:
Action_login()
{
// 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 );
// Parameter {WCSParam_Diff8} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff8", "LB=random=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
// Parameter {WCSParam_Diff9} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff9", "LB=signId=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1.9", LAST );
// Parameter {WCSParam_Diff10} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff10", "LB= value=\"", "RB=\"", "Ord=10", "Search=Body", "RelFrameId=1.9", LAST );
// 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; 看看系统后台日志报什么错。 找不到地址,看看地址那儿有什么错吧 楼主可以尝试手动访问出错请求的地址,看看是不是也有同样的问题 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 to 3# 4#:
手动访问肯定不行,如果不登陆,把链接地址拷进去,属于越权访问的,肯定会报错。
页:
[1]