LoadRunner调试问题之如何使用脚本错误日志

上一篇 / 下一篇  2017-01-22 17:20:44 / 个人分类:loadrunner

在调试脚本的过程中,应该养成把Log打开的习惯,如附图。这样很容易看到出错地方的前因后果,也方便找原因。

loadrunner教程

1、打开Run-time Settings->General->Log窗口;

2、勾上“Enable logging” checkbox;

3、选择“Extended Log”,再根据需要勾选子级别,我一般会勾选前两项;

下面分享一些问题解答:

问题1:Action.c(933): Error -26377: No match found for the requested parameter "merchantPlanid". 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

原因:上一个接口执行失败了,或者返回值里没有你期望save的参数,所以导致web_reg_save_param没有获取到期望的值。

问题2:在Controller里运行脚本时,报错: Failed to send data by channels - post message failed.

原因:Controller->Diagnostics->Configuration...->Diagnostics Distribution里的"Uncheck "Enable the following diagnostics"选项没有被选中。

问题3:当你改变某个关联参数的.dat文件时,总是提示老的.dat文件不存在,或者你注释掉脚本,仍然编译时报错

原因:"Vuser"->"Parameter List"里,不再使用的参数仍然存在,找到它,并删除掉即可。


TAG:

 

评分:0

我来说两句

日历

« 2024-04-27  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 50060
  • 日志数: 33
  • 建立时间: 2016-09-26
  • 更新时间: 2017-08-30

RSS订阅

Open Toolbar