LoadRunner Error-26601 问题的解决方法

录制了一个PHP的搜素功能的脚本,回放的时候不报错, 但是跑场景的时候都会报这个错误

Action.c(8): Error -26601: Decompression function (wgzMemDecompressBuffer) failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, utUse=0
请教别人后,得知有一下三种方法
> > 1.increas the network buffer. 
> > 2.auto header 
> > 3.adjust pacing and think time. 
 
1、setting--perfernce 里设置
2、lr_auto_head("Accept-Encode","gzip");
3、调整pacing和think time
 
尝试了三种方法,只有第一种解决了。场景运行时没报错。
(注:network buffer size 我的默认是12288,我调整为122880)
具体原因:
据说是运行过程中LR下载数据包时,一次没有下载完,然后进行压缩,就报错了。
 
其他解释:http://www.cnblogs.com/PerformanceTesting/archive/2011/11/18/2253620.html

 

posted @ 2015-09-29 19:06  白灰  阅读(571)  评论(0)    收藏  举报