LoadRunner - 脚本优化 - 设置页面参数长度
上一篇 /
下一篇 2014-12-08 14:05:58
/ 个人分类:LoadRunner
设置页面参数最大长度
在脚本中,进行关联时,运行脚本有时会报如下错误:
Action_1.c(21): Warning -26377: No match found for the requested parameter "param_Test". 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: MWAR-26377]
因为页面默认最大值为256 bytes,所以我们可以进行手动设置,如下:
web_set_max_html_param_len(“10240”);//设置大小,大小根据需要设定就可以了
注:该方法最好先放在脚本的前面。
收藏
举报
TAG: