error in WebSocket request-response Sampler

Issue #8 resolved
Former user created an issue

Hello, i found something and i belive this is a bug.

Some websocket servers time to time send ping request to know if client is still alive. I have situation, when server on every request, answer with ping and then with response data actually. And in this case WebSocket request-response Sampler and even WebSocket Ping/Pong return that:

Response code: Sampler error: unexpected frame type. Response message: Received: Ping frame with application data 'ping data'

Can you somehow fix that?

Comments (4)

  1. Peter Doornbosch repo owner

    Yes. You should checkout the "filter" branch. This provides a "ping frame filter". If you add this to your test plan, it will filter out the ping for the samplers in its scope, so your request-response sampler will not see it and only receive the proper response. Hope this helps. If not, let me know.

  2. Andrew

    Sorry for such delay, ping filter works fine, thank you. I think you should include this filter to one of releases.

  3. Peter Doornbosch repo owner

    Hi Andrew, Thanks for your feedback. The filters will be in the 0.8 release. Cheers, Peter

  4. Log in to comment