I have a use case where I just want to listen to web socket messages.
I send messages to the service over HTTP protocol and expect some response over WebSocket.
But I am unable to do this in Gatling v3.0. I can only send messages and expect something. I don’t have anything to send over WebSocket.
Something like this:
scenario(“open websocket and check incoming messages”)
.exec(feed(feeder))
.exec(openWebSocket)
.pause(1)
.repeat("${wsMessagesCount}") {
exec(publishMessage())
.pause(1)
.exec(
ws(“Listen”)
.await(CheckMsgWaitTime)(
wsCheckMsg
)
)
}
.exec(closeWebSocket)
Can someone please help?