Websocket check.


Trying to load test our websocket server. I have the example up adn running but cannot get the check to fire.

the example uses

 .check(wsAwait.within(30).until(1).regex(".*I'm still alive.*"))

I have tried different permutations of the check but nothing seems to work.

I am assuming this check is waiting for a “message” on the websocket.

Has any one got this working successfully?



Hi Richard,

There might be 2 explanations:

  1. There’s a bug regarding frames sent along with the websocket handshake. About to be fixed.

  2. Messages are not buffered after connect if you don’t add a check there. Where did you set your check?