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:

 

评分:0

我来说两句

我的栏目

日历

« 2024-04-27  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 6441
  • 日志数: 6
  • 建立时间: 2014-11-11
  • 更新时间: 2014-12-29

RSS订阅

Open Toolbar