- changed version to 1.2.9
How to achieve request response correspondence when Jmeter websocket protocol sends protobuf data?
When using WebSocket for communication, the server will actively push messages. The essence of WebSocket communication is bidirectional, and the server can send messages at any time. These messages may not have a direct correspondence with previous requests, so it is impossible to obtain the expected response for judgment. If you want to achieve a correspondence between a request to the websocket protocol and the expected response in jmeter, what should you do?
Comments (3)
-
reporter -
repo owner Filters are created exactly for such cases. See https://bitbucket.org/pjtr/jmeter-websocket-samplers/src/master/README.md.
Still, it depends on the details of your exact case, but if you are lucky you might be able to filter out the messages that are not a response to the request by using Filters.
-
repo owner - changed status to closed
- Log in to comment