I’m loving the addition of the websocket client, as I haven’t had a real utility for testing websocket connections, although one issue I have is that new messages are added to the top, and there is no option (as far as I’m aware of, at least) to make it add new messages to the bottom instead. If something like that could be added, it would be wonderful!
That aside, the websocket client is great, and I haven’t come across any other issues with it.
Hi there, I am able to connect to my websocket server using postman. This server accepts binary audio stream and response with speech to text in a json structure. Is there a way in postman to send to my ws server continues audio stream (For example from my local microphone)?
Firstly, Congrats on getting this functionality added! On a quick look, it seems pretty good.
Here are a few issues I’ve faced with it so far:
I don’t seem to be able to name or save my requests, so can’t use them from within a collection.
There doesn’t seem to be the option to use variables at any scope other than global in websockets. It would be nice to be able to define variables within the request scope - like regular http requests.
I can’t remove or modify any of the headers (in particular, I wanted to be able to edit the “Sec-WebSocket-Extensions” header)
(related to the 3rd point) I obtain a compressed response which doesn’t get decompressed before showing it to me, and doesn’t give me the option to decompress it.
I think it would be more intuitive to be able to select previously sent messages under “compose”, rather than having to keep all messages sent and received and delve through them to decide which one to copy, copy it and head to the compose area to send.
The pre-request and test scripts might be a good idea to include here as well. I’d like to be able to pull information out of messages received and use them for regular http requests.
In all, great work so far - being as ubiquitous as you are, you’re always likely to have very demanding users (like myself), but this should help you constantly improve and stay at your market leading position.
To test flows I often need to send the same messages on every connection start. For example a hello, connect instructions etc. It would be cool to “quicksave” message bodys within a websocket connection that can quickly be sent from the list by just clicking them.
I’m trying to make it work with SignalR and c#, I was following a tutorial to test this from MS: https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-5.0&tabs=visual-studio
And it connects successfully using wss endpoint:
Have been using it extensively post that. I have a suggestion for one feature which I think can improve the user experience dramatically. So WebSocket Servers generally have an auto-disconnect when they sense inactivity. Generally, WebSocket libraries have configurable control frames which can be set - this means that these control frames count towards activity and keep the connection alive.
If this can be added to Postman, it will really enhance the WS Support. A keep-alive sort of a thing that sends the PING Control Frame as per-user configuration.