51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3781|回复: 3
打印 上一主题 下一主题

[原创] 求助:Error -26377解决方法

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-5-22 20:21:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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)   [MsgId: MMSG-27143]
Run Mode: HTML   [MsgId: MMSG-26000]
Run-Time Settings file: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname26\\default.cfg"   [MsgId: MMSG-27141]
vuser_init.c(12): web_set_max_html_param_len was successful   [MsgId: MMSG-26392]
vuser_init.c(18): Registering web_reg_save_param was successful   [MsgId: MMSG-26390]
vuser_init.c(26): web_url("newmail.rd139.com") was successful, 8698 body bytes, 296 header bytes   [MsgId: MMSG-26386]
。。。。。。。
Running Vuser...
Starting iteration 1.
。。。。。。
Action.c(24): To location "http://hand.rd139.com/index.aspx"   [MsgId: MMSG-26693]
Action.c(24): Redirecting "http://hand.rd139.com/index.aspx" (redirection depth is 1)   [MsgId: MMSG-26694]
Action.c(24): To location "http://hand.rd139.com/AccPage.aspx"   [MsgId: MMSG-26693]
Action.c(24): web_url("sso.aspx") was successful, 6312 body bytes, 1051 header bytes   [MsgId: MMSG-26386]
Action.c(33): web_concurrent_start was successful   [MsgId: MMSG-26392]
Action.c(35): Registering web_url("zb_global.css") was successful   [MsgId: MMSG-26390]
Action.c(43): Registering web_url("skin_green.css") was successful   [MsgId: MMSG-26390]
Action.c(51): Registering web_url("jquery.js_2") was successful   [MsgId: MMSG-26390]
Action.c(59): Registering web_url("indexjs.js") was successful   [MsgId: MMSG-26390]
Action.c(67): Registering web_url("zb_All.js") was successful   [MsgId: MMSG-26390]
Action.c(75): Registering web_url("Ajax.js") was successful   [MsgId: MMSG-26390]
Action.c(83): web_concurrent_end was successful, 180472 body bytes, 1638 header bytes   [MsgId: MMSG-26386]
Action.c(85): web_custom_request("BehaviorGather.ashx") was successful, 3 body bytes, 220 header bytes   [MsgId: MMSG-26386]
Action.c(96): web_concurrent_start was successful   [MsgId: MMSG-26392]
Action.c(98): Registering web_url("mail_bg02_morenban.gif_2") was successful   [MsgId: MMSG-26390]
Action.c(106): Registering web_url("zb_menuOn.png") was successful   [MsgId: MMSG-26390]
Action.c(114): Registering web_url("mail_icons01.gif_2") was successful   [MsgId: MMSG-26390]
Action.c(122): web_concurrent_end was successful, 39583 body bytes, 837 header bytes   [MsgId: MMSG-26386]
Action.c(124): web_submit_data("AccCount.aspx") was successful, 917 body bytes, 220 header bytes   [MsgId: MMSG-26386]
Action.c(136): web_url("zb_Tip.png") was successful, 603 body bytes, 250 header bytes   [MsgId: MMSG-26386]
Action.c(144): web_submit_data("index.aspx") was successful, 5554 body bytes, 221 header bytes   [MsgId: MMSG-26386]
Action.c(156): web_url("zb_icon01.png") was successful, 408 body bytes, 250 header bytes   [MsgId: MMSG-26386]
Ending action Action.
Starting action xiaofei.
xiaofei.c(8): Registering web_reg_save_param was successful   [MsgId: MMSG-26390]
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   [MsgId: MERR-26377]
xiaofei.c(18): web_url("RecordAccount.aspx") highest severity level was "ERROR", 17433 body bytes, 222 header bytes   [MsgId: MMSG-26388]
Ending action xiaofei.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2009-5-23 08:23:37 | 只看该作者
我觉得出现这个问题原因挺多的,我上次找了半天,后来才发现是我的数据库字段问题,我参数化的字段在数据库表中取值是null,取不到值,出现这个问题
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2009-5-25 10:48:11 | 只看该作者
web_set_max_html_param_len(50000)
放在脚本头上,错误是提示你参数值实际已经超过默认的1024了
仔细看了下你有这句话但是你放的位置错了要放在所有的参数前

[ 本帖最后由 xiaoxiabob 于 2009-5-25 10:50 编辑 ]
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2009-6-23 11:59:21 | 只看该作者
同意楼上的答案,我也出现了和楼上同样的问题,后来按楼上说的解决了
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-19 08:30 , Processed in 0.087733 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表