51Testing软件测试论坛

标题: Error -26377: No match found for the requested parameter [打印本页]

作者: qingliang828    时间: 2016-8-11 18:26
标题: Error -26377: No match found for the requested parameter

原url:
        web_url("payOrder.html",
                "URL=http://122.227.225.142:23661/pwd/payOrder.html?sysid=100000000003&timestamp=2016-08-11+14%3A06%3A43&sign=MvcegUipxixaZZm8XbQ%2FMuyfY6WWMoQNSiWKB4SOJqxkA0Yf7AlPoKpz2n0vSTSoPvvXFzSlsi%2FuxuZCJQvX6zipy0HEp%2FzxEhOFFba37V0%2BR75wB%2BrTOLA6zlejvXl10ElUo45gO7SI9qNONJ3I4KRSZ9VzyTAxP3C6%2FhBJvKE%3D&v=1.0&req="
                "%7B%22param%22%3A%7B%22bizOrderNo%22%3A%22201608111400000516996259%22%2C%22consumerIp%22%3A%2260.216.86.242%22%2C%22jumpUrl%22%3A%22http%3A%2F%2Fpay1.zrbao.net%2FcallbackPage%2Finvest%2FinvestWeb%22%2C%22verificationCode%22%3A%22%22%2C%22bizUserId%22%3A%2262016000003559469928%22%7D%2C%22service%22%3A%22OrderService%22%2C%22method%22%3A%22pay%22%7D",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://ceshi.zrbao.net/borrowSkip/11565.shtml",
                "Snapshot=t45.inf",
                "Mode=HTML",
                LAST);

--------------------------------------------------------------------------------------------------------------------------------------

     关联情况:
   web_set_option("MaxRedirectionDepth", "0");  
        web_set_max_html_param_len("262144");

        web_reg_save_param_ex(
                "ParamName=timestamp",
                "LB=timestamp=",
                "RB=&sign",
                SEARCH_FILTERS,
                "Scope=body",
                LAST);

    web_set_option("MaxRedirectionDepth", "0");  
        web_set_max_html_param_len("262144");
        web_reg_save_param_ex(
                "ParamName=sign",
                "LB=sign=",
                "RB=&v",
                SEARCH_FILTERS,
                "Scope=body",
                LAST);
    web_set_option("MaxRedirectionDepth", "0");

        web_set_max_html_param_len("262144");
        web_reg_save_param_ex(
                "ParamName=req",
                "LB=req=",
                "RB=\"",
                SEARCH_FILTERS,
                "Scope=body",
                LAST);

        web_url("payOrder.html",
                "URL=http://122.227.225.142:23661/pwd/payOrder.html?sysid=100000000003&timestamp={timestamp}&sign={sign}&v=1.0&req={req}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://ceshi.zrbao.net/borrowSkip/11565.shtml",
                "Snapshot=t34.inf",
                "Mode=HTML",
                LAST);



结果:
Action.c(613): Error -26377: No match found for the requested parameter "timestamp". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 262144 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-26377]
Action.c(613): Error -26377: No match found for the requested parameter "sign". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 262144 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-26377]
Action.c(613): Error -26377: No match found for the requested parameter "req". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 262144 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-26377]
Action.c(613): web_url("payOrder.html") highest severity level was "ERROR", 7185 body bytes, 228 header bytes          [MsgId: MMSG-26388]



作者: cq520131517    时间: 2016-8-11 20:23
我个人认为你关联函数格式有问题,你再检查一下,左边界和右边界好像不是这样写的。
作者: jingzizx    时间: 2016-8-12 08:15
关联失败,一步步调试
作者: qingliang828    时间: 2016-8-12 08:56
jingzizx 发表于 2016-8-12 08:15
关联失败,一步步调试

能给个关联的例子吗




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2