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
Websocket support #83
Comments
This will be a game changer! |
@bhagatparwinder I am curious, what type of behavior do you expect when mocking websockets? What would be the most useful for you? |
I do agree with the simple approach first and build upon it later. A local socket that can provide the same body, to begin with. This would allow an application to load and a developer could work on part of the sites like UI and UX. Eventually, if it could randomize the output each time using faker or chance that would be awesome! |
@bhagatparwinder Thank you for your feedback 👍 |
This would be great! An advanced feature, for the future, could be the ability to send messages at some interval and/or by clicking a button in the Mockoon UI. Thanks for the great software! |
@doug2k1 it's on the roadmap for this year, but nothing has been decided yet. So if you have ideas concerning implementation or behavior of this feature they are welcome :) |
@255kb is this still on the roadmap? |
@trickpattyFH20 Yes it is. You can see the roadmap here and what I am currently working on. However, I cannot give any ETA. Among the tons of things I have to do on this project I would like to work on GraphQL or Websocket next, but these big features takes a lot of time! |
I am expecting to do a PoC on websocket support. If everything goes smooth, I will be able to contribute with it. |
Is your feature request related to a problem? Please describe.
I am currently debugging an token authentication error. The authentication happens via a Websocket connection. Mockoon doesn't allow Websocket request interceptions which would be really dope:)
Describe the solution you'd like
Ability to also intercept and mock Websocket communication. I think it should be a toggle in the "Environment" settings, just like HTTPS.
A nice bonus would be if you could also define a route to be handled in the Websocket intercepter, but I guess this use case is to specific for my problem.
Describe alternatives you've considered
As an alternative I am mocking the response in the Applications code
Additional context
No additional context
The text was updated successfully, but these errors were encountered: