记录一下今天在loadrunner遇到一个问题,提取了响应文本作为参数保存,但是却一直报以下错误:
Error -26377: No match found for the requested parameter “responseMsg”。Check whether the requested boundaries exist in the response data…
原因:
web_reg_save_param在关联期间可以捕获的参数的最大长度的默认值为256个字符,而此次要保存的参数长度超过256个字符的字符串,所以关联失败。
解决方法:
使用web_set_max_html_param_len增加最大有效长度。
例如:
web_set_max_html_param_len(“1024”);
以上语句就是将web_reg_save_param在关联期间可以捕获的参数的最大长度的设置为1024个字符。
loadrunner报错:Error -26377: No match found for the requested parameter “responseMsg“.....
最新推荐文章于 2023-11-14 22:46:35 发布