求助:Error -26377解决方法
xiaofei(){
/* Registering parameter(s) from source task id 117
// {Siebel_Analytic_ViewState29} = "/wEPDwULLTE0NTk3MzY4NDUPZBYCAgEPZBYQAgMPD2QWBB4Gb25ibHVyBRdDaGVja19SZWNvcmREYXRlKDAsIDApOx4Hb25jbGljawVDbGhnY2FsZW5kYXIoJ1JlY29yZERhdGUxX1RleHRCb3gnLGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJwaWMxIikpO2QCBQ8PZBYCHwAFE0NoZWNrX1Byb2plY3QoMCwgMClkAggPD2QWAh8ABRNDaGVja19BY2NvdW50KDAsIDApZAIODxAWBh4ORGF0YVZhbHVlRmllbGQFBVNFUUlEHg1EYXRhVGV4dEZpZWxkBQhDQVRFTkFNRR4LXyFEYXRhQm91bmRnEBUQBuWFtuWugwzmlZnogrLln7norq0G55S15ZmoDOaXpeW4uOa2iOi0uQbljLvnlpcG5bGF5L2PDeaKlei1hC/kv53pmakG6YCa6K6vDOWtneaVrOeItuavjQ3mlofljJYv5aix5LmQDOWtkOWls+WfueWFuw3lgaXouqsv576O5a65DOacjemlsOijheaJrg3npL7kuqQv6IGa5LyaBuS6pOmAmgbppa7po58VEAQzMjgzBDMyODIEMzI4MQQzMjgwBDMyNzkEMzI3OAQzMjc3BDMyNzYEMzI3NQQzMjc0BDMyNzMEMzI3MgQzMjcxBDMyNzAEMzI2OQQzMjY4FCsDEGdnZ2dnZ2dnZ2dnZ2dnZ2dkZAIVDw9kFgQfAAUXQ2hlY2tfUmVjb3JkRGF0ZSgxLCAwKTsfAQVDbGhnY2FsZW5kYXIoJ1JlY29yZERhdGUyX1RleHRCb3gnLGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJwaWMyIikpO2QCFw8PZBYCHwAFE0NoZWNrX1Byb2plY3QoMSwgMClkAhoPD2QWAh8ABRNDaGVja19BY2NvdW50KDEsIDApZAIdDxAWBh8CBQVTRVFJRB8DBQhDQVRFTkFNRR8EZxAVBwblhbblroMG56S86YeRBuWFvOiBjAzmiL/kuqfmipXotYQS6YeR6J6N6K+B5Yi45oqV6LWEBuWllumHkQblt6XotYQVBwQxNjg3BDE2ODYEMTY4NQQxNjg0BDE2ODMEMTY4MgQxNjgxFCsDB2dnZ2dnZ2dkZGR9MRh8Epgh/fJqCsIJR7qUsrD1XA=="
// */
web_reg_save_param("Siebel_Analytic_ViewState29",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_think_time(10);
web_url("RecordAccount.aspx",
"URL=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hand.rd139.com/AccPage.aspx",
"Snapshot=t85.inf",
"Mode=HTTP",
LAST);
web_set_max_html_param_len("1320");
web_concurrent_start(NULL);
web_url("gray.css",
"URL=http://hand.rd139.com/css/gray.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t86.inf",
LAST);
web_url("TipsResult.js",
"URL=http://hand.rd139.com/Js/TipsResult.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t87.inf",
LAST);
web_url("RecordAccount.js",
"URL=http://hand.rd139.com/Js/RecordAccount.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t88.inf",
LAST);
web_url("lhgcalendar.js",
"URL=http://hand.rd139.com/Js/lhgcalendar.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t89.inf",
LAST);
web_url("date.gif",
"URL=http://hand.rd139.com/zb_img/date.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t90.inf",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("mail_write.png_2",
"URL=http://hmg1.rd139.com/lighthttp/matrix/coremail/images/skin_green/mail_write.png",
"Resource=1",
"RecContentType=image/png",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t91.inf",
LAST);
web_url("zb_main.png",
"URL=http://hand.rd139.com/zb_img/zb_main.png",
"Resource=1",
"RecContentType=image/png",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t92.inf",
LAST);
web_concurrent_end(NULL);
lr_think_time(8);
web_submit_data("RecordAccount.aspx_2",
"Action=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Method=POST",
"RecContentType=text/html",
"Referer=http://hand.rd139.com/RecordAccount.aspx?Type=0",
"Snapshot=t93.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__EVENTTARGET", "Value=Insert_UserAccount1", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState29}", ENDITEM,
"Name=RecordDate1_TextBox", "Value=2009-5-22", ENDITEM,
"Name=Project1_TextBox", "Value=fd", ENDITEM,
"Name=Account1_TextBox", "Value=12", ENDITEM,
"Name=Address1_TextBox", "Value=fsad", ENDITEM,
"Name=ClassID1_DropDownList", "Value=3280", ENDITEM,
"Name=ClassName1_TextBox", "Value=", ENDITEM,
"Name=Method1_HiddenField", "Value=2", ENDITEM,
"Name=SeqID1_HiddenField", "Value=", ENDITEM,
"Name=OldAccount1_HiddenField", "Value=", ENDITEM,
"Name=RecordDate2_TextBox", "Value=2009-5-22", ENDITEM,
"Name=Project2_TextBox", "Value=", ENDITEM,
"Name=Account2_TextBox", "Value=", ENDITEM,
"Name=ClassID2_DropDownList", "Value=1687", ENDITEM,
"Name=ClassName2_TextBox", "Value=", ENDITEM,
"Name=Method2_HiddenField", "Value=2", ENDITEM,
"Name=SeqID2_HiddenField", "Value=", ENDITEM,
"Name=OldAccount2_HiddenField", "Value=", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWEgLt/KqYCwKNhr/MBAKDhMzACwLjkfS4BgLQwI/tBALH05CgDQKU4f/mCQLNzrnEDALo2cM5Av7KoIECAqiXk/MEAoOE4KMLAuOR4P0GAuK8wvcMAovAg9cGAsjO1fsJAvH4rikCz4b6QCdegrIYpSkjsIFu9lxCq0b0o3u3", ENDITEM,
LAST);
return 0;
}
replay log如下:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.50 for WIN2003; WebReplay9a build 6220 (Dec 28 2008 17:01:56)
Run Mode: HTML
Run-Time Settings file: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname26\\default.cfg"
vuser_init.c(12): web_set_max_html_param_len was successful
vuser_init.c(18): Registering web_reg_save_param was successful
vuser_init.c(26): web_url("newmail.rd139.com") was successful, 8698 body bytes, 296 header bytes
。。。。。。。
Running Vuser...
Starting iteration 1.
。。。。。。
Action.c(24): To location "http://hand.rd139.com/index.aspx"
Action.c(24): Redirecting "http://hand.rd139.com/index.aspx" (redirection depth is 1)
Action.c(24): To location "http://hand.rd139.com/AccPage.aspx"
Action.c(24): web_url("sso.aspx") was successful, 6312 body bytes, 1051 header bytes
Action.c(33): web_concurrent_start was successful
Action.c(35): Registering web_url("zb_global.css") was successful
Action.c(43): Registering web_url("skin_green.css") was successful
Action.c(51): Registering web_url("jquery.js_2") was successful
Action.c(59): Registering web_url("indexjs.js") was successful
Action.c(67): Registering web_url("zb_All.js") was successful
Action.c(75): Registering web_url("Ajax.js") was successful
Action.c(83): web_concurrent_end was successful, 180472 body bytes, 1638 header bytes
Action.c(85): web_custom_request("BehaviorGather.ashx") was successful, 3 body bytes, 220 header bytes
Action.c(96): web_concurrent_start was successful
Action.c(98): Registering web_url("mail_bg02_morenban.gif_2") was successful
Action.c(106): Registering web_url("zb_menuOn.png") was successful
Action.c(114): Registering web_url("mail_icons01.gif_2") was successful
Action.c(122): web_concurrent_end was successful, 39583 body bytes, 837 header bytes
Action.c(124): web_submit_data("AccCount.aspx") was successful, 917 body bytes, 220 header bytes
Action.c(136): web_url("zb_Tip.png") was successful, 603 body bytes, 250 header bytes
Action.c(144): web_submit_data("index.aspx") was successful, 5554 body bytes, 221 header bytes
Action.c(156): web_url("zb_icon01.png") was successful, 408 body bytes, 250 header bytes
Ending action Action.
Starting action xiaofei.
xiaofei.c(8): Registering web_reg_save_param was successful
xiaofei.c(18): Error -26377: No match found for the requested parameter "Siebel_Analytic_ViewState29". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size
xiaofei.c(18): web_url("RecordAccount.aspx") highest severity level was "ERROR", 17433 body bytes, 222 header bytes
Ending action xiaofei.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated. 我觉得出现这个问题原因挺多的,我上次找了半天,后来才发现是我的数据库字段问题,我参数化的字段在数据库表中取值是null,取不到值,出现这个问题 web_set_max_html_param_len(50000)
放在脚本头上,错误是提示你参数值实际已经超过默认的1024了
仔细看了下你有这句话但是你放的位置错了要放在所有的参数前
[ 本帖最后由 xiaoxiabob 于 2009-5-25 10:50 编辑 ] 同意楼上的答案,我也出现了和楼上同样的问题,后来按楼上说的解决了
页:
[1]