You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Adi Raju <ra...@gmail.com> on 2023/08/25 11:38:53 UTC

JMeter script with Websocket and permessage-deflate extension

Hi,



I am in need of implementing Jmeter script that involves WebSocket
communication with permessage-deflate extension that supports compression.



I am already using JMeter plugin “WebSocket Samplers by Peter Doornbosch”,
but when permessage-deflate header is added to  WS connection, we start
seeing only compressed text. Tried using JSR223 post processor to
decompress the received data using java.util.zip.Inflater, but decompress
fails with “java.util.zip.ZipException: incorrect header check” exception.



We transfer text info upto 3MB and using permessage-deflate helps reduce
the data transfer over the wire to KBs. So it is crucial for us to be able
to get JMeter working with permessage-deflate extension.



Appreciate any help to be able to achieve this.



Thanks,

Adi