|
求助,我在回放脚本时报如下错误,请大家帮忙看一下!!谢谢!!
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; |
|