I am using the Jmeter WebSocket Sampler. I have successfully connected to the websocket, and can send a text request. It is a chat bot, and I will be validating it's response.
However, I have observed in Fiddler, the websocket responds to the text request with a short confirmation response before the chat bot's response.
for example, the first response is {"ok":true, "replyto":1151810327491, "type":"ack"} where replyto is a message ID. I don't really need this information.
Only then is the real response sent (as I observed in Fiddler), the one I would actually like to read and put Assertions on.
I have tried Websocket request-response Sampler, Websocket Single Write Sampler (followed by a Single Read Sampler), and I have tried the general Websocket Sampler.
TL;DR: The websocket responses come in "frames", each having a JSON response, my samplers are closing right after the first frame.