情况描述如题,错误代码如下
Action.c(172): Error -26377: No match found for the requested parameter "WCSParam45". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size
1、我使用的自动关联,单次回放可以成功,是不是可以排除关联函数的问题?;
2、其次肯定不是字节长度的问题,因为变量都是系统返回的 32 位 MD5 码,1024 足够了
百度了半天原因应该是因为前置的操作没有成功导致没有取到关联的变量值,这个的概率比较大,那就接下来请大神看看我的操作问题
脚本如下(省略了 extrares 中的内容)

lr_start_transaction("优化");

/* Registering parameter(s) from source task id 65
// {WCSParam2} = "351288cd84422bf48229ae1cc0ccb275"
// */
web_reg_save_param("WCSParam2",
"LB/DIG=3&md5=",
"RB/DIG=&show=",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);

web_url("优化词条",
"URL=http://d3m2.zhongsou.com/Keyword/ylogs?kid=ID}&action=seo{",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://d3m2.zhongsou.com/Keyword/seo",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,

LAST);

web_custom_request("autodata",
"URL=http://d3m2.zhongsou.com/Searchsource/autodata",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://d3m2.zhongsou.com/Searchsource/index?kid=ID}&faction=seo{",
"Snapshot=t5.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"BodyBinary=kid={ID}&keyword={word}&columns=鏂伴椈鍔ㄦ"
"\x80\x81"
"&typeid=3&md5={WCSParam2}",
EXTRARES,

LAST);

/* Registering parameter(s) from source task id 135
// {WCSParam45} = "50dae4a7f66f8deb140004cc"
// */
web_reg_save_param("WCSParam45",
"LB/DIG=type=\"checkbox\" value=\"",
"RB/DIG=\" />",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);

/* Registering parameter(s) from source task id 135
// {WCSParam47} = "50dae4a7f66f8deb140004cb"
// */
web_reg_save_param("WCSParam47",
"LB/DIG=type=\"checkbox\" value=\"",
"RB/DIG=\" />",
"Ord=2",
"Search=Body",
"RelFrameId=1",
LAST);

web_url("index",
"URL=http://d3m2.zhongsou.com/Searchsource/index?kid=ID}&faction=seo&keyword=word}&columns=%E6%96%B0%E9%97%BB%E5%8A%A8%E6%80%81{",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,

LAST);

web_custom_request("temporary",
"URL=http://d3m2.zhongsou.com/Searchsource/temporary",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://d3m2.zhongsou.com/Searchsource/index?kid=ID}&faction=seo&keyword=word}&columns=%E6%96%B0%E9%97%BB%E5%8A%A8%E6%80%81{",
"Snapshot=t7.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"BodyBinary=typeid=3&id={WCSParam45},{WCSParam47}&kid={ID}&md5={WCSParam2}&temporary_keyword={word}&temporary_columns=鏂伴椈鍔ㄦ"
"\x80\x81"
"",
EXTRARES,

LAST);

web_url("index_2",
"URL=http://d3m2.zhongsou.com/Searchsource/index?kid=ID}&faction=seo&keyword=word}&columns=%E6%96%B0%E9%97%BB%E5%8A%A8%E6%80%81{",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,

LAST);
lr_end_transaction("优化", LR_AUTO);


↙↙↙阅读原文可查看相关链接,并与作者交流