|
报错信息:
Action.c(56): Error -26377: No match found for the requested parameter "Siebel_Analytic_ViewState5". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1864 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(56): web_url("配件合同") highest severity level was "ERROR", 54882 body bytes, 1518 header bytes [MsgId: MMSG-26388]
这里录制的是增加合同功能。
里面有个合同号是自动生成的,可能是关联和参数问题。具体怎么解决,帮忙帮忙!
脚本script:
Action()
{
web_set_max_html_param_len("1864");
/* Registering parameter(s) from source task id 4
// {Siebel_Analytic_ViewState2} = "dDwtMTc5MTcwMTM4Ozs+fxHBmVq9P3Vr/HAPZxxf1yB3klI="
// */
web_reg_save_param("Siebel_Analytic_ViewState2",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_url("logon.aspx",
"URL=http://10.3.1.101/quote/secure/logon.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_data("logon.aspx_2",
"Action=http://10.3.1.101/quote/secure/logon.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/logon.aspx",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
"Name=LogonUserIdTextBox", "Value=yh", ENDITEM,
"Name=LogonPasswordTextBox", "Value=1", ENDITEM,
"Name=LogonButton", "Value=", ENDITEM,
LAST);
/* Registering parameter(s) from source task id 30
// {Siebel_Analytic_ViewState5} = "dDwxOTQ4NDgzMDt0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDU+Oz47bDx0PDtsPGk8MD47PjtsPHQ8cDxwPGw8VGV4dDs+O2w85bCk57qiICAgIOasoui/juWFieS4tO+8gTs+Pjs+Ozs+Oz4+Pjs+Pjs+Pjs+Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47PjtsPGk8NTc+Oz47bDx0PEAwPDs7Ozs7Ozs7Ozs+Ozs+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+O2w8aTw1Nz47PjtsPHQ8QDA8Ozs7Ozs7Ozs7Oz47Oz47Pj47Pj47Pj47Pj47PncrShoKoC/+f7vwUXaquoQvMuYt"
// */
web_reg_save_param("Siebel_Analytic_ViewState5",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_url("配件合同",
"URL=http://10.3.1.101/quote/secure/Partscontract.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/index.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
/* Registering parameter(s) from source task id 37
// {Siebel_Analytic_ViewState7} = "dDwxOTQ4NDgzMDt0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDU+Oz47bDx0PDtsPGk8MD47PjtsPHQ8cDxwPGw8VGV4dDs+O2w85bCk57qiICAgIOasoui/juWFieS4tO+8gTs+Pjs+Ozs+Oz4++Ozs+O3Q8dDxwPHA8bDxEYXRhVGV4dEZpZWxkOz47bDxOYW1lOz4+Oz47dDxpPDc+O0A8Rk9CO0NJRjtDRlI7Q0lQO0RBRjtFWFc7dGVzdDs+O0A8Rk9CO0NJRjtDRlI7Q0lQO0RBRjtFWFc7dGVzdDs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8MTs+Pjs+Ozs+O3Q8QDA8Ozs7Ozs7Ozs7Oz47Oz47Pj47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Oz47bDxpPDU3Pjs+O2w8dDxAMDw7Ozs7Ozs7Ozs7Pjs7Pjs+Pjs+Pjs+Pjs+Pjs+A7ZbYUrrWQ6lMKeBWQqtxWOjCJY="
// */
web_reg_save_param("Siebel_Analytic_ViewState7",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_submit_data("Partscontract.aspx",
"Action=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState5}", ENDITEM,
"Name=cmdadd1", "Value=增加自营合同", ENDITEM,
"Name=txtbao1", "Value=", ENDITEM,
"Name=auflag", "Value=", ENDITEM,
"Name=txtyun1", "Value=", ENDITEM,
LAST);
/* Registering parameter(s) from source task id 38
// {Siebel_Analytic_ViewState9} = "dDwxOTQ4NDgzMDt0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDU+Oz47bDx0PDtsPGk8MD47PjtsPHQ8cDxwPGw8VGV4dDs+O2w85bCk57qiICAgIOasoui/juWFieS4tO+8gTs+Pjs+Ozs+Oz4+O3Q8O2w8aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47bDxpPDE+O2k8Mz47PjtsPHQ8QDA8cDxwPGw8VmlzaWJsZTtQYWdlQ291bnQ7XyFEYXRhU291cmNlSXRlbUNvdW50O18hSXRlbUNvdW50O0RhdGFLZXlzOz47bDxvPGY+O2k8MT47aTwwPjtpPDA+O2w8Pjs+Pjs++Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDwxMDAuMDA7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPDEwMC4wMDs+Pjs+Ozs+Oz4+Oz4+Oz4+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+O2w8aTw1Nz47PjtsPHQ8QDA8Ozs7Ozs7Ozs7Oz47Oz47Pj47Pj47Pj47Pj47PtJRhs+MpoTHxEKIEEUEOx7BOK4k"
// */
web_reg_save_param("Siebel_Analytic_ViewState9",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_think_time(22);
web_submit_data("Partscontract.aspx_2",
"Action=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=Bp1", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState7}", ENDITEM,
"Name=txtdd", "Value=PHA0407001", ENDITEM,
"Name=htdate", "Value=2007-7-27", ENDITEM,
"Name=jgtk", "Value=FOB", ENDITEM,
"Name=yunf", "Value=0", ENDITEM,
"Name=baof", "Value=0", ENDITEM,
"Name=yongj", "Value=0", ENDITEM,
"Name=txtsum", "Value=0", ENDITEM,
"Name=sname", "Value=ANHUI HELI INDUSTRIAL VENHICLE IMP & EXP CO.,LTD", ENDITEM,
"Name=bname", "Value=dwef", ENDITEM,
"Name=saddr", "Value=ADD:15 WANG JIANG WEST ROAD HEFEI CHINA", ENDITEM,
"Name=baddr", "Value=ADD: ", ENDITEM,
"Name=stel", "Value=TEL:0551-3639258 FAX:(0551)363966", ENDITEM,
"Name=btel", "Value=", ENDITEM,
"Name=txtPjname1", "Value=aaa", ENDITEM,
"Name=txtTj1", "Value=", ENDITEM,
"Name=txtMzh1", "Value=", ENDITEM,
"Name=txtbzh1", "Value=", ENDITEM,
"Name=txtshl1", "Value=1", ENDITEM,
"Name=txtdw1", "Value=dd", ENDITEM,
"Name=txtdjMoney1", "Value=100", ENDITEM,
"Name=sumMoney1", "Value=100", ENDITEM,
"Name=Hidden1", "Value=0", ENDITEM,
"Name=Hidden2", "Value=0", ENDITEM,
"Name=zyqx", "Value=", ENDITEM,
"Name=fktj", "Value=", ENDITEM,
"Name=zyka", "Value=", ENDITEM,
"Name=ysfs", "Value=", ENDITEM,
"Name=mdg", "Value=", ENDITEM,
"Name=bx", "Value=", ENDITEM,
"Name=bz", "Value=", ENDITEM,
"Name=txtbao1", "Value=0", ENDITEM,
"Name=auflag", "Value=add", ENDITEM,
"Name=txtyun1", "Value=0", ENDITEM,
LAST);
web_submit_data("Partscontract.aspx_3",
"Action=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState9}", ENDITEM,
"Name=txtdd", "Value=PHA0407001", ENDITEM,
"Name=htdate", "Value=2007-7-27", ENDITEM,
"Name=jgtk", "Value=FOB", ENDITEM,
"Name=yunf", "Value=0", ENDITEM,
"Name=baof", "Value=0", ENDITEM,
"Name=yongj", "Value=0", ENDITEM,
"Name=txtsum", "Value=100", ENDITEM,
"Name=sname", "Value=ANHUI HELI INDUSTRIAL VENHICLE IMP & EXP CO.,LTD", ENDITEM,
"Name=bname", "Value=dwef", ENDITEM,
"Name=saddr", "Value=ADD:15 WANG JIANG WEST ROAD HEFEI CHINA", ENDITEM,
"Name=baddr", "Value=ADD: ", ENDITEM,
"Name=stel", "Value=TEL:0551-3639258 FAX:(0551)363966", ENDITEM,
"Name=btel", "Value=", ENDITEM,
"Name=txtPjname1", "Value=", ENDITEM,
"Name=txtTj1", "Value=", ENDITEM,
"Name=txtMzh1", "Value=", ENDITEM,
"Name=txtbzh1", "Value=", ENDITEM,
"Name=txtshl1", "Value=1", ENDITEM,
"Name=txtdw1", "Value=", ENDITEM,
"Name=txtdjMoney1", "Value=0", ENDITEM,
"Name=sumMoney1", "Value=0", ENDITEM,
"Name=Hidden1", "Value=0", ENDITEM,
"Name=Hidden2", "Value=0", ENDITEM,
"Name=zyqx", "Value=", ENDITEM,
"Name=fktj", "Value=", ENDITEM,
"Name=zyka", "Value=", ENDITEM,
"Name=ysfs", "Value=", ENDITEM,
"Name=mdg", "Value=", ENDITEM,
"Name=bx", "Value=", ENDITEM,
"Name=bz", "Value=", ENDITEM,
"Name=Cmds", "Value=确定", ENDITEM,
"Name=txtbao1", "Value=0", ENDITEM,
"Name=auflag", "Value=add", ENDITEM,
"Name=txtyun1", "Value=0", ENDITEM,
LAST);
web_url("配件合同_2",
"URL=http://10.3.1.101/quote/secure/Partscontract.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_url("重新登录",
"URL=http://10.3.1.101/quote/secure/logon.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.3.1.101/quote/secure/Partscontract.aspx",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
return 0;
} |
|