when we are mocking messages through a webSocket, we can send messages based on a socket received message (using expect) or on a timer (using waitFor).
I think we cannot expect an http request and given that send a message through the webSocket.
Do you know if there is a workaround for this?
In the system we are testing, the requests sent by the client are using normal http request and the webSocket is just sending the responses.
when we are mocking messages through a webSocket, we can send messages based on a socket received message (using expect) or on a timer (using waitFor). I think we cannot expect an http request and given that send a message through the webSocket. Do you know if there is a workaround for this? In the system we are testing, the requests sent by the client are using normal http request and the webSocket is just sending the responses.