Receiving ping while waiting for pong causes a sampler error
Issue #59
closed
Seems like receiving a ping from the server while waiting for a response to a client's ping causes the ping/pong sampler to fail.
Response code: Sampler error: unexpected frame type. Response message: Received: Ping frame with application data ''
Adding an option not to discard pong to the ping/pong filter would both prevent the sampler from failing and allow responding to pings.
On a related note, typo with "pong" being referred to as "ping" PongFrame.java:46
Comments (4)
-
repo owner -
repo owner - changed status to open
-
repo owner I think https://bitbucket.org/pjtr/jmeter-websocket-samplers/commits/branch/filter-ping-only would suit your needs. If you have any comments / improvements, please let me know.
-
repo owner - changed status to closed
included in version 1.2
- Log in to comment
Hi Rytis,
Thanks for your suggestion. Sounds like a good idea, i'll look into it.
Regards, Peter