Hi,
I have chain:
`
exec(ws(“auth”).sendText(“some auth text”).await(10 seconds)(ws.checkTextMessage(“auth check”).check(regex(".true."))))
`
But server sends me not only response. It sends some regular messages, and sometimes regular message is received between sending auth message and receiving auth message response. In that case check is failed:
05:11:11.983 [DEBUG] i.g.h.a.w.f.WsActor - Received matching message "regular message" 05:11:11.985 [DEBUG] i.g.h.a.w.f.WsActor - Check failure 05:11:11.987 [DEBUG] i.g.h.a.w.f.WsActor - Check failed, performing next action
Check worked in Gatling 2.3.1, but in Gatling 3.0.0 it doesn’t work.
Is there any way to check all message until timeout?