sczhenghui 发表于 2013-2-21 15:21:09

loadrunner 不到请求的参数siebel_Analytic_ViewState4

回放时提示错误。迭代了3次。
找不到请求的参数“Siebel_Analytic_ViewState4”的匹配项。检查请求的边界是否存在于响应数据中。此外,如果要保存的数据超过1024个字节,请使用 web_set_max_html_param_len 增加参数大小.
源代码:
web_reg_save_param("Siebel_Analytic_ViewState4",
                "LB/IC=ViewState\" value=\"",
                "RB/IC=\"",
                "Ord=1",
                "Search=Body",
                LAST);

        lr_think_time(8);

        web_submit_data("LoginP.aspx",
                "Action=http://10.168.1.67/UUMS_ZC_WXZJ_WCF/LoginP.aspx?AppGUID=467e545e-f844-4655-8de9-eec7aa4bd9a2&BackURL=http%3a%2f%2flocalhost%2fWxzj%2fMenuPage%2fLogin.aspx%3fReturnUrl%3d%2fwxzj%2fDefault.aspx&SSPLogin=0",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://10.168.1.67/UUMS_ZC_WXZJ_WCF/LoginP.aspx?AppGUID=467e545e-f844-4655-8de9-eec7aa4bd9a2&BackURL=http%3a%2f%2flocalhost%2fWxzj%2fMenuPage%2fLogin.aspx%3fReturnUrl%3d%2fwxzj%2fDefault.aspx&SSPLogin=0",
                "Snapshot=t372.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=__EVENTTARGET", "Value=", ENDITEM,
                "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
                "Name=__EVENTVALIDATION", "Value=/wEWDwKF5oS7AQKvpuq2CAK5raCZAwLyveCRDwL1zvHFDwLXsbDvCQK+h9KLBQKMzrzeDgLQsfbaDQKF48OJBQLN0fnlCgKMw6CICAKh5qvoBwKUsu4DAofZ0vEDnGN36vKoRAyQ/9+kn1F5Wboywk8=", ENDITEM,
                "Name=username", "Value={userName}", ENDITEM,
                "Name=password", "Value={passWord}", ENDITEM,
                "Name=HiddenAppGUID", "Value=467e545e-f844-4655-8de9-eec7aa4bd9a2", ENDITEM,
                "Name=HiddenYear", "Value=2013", ENDITEM,
                "Name=HiddenMonth", "Value=1", ENDITEM,
                "Name=HiddenDay", "Value=20", ENDITEM,
                "Name=HiddenHour", "Value=16", ENDITEM,
                "Name=HiddenMinute", "Value=29", ENDITEM,
                "Name=HiddenUsbKeyID", "Value=", ENDITEM,
                "Name=HiddenSNO", "Value=", ENDITEM,
                "Name=HiddenDigest", "Value=", ENDITEM,
                "Name=LoginBtn.x", "Value=0", ENDITEM,
                "Name=LoginBtn.y", "Value=28", ENDITEM,
                LAST);

        web_concurrent_start(NULL);
页: [1]
查看完整版本: loadrunner 不到请求的参数siebel_Analytic_ViewState4