落叶寒蝉 发表于 2008-7-28 09:46:14

很多类似的LR8.1回放出错,录制没问题

以下是错误信息:
Action.c(255): 错误 -26377: 找不到请求的参数“Siebel_Analytic_ViewState3”的匹配项。检查请求的边界是否存在于响应数据中。此外,如果要保存的数据超过 99999 个字节,请使用 web_set_max_html_param_len 增加参数大小       
Action.c(255): web_url("ShoppingCart.aspx") 最高严重级别为“ERROR”,106 个正文字节,398 个标头字节       

我试过将web_set_max_html_param_len长度设置成:999999都不行,还是提示这样的问题,我的是基于HTML语言录制的,我录制的是网站程序
我在网上看了很多这样类似的问题,但是没有一个能完整解决这个问题的,希望大家帮帮忙把这个问题给解决掉,以后碰到类似问题的同行们,也就不必着急了


下面是完整的代码,期待高手的解决:Action()
{

        web_add_cookie("__utma=184026726.3881858536296267000.1216798616.1216978779.1216979684.29; DOMAIN=192.168.220.11");

        web_add_cookie("__utmz=184026726.1216798616.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DOMAIN=192.168.220.11");

        web_set_max_html_param_len("99999");

        web_url("192.168.220.11:8007",
                "URL=http://192.168.220.11:8007/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t16.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/common/style.css", ENDITEM,
                "Url=/images/bg.gif", ENDITEM,
                "Url=/images/bg_03.jpg", ENDITEM,
                "Url=/images/bg_04.jpg", ENDITEM,
                "Url=/images/bg_06.jpg", ENDITEM,
                "Url=/images/bg_08.jpg", ENDITEM,
                "Url=/images/login.jpg", ENDITEM,
                "Url=/images/xian_01.jpg", ENDITEM,
                "Url=/images/anniu_04.gif", ENDITEM,
                "Url=/images/xiaotupian_05.jpg", ENDITEM,
                "Url=/images/xiaotupian_01.jpg", ENDITEM,
                "Url=/images/xiaotupian_04.gif", ENDITEM,
                "Url=/images/xiaotupian_03.gif", ENDITEM,
                "Url=/images/bg_07.gif", ENDITEM,
                "Url=/images/arrow.gif", ENDITEM,
                "Url=/images/bg_09.jpg", ENDITEM,
                "Url=/images/h6_bg.gif", ENDITEM,
                LAST);

        web_link("World of Warcraft - US",
                "Text=World of Warcraft - US",
                "Ordinal=1",
                "Snapshot=t17.inf",
                LAST);

        web_add_cookie("HumanClickID=-156088021344-1217205184:-1:-1:-1:-1; DOMAIN=server.iad.liveperson.net");

        web_add_cookie("HumanClickID=-156088021344; DOMAIN=server.iad.liveperson.net");

        web_submit_data("GoldGameServerSelect.aspx",
                "Action=http://192.168.220.11:8007/GoldGameServerSelect.aspx?GameCode=013&GameName=WOW-US",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.220.11:8007/Cheap.013.WOW-US.aspx",
                "Snapshot=t18.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__EVENTTARGET", "Value=", ENDITEM,
                "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                                        "                "RightControl1$tboxUsername=&RightControl1$tboxPassword=&dlistServerSelect=013%2C002%2C004&",
                LAST);

        web_url("1823875",
                "URL=http://server.iad.liveperson.net/hc/1823875/?visitor=&msessionkey=&site=1823875&cmd=startPage&page=http%3A//192.168.220.11%3A8007/Cheap.013.013%2C001%2C001.WOW-US.aspx&visitorStatus=INSITE_STATUS&activePlugin=none&pageWindowName=&javaSupport=false&id=1121512585&scriptVersion=1.1&d=1217205321765&scriptType=SERVERBASED&title=item4sales%20Buy%20WoW%20Gold%2C%20World%20of%20Warcraft%20Gold%2C%20FFXI%20Gil%2CFinalFantasy%20XI%20Gil%2C%20Lineage%202%20Adena%20Default&referrer=http%3A//"
                "192.168.220.11%3A8007/Cheap.013.WOW-US.aspx",
                "Resource=0",
                "Referer=http://192.168.220.11:8007/Cheap.013.013,001,001.WOW-US.aspx",
                "Snapshot=t20.inf",
                "Mode=HTML",
                LAST);

        web_custom_request("GoldProductList.aspx_2",
                "URL=http://192.168.220.11:8007/GoldProductList.aspx?GameCode=013&GameServerCode=013%2c001%2c001&GameName=WOW-US",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/plain",
                "Referer=http://192.168.220.11:8007/Cheap.013.013,001,001.WOW-US.aspx",
                "Snapshot=t21.inf",
                "Mode=HTML",
                "Body=RightControl1$ScriptManager1=UpdatePanel1|rptGoldList$ctl16$btnDropOrder&__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE="
                "%                        LAST);

        /* Registering parameter(s) from source task id 281
        // {Siebel_Analytic_ViewState3}
        // */

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

        web_url("ShoppingCart.aspx", (出错在这)
                "URL=http://192.168.220.11:8007/ShoppingCart.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t22.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://67.228.160.109:8049/r.aspx?domain=item4sale&u=http%3A//192.168.220.11%3A8007/ShoppingCart.aspx&rf=&sr=1280*1024&act=&tm=1217205324531", ENDITEM,
                LAST);

       
        return 0;
}
我只把代码发到出错这里,太打了发不完

落叶寒蝉 发表于 2008-7-28 09:50:47

补充下:开发的语言是C#,asp.net

iori 发表于 2008-7-28 10:17:54

关联函数放置的位置有问题,你这是手动关联的?

落叶寒蝉 发表于 2008-7-28 11:45:55

自动关联的,现在我不知道怎么去关联啊,我把运行时设置的关联全部选上了
页: [1]
查看完整版本: 很多类似的LR8.1回放出错,录制没问题