Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Websocket connections with Postman

Tags:

postman

People also ask

Can Postman test WebSockets?

Using variables in requests and messagesYou can use Postman variables in the URL of a WebSocket connection or the body of a message.

How do I listen to Socket.IO in the Postman?

Socket.IO requests in Postman A new Socket.IO request cannot be created by opening a new tab hence we need to go to New > WebSocket Request. Select Socket.IO from the dropdown and key in the HTTP server url in the address bar. We can start sending and receiving message once the connection is established.


May 20, 2021, As of version 8.5.0 - Postman supported WebSocket APIs

This is not possible as of May 2017, because Postman only works with HTTP methods such as POST, GET, PUT, DELETE.

P/S: There is a request for this if you want to upvote: github.com/postmanlabs/postman-app-support/issues/4009


As the previous comment mentioned you can't do this in Postman. however, I found this Chrome app in the web store. It is very simple, but it's working really well with my local web socket connections.

Smart Websocket Client


Postman doesn't support it, but WebSocket King does.

enter image description here


It's not possible in Postman yet; But there is a new alternative for Postman, named Postwoman. it's open source and supports realtime Websocket and SSE requests.

Update

It seems they have rebranded Postwoman to Hoppscotch and have improved the Websocket support.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!