-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to mock WS response? #17
Comments
Hi @captain-yossarian . Currently the lib is built for testing existing WebSocket connections. |
@dsebastian Thanks for such fast response. I'm just curious, how you mock WS response? From the bird eye view |
@captain-yossarian We use a custom built server to serve mock payloads. Similar to how Wiremock does it, but with streaming data. |
Hi there, I've also been looking for a library/solution to mock WS responses from my tests. It would be super useful to have access to your internal tool @dsebastian. Thanks in advance! |
Hi @mrpicklez70 , we were quite busy with the latest release, which just went out. The task is on the list and will be picked up shortly hopefully if there are people interested in this functionality. |
I would be useful to have this, I have also been looking for a solution of how to mock WS responses, without success so far :( |
It would be amazing if you open sourced the tool for mocking WS responses 😄 Looking forward to trying it out as soon as it's published! |
This is exactly what we're missing out in our team to improve testing. Would definitely be very helpful if you make it happen. |
It would be great to add the ability to mocking WS responses to allow testing on some slow WS connections. |
Thanks to everyone for pushing this request forward. We have decided to include it in the upcoming sprint. There's a few features we are trying to iron out first, but will try to get something out and add features as they are needed. Still, if you have any feature requests/case scenarios that we can analyse and see if there are any quick wins to include them in v1, post them here. |
hi @dsebastian , any updates on this one? |
Hi @mrpicklez70 , yes, we are working on it. We had to decouple a lot of our code from it. We have only a couple of items still in progress then we should go to testing. Unfortunately I can't give you an ETA yet. Thanks. |
Hello ! what's the status of this ? :) I would love to have this feature. Thanks |
Hi @Cubo25 . Dev work is done for this, unfortunately there's some issues a bit outside of our control that need sorting before we get this in the public domain. Will let everyone know once that happens. |
Is there any ETA on when this plugin/feature will be added? |
I have found your package very useful!
However, I don’t know/understand if I can mock WS response?
Can I ask you to provide some super small example?
Some times WS are very slow, and my tests are failing. That's why I want mock them.
Thanks
The text was updated successfully, but these errors were encountered: