error in WebSocket request-response Sampler
Issue #8
resolved
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)
-
repo owner -
Sorry for such delay, ping filter works fine, thank you. I think you should include this filter to one of releases.
-
repo owner Hi Andrew, Thanks for your feedback. The filters will be in the 0.8 release. Cheers, Peter
-
repo owner - changed status to resolved
- Log in to comment
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.