A script was running properly under BPM 7.52. After upgrading to BPM 9.03, we are getting the error - Decompression function (wgzMemDecompressBuffer) failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0. The script is running fine in VuGen.
When error code received is -5, it means that there was an error on the compresion method, usually when this error occurs on the BPM and not on the Vugen, it means that there's a network or server bottlenecks because the compression method consumes resources on the server.
Need to re-compile the script on VuGen, when compiling the script change the Network buffer, on the VuGen program, click on Vuser -> Runtime settings -> Internet Protocol -> Preferences, click on Options and change the parameter for "Network Buffer Size" to 49152.
This will encrease the Buffer Size so it reduces the number of packages making the BPM to spend less resources and avoiding the error.