Thursday, February 23, 2023

Error -26601: Decompression function wgzMemDecompressBuffer failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0

The “error -26601 - Decompression function wgzMemDecompressBuffer failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0″ in loadrunner occurs because of insufficient buffer size set in the runtime settings. The Network buffer size is set to 12288 bytes, by default.

In a scenario where user requires to use more than the specified buffer, we encounter the ” Decompression function wgzMemDecompressBuffer failed ” error then ncreasing the network buffer size in Runtime settings> Preferences> Option>General>Netwok Buffer Size. You won't see the error message again

Friday, December 2, 2022

How to find the number of times that a string occurs in the server response in NeoLoad?

You can create a variable extractor to find the string/pattern and extract all occurrences and place them in a variable, once done you use the Variable_matchNr as the number of times to loop.

Example for MatchNR Condition: