TA的每日心情 | 慵懒 2015-12-18 18:31 |
---|
签到天数: 20 天 连续签到: 1 天 [LV.4]测试营长
|
本帖最后由 CrazyPolaris 于 2015-12-18 19:24 编辑
脚本如下:
Action()
{
web_set_max_html_param_len("1024");
web_reg_save_param("JSESSIONID",
"LB=JSESSIONID=",
"RB=;",
"ORD=1",
LAST);
web_add_cookie("JSESSIONID={JSESSIONID}; DOMAIN=as2.anbwf.com");
web_reg_save_param("code",
"LB=code=",
"RB=&state=",
"ORD=1",
LAST);
web_url("list",
"URL=http://as2.anbwf.com/bsfwx/cookedgoods/list?code={code}&state=STATE",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTTP",
LAST);
return 0;
}
页面是在微信公众号里面的,code是微信返回的动态参数,本想取关联,但是在这关联出错,求大神解析。
报错信息如下:
Action.c(4): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
Action.c(10): Warning: The string 'JSESSIONID' with parameter delimiters is not a parameter.
Action.c(10): web_add_cookie was successful [MsgId: MMSG-26392]
Action.c(12): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
Action.c(18): Warning: The string 'code' with parameter delimiters is not a parameter.
。。。。。。。。。
Action.c(18): Error -26377: No match found for the requested parameter "code". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(18): Notify: Saving Parameter "code = ".
Action.c(18): web_url("list") highest severity level was "ERROR", 23502 body bytes, 245 header bytes, 29 chunking overhead bytes [MsgId: MMSG-26387]
Ending action Action.
|
|