51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4912|回复: 1
打印 上一主题 下一主题

[讨论] Message Code 26612 错误

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-8-21 10:10:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
哪位高手帮我解决一下啊1

   我录制的脚本是公司正在开发的程序,使用的是C#+ASP.

   /* -------------------------------------------------------------------------------
scrīpt Title       :
scrīpt Descrīption :
                        
                        
Recorder Version   : 1196
   ------------------------------------------------------------------------------- */

vuser_init()
{

web_add_cookie("GeongLanguageCookie=20080133144518203086; DOMAIN=192.168.0.121");

web_add_cookie("GeongFormsCookie="
  "FF52F0D026368ECEEA076A456F76D95F5A89F89B0928A47AD68C7CF11C247FA2B6F106C227AC22F77CA4FA9557156B2D2D7056AED124ACF9FECBE8D23E860A31FD37250ADFDF83F09CC9B5583F89D53FA3F05BFC89EB627A9F7F036924FEAE1BD3DBE4CC2E51B2B0F8377B2A06B7771EF978E6E11CFD4F4B0233284AFAEEB83DEB57091864F48751E07E1724A59A84F6F0513A2BEE7B758E9328AC18024044AE842DB749D4DAA4CFA7A1738520A5D80D1A404D4D95786326306788FCCC78CE718A47C4FCF39F2728CF1EA9D90131C355DBD8ED78EEA3AE760185FB5A61C7CC4AD0CEF985A3561FECDD974DEB18FA35ADCD6E666D2A885F02D90383"
  "9D53E8B5A7F03A2EA9D39CFCA00F3DD12B3F5E501885085D7CA92467F6B607498EFC0F12E93A5540CE618B378E5E9D9D89B1E9879E6D108E4BE062DA9BF5CA0269AF21D0D189EC50E9DFB1E047F6C4C578E26109D41C2D6135AF069EB94580A4E960C2A3FA833D2C134288FDA0A0444218D85DC06D5788E1E04E9ACBB8AD21D3969362B619FBC7756354FA81A71C1F77872FC60BA4D2669DE847171946A47A4A023939DB63689F8B9848F37F6399C642432ADD76C06BE702AB89F0C359FB42CCD1A9B4D8B840BAC08A072B372C5CD810F34CE99BCAF0499097CC3C920A65EE02A530AF02C6C437100E97901DCEAE8FE65A84034C927BA57B19E732"
  "8C0C04B07CC0F1AC9555B18F4DCA46EA13BA670E3A31180FC2193FBCE556C35DBB986914DFBAD44BD5631F85A448C40A562BA146BA9F24FE988AA232BA773647AD3A55F0E36F612C91064C66121FAABF4BC0BBC4577CA312B79B98DE0B3F55A12F1A2B317F38E221EE7A304AC5DE6D9BB95124A411396A5AD34F204C8B52A6B74A0D96CA78D56043990495D2600F638298C328A4E9F66523BBC76192404727CC4D007015E43F9717766804A33BD5A662D7226CBBE20639B42DA4E0AD55690D11F714EB36E2E28E95BBCD114660C1F22A88569C128F8FB2C4E259863D1E365BD91DD882B1A899E0627DD2313D1F727B55FA0A5FD9C5F9C4DB2BA902"
  "D7AFF72B8CA8F291133776B6E16A36DFB792C372D077C7591F861F9B031768F75C10E4247BD9981F9390C1B2A1C5542F6D541EE74DE83D8D3059AB6B75C7E5058D2BCFFB7D27FA982B9C020B387702E22C089F84A7DB7A26E7A9ACA4D1E37098A7EC72D863A9E5E509A59D64260A0F2F9C799B54AEA2730AEB5563786F2F3B20D8E2037B60D96E69DCF50B793AEE70D663542BB3BD5BA9E0FC99D55080078EB76C4DBD6C9875780F125B37070FDE64DF5021C557BA5D8A0CBDA64E39F04AB00B78C58E2D4D928037B9FB42757E91A9C14B1833F9B3C21AB12E004460305DE15D6B76AB4DED27ECC21228E393EAD4EC8BAF5463A6DD1519CAF2C030"
  "2DA6AF2DF45B0D38E63734F691FECDF5B5090B191F73CF262E0A8FDBB38556F1B6DB082597B7F9B9680A52B290CD014A4BA9454003948D1500547253EB9318A45D61DC0BC282D97F8A936927599ACC965EC7AC65E4758702930AB3D628D417BDEA93058CA5DE8748164E7ED36C3B65F07E954DE2E5863F7445F7324E17F7B4F850D842A974FF9050CECFAC26C24331FD9E98C644CBF5B21DC1D2AB5127E303B0F352DF2F430925953F0C0622585EA8E7C704E1165AE4EA6CEDCBC95A1325E173CCC692C5B99892DA4C5132106877885F878524B47E7985E0797F94B75A41F0A265F1B7B57EB3904FF67A677697637BA9B4FC1F4048886EC2F757CF"
  "E1259FEEF5A0C7EBE63EDF869E5A3B6D7CE4347404E1A66DFD4F58A39D22EAD8C6B55E25FDF8CF780778A70C11FDE57340E54006344503C7C7A22F7A4B942888C676F20A4943F33F13BFC2B551B3E6785E1DD2232DE3CB7CBE3CE3E547A60A4D8422025461A6420DA2; DOMAIN=192.168.0.121");

web_set_max_html_param_len("1024");

/* Registering parameter(s) from source task id 294
// {Siebel_Analytic_ViewState2} = "/wEPDwUKMTQwMDM2NzczNA8WAh4FVGl0bGUFDOeZu+W9lemhtemdohYCAgMPZBYCAgMPZBYCZg9kFg4CAQ8UKwADZGVnZAIDDw8WAh4EVGV4dAUM55So5oi357yW56CBZGQCBw8PFgIfAQUM57O757uf5a+G56CBZGQCCw8PFgIfAQUM6K+t6KiA57G75Z6LZGQCDQ8QDxYGHg5EYXRhVmFsdWVGaWVsZAUCSUQeDURhdGFUZXh0RmllbGQFBE5hbWUeC18hRGF0YUJvdW5kZ2QQFQMM57mB6auU5Lit5paHDOeugOS9k+S4reaWhwdFbmdMaXNoFQMUMjAwODAxMzExNTU4MTg3MDM4MzgUMjAwODAxMzMxNDQ1MTgyMDMwODYUMjAwODAxMzMxNDQ1MTgyMDMwNjYUKwMDZ2dnFgECAWQCDw8WAh4FdmFsdWUFDOOAgOOAgOeZu+mZhmQCEQ8WAh8FBQzjgIDjgIDpgIDlh7pkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQ5XZWJNZXNzYWdlQm94MdIUBSjI1R/yHAyYkhxWa98Z71Q4"
// */

web_reg_save_param("Siebel_Analytic_ViewState2",
  "LB/IC=ViewState\" value=\"",
  "RB/IC=\"",
  "Ord=1",
  "Search=Body",
  "RelFrameId=1",
  LAST);

web_url("loginpage.aspx",
  "URL=http://192.168.0.121/Geong/loginpage.aspx",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t10.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=Image/Login/LoginPage5_02.gif", ENDITEM,
  "Url=Image/Login/LoginPage5_01.gif", ENDITEM,
  "Url=Image/Login/Login.gif", ENDITEM,
  "Url=Image/Login/LoginPage5_03.gif", ENDITEM,
  "Url=Image/Login/LoginPage5_04.gif", ENDITEM,
  "Url=Image/Login/Cancel.gif", ENDITEM,
  LAST);

lr_think_time(13);

web_custom_request("loginpage.aspx_2",
  "URL=http://192.168.0.121/Geong/loginpage.aspx",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/plain",
  "Referer=http://192.168.0.121/Geong/loginpage.aspx",
  "Snapshot=t11.inf",
  "Mode=HTML",
  "Body=scrīptManager1=UpdatePanel1|btnLogin&__LASTFOCUS=&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE={Siebel_Analytic_ViewState2_URL}&txtUserCode=mickey&txtPassword=0&ddlLanguage=20080133144518203086&__EVENTVALIDATION=%2FwEWCQL3krTMAgKj1dLzBwK1qbSRCwL5%2BvkbAuXq4agHAvuT6ngCmYuZ%2BAMCgtyHhgwCpeG70AN6lxTqmX8F%2BMiY4wWAWR3uvpoHdQ%3D%3D&btnLogin=%E3%80%80%E3%80%80%E7%99%BB%E9%99%86",
  LAST);

web_convert_param("Siebel_Analytic_ViewState2_URL",
  "SourceString={Siebel_Analytic_ViewState2}",
  "SourceEncoding=HTML",
  "TargetEncoding=URL",
  LAST);

web_url("NewMainPage.aspx",
  "URL=http://192.168.0.121/Geong/NewMainPage.aspx?PageId=MainPage",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t12.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=Image/MainImg/background.gif", "Referer=http://192.168.0.121/Geong/NewMainPage.aspx?PageId=MainPage", ENDITEM,
  LAST);

return 0;
}
   不知道是我的脚本录制错了(我录制了很多次,录制的脚本都是一样的,每一次都是这一布出错),还是服务器的问题,请哪位高手帮我指点一下.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-13 06:24 , Processed in 0.069129 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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