Hello, does wiremock support mocking websocket calls?
o
Oleg Nenashev
08/09/2023, 5:12 AM
Not yet, it is on our roadmap
a
ahmed abbas
08/09/2023, 6:43 AM
Okay thank you
o
Oleg Nenashev
08/09/2023, 6:53 AM
Just to be clear, it is easy to introduce basic support via external AsyncAPI converter, but it will only work if your test accepts the synchronous behavior
Would it be a use case for you? I cannot make a definite commitment right now but I was about prototyping the AsyncAPI bridge
a
ahmed abbas
08/11/2023, 2:18 PM
Sorry, Oleg I didn't get the point about tests that need to accept synchronous behavior!
o
Oleg Nenashev
08/11/2023, 2:24 PM
Protocols like websockets allow for many asynchronous operations, for example data streaming when one side sends a bunch of messages to another without waiting for a request.
If you are fine we fixed request-response behavior, then a bridge converter is easy to implement