|
请教:如何找到错误的原因。
场景设置如下:同时加载所有用户;直到完成为止;Vuser为5个
运行场景的时候,总是报:
vuser_init.c(39): 错误 -26377: 找不到请求的参数“Siebel_Analytic_ViewState2”的匹配项。检查请求的边界是否存在于响应数据中。此外,如果要保存的数据超过 1024 个字节,请使用 web_set_max_html_param_len 增加参数大小
录制脚本如下:
vuser_init()
{
web_set_max_html_param_len("1024");
web_url("login.jsf",
"URL=http://localhost:8080/IBRSweb/xmanager/pages/public/login.jsf",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
/* Registering parameter(s) from source task id 13
// {Siebel_Analytic_ViewState2} = "rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cgAQamF2YS5sYW5nLk9iamVjdAAAAAAAAAAAAAAAeHAAAAADdAABMnB0ACUveG1hbmFnZXIvcGFnZXMvbWFpbm1lbnUvbWFpbm1lbnUuanNw"
// */
web_reg_save_param("Siebel_Analytic_ViewState2",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_start_transaction("登陆");
web_submit_form("j_acegi_security_check;jsessionid=52D663CF6C9124D331FB3BBF2856BA43",
"Snapshot=t2.inf",
ITEMDATA,
"Name=j_username", "Value={h}", ENDITEM,
"Name=j_password", "Value=", ENDITEM,
EXTRARES,
"Url=/IBRSweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12204202/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/spacer.gif", "Referer=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf", ENDITEM,
"Url=/IBRSweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12204202/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/blank.gif", "Referer=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf", ENDITEM,
LAST);
lr_end_transaction("登陆", LR_AUTO);
return 0;
}
Action()
{
lr_rendezvous("录");
lr_start_transaction("录");
web_submit_data("mainmenu.jsf",
"Action=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=header:headerform:newpagesid", "Value=77F9EA5FA9F44C21D5838A5CD22500A2", ENDITEM,
"Name=autoScroll", "Value=", ENDITEM,
"Name=header:headerform_SUBMIT", "Value=1", ENDITEM,
"Name=jscook_action", "Value=header_headerform__idJsp27_menu:A]A5E20A15E93C4AEA904FA7612722B12D", ENDITEM,
"Name=header:headerform:_idcl", "Value=", ENDITEM,
"Name=header:headerform:_link_hidden_", "Value=", ENDITEM,
"Name=javax.faces.ViewState", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
EXTRARES,
"Url=/IBRSweb/ibrs/js/My97DatePicker/skin/WdatePicker.css", "Referer=http://localhost:8080/IBRSweb/ibrs/pages/bizflow/inputfstremit.jsf", ENDITEM,
"Url=/IBRSweb/ibrs/css/icbc.css", "Referer=http://localhost:8080/IBRSweb/ibrs/pages/bizflow/inputfstremit.jsf", ENDITEM,
LAST);
web_submit_data("mainmenu.jsf",
"Action=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:8080/IBRSweb/xmanager/pages/mainmenu/mainmenu.jsf",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=header:headerform:newpagesid", "Value=E1E8FBD3D236A85398B54476E7F0DB0B", ENDITEM,
"Name=autoScroll", "Value=", ENDITEM,
"Name=header:headerform_SUBMIT", "Value=1", ENDITEM,
"Name=jscook_action", "Value=header_headerform__idJsp27_menu:A]A5E20A15E93C4AEA904FA7612722B12D", ENDITEM,
"Name=header:headerform:_idcl", "Value=", ENDITEM,
"Name=header:headerform:_link_hidden_", "Value=", ENDITEM,
"Name=javax.faces.ViewState", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
EXTRARES,
"Url=/IBRSweb/ibrs/js/My97DatePicker/skin/WdatePicker.css", "Referer=http://localhost:8080/IBRSweb/ibrs/pages/bizflow/inputfstremit.jsf", ENDITEM,
"Url=/IBRSweb/ibrs/css/icbc.css", "Referer=http://localhost:8080/IBRSweb/ibrs/pages/bizflow/inputfstremit.jsf", ENDITEM,
LAST);
[ 本帖最后由 irene0331223 于 2008-9-3 14:37 编辑 ] |
|