# User Feedback - WebSocket support

**URL:** <https://community.postman.com/t/user-feedback-websocket-support/23879>\
**Category:** Help Hub\
**Tags:** feedback, protocol, websockets\
**Created:** [May 19, 2021, 8:52am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879 "2021-05-19T08:52:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [May 19, 2021, 8:52am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/1 "2021-05-19T08:52:43Z")

</div>

Hey everyone! 👋

We’ve just released support for WebSocket request (beta) in Postman v8.5.0, if you haven’t tried it yet [check out our blog post](https://blog.postman.com/postman-supports-websocket-apis) and [give it a go](https://go.postman.co/)!

We’ll be using this thread to centralise any feedback you may have on the feature. This will help us ensure that we’re heading the right way as we move towards the next steps in supporting WebSockets in Postman.

Feedback:

- ✅ [bug] Sending a request with an infinite handshake request timeout crashes the app [#2](https://community.postman.com/t/user-feedback-websocket-support/23879/2)
- ✅ [feature] Add ability to name and save requests in a collection [#27](https://community.postman.com/t/user-feedback-websocket-support/23879/27)
- ✅ [feature] “quicksave” message bodys within a websocket connection that can quickly be sent from the list by just clicking them [#29](https://community.postman.com/t/user-feedback-websocket-support/23879/29)
- ✅ [feature] Ability to save a list of pre-defined messages to send, with pre-send scripts. [#24](https://community.postman.com/t/user-feedback-websocket-support/23879/24)
- [feature] case/regex matching for the search [#2](https://community.postman.com/t/user-feedback-websocket-support/23879/2) - [filed on GitHub here](https://github.com/postmanlabs/postman-app-support/issues/9956)
- [feature] add ability to configure client certificate to the “Settings” tab [#7](https://community.postman.com/t/user-feedback-websocket-support/23879/7)
- [feature] support enabling configurable client-side pings in the settings (e.g. ping every 10s) [#22](https://community.postman.com/t/user-feedback-websocket-support/23879/22), [#43](https://community.postman.com/t/user-feedback-websocket-support/23879/43)
- [feature] schedule recurring messages over the websocket [#22](https://community.postman.com/t/user-feedback-websocket-support/23879/22)
- [feature] Use the same cookies as in the HTTP requests. So I could, for example, log in a server via an HTTP auth request and then connect to the websocket in the same session. [#24](https://community.postman.com/t/user-feedback-websocket-support/23879/24)
- [feature] Test scripts for executing after receiving messages. [#24](https://community.postman.com/t/user-feedback-websocket-support/23879/24)
- [feature] Two-pane view support. Messages at the right and everything else on the left. [#24](https://community.postman.com/t/user-feedback-websocket-support/23879/24)
- [feature] Reverse order of messages (new messages at the bottom) [#25](https://community.postman.com/t/user-feedback-websocket-support/23879/25)
- [feature] Be able to define variables within the request scope - like regular http requests [#27](https://community.postman.com/t/user-feedback-websocket-support/23879/27)
- [feature] Integrated SignalR websocket support [#28](https://community.postman.com/t/user-feedback-websocket-support/23879/28)
- [feature] Automatic authorization handling similar to existing functionality http header. [#28](https://community.postman.com/t/user-feedback-websocket-support/23879/28)
- [feature] Allow to create websocket requests in scratchpad mode

---

<div class="post-metadata">

**Author:** ![neilstudd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/neilstudd/32/8213_2.png) [@neilstudd](https://community.postman.com/u/neilstudd)\
**Post date:** [May 20, 2021, 2:59pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/2 "2021-05-20T14:59:55Z")

</div>

I know what I like, and I like what I see! 👏 👏

In the interests of being the first to report a bug (because that’s what I do for a living), there aren’t any upper bounds to the Settings values, and if you type enough digits then it ends up displaying as Infinity:

![infinity](https://us1.discourse-cdn.com/getpostman/original/3X/8/1/81d746404f09852f3c546e4015b20381aa4a6bf6.gif)

**Postman crashes if you try to submit with this value.** But now I have a way to reliably crash Postman if I want; which, as a tester, maybe I do 😅

Feedback #2: The search/filter in the message pane is excellent :chefs-kiss: but would be even better if it could be given the same power as the other search fields in Postman, i.e. case/regex matching.

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [May 20, 2021, 3:04pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/3 "2021-05-20T15:04:40Z")

</div>

To infinity and… not beyond! 😄 Good catch @neilstudd, adding to the list!

---

<div class="post-metadata">

**Author:** ![kranthikumarkvs](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kranthikumarkvs/32/8594_2.png) [@kranthikumarkvs](https://community.postman.com/u/kranthikumarkvs)\
**Post date:** [May 20, 2021, 5:47pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/4 "2021-05-20T17:47:09Z")

</div>

Thanks a lot for bringing this feature to Postman. It is not working with Sec-WebSocket-Protocol request, the handshake itself fails as “Server sent a subprotocol but none was requested” but the same works with other browser extensions like “WebSocket king client”

---

<div class="post-metadata">

**Author:** ![udit](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/udit/32/5056_2.png) [@udit](https://community.postman.com/u/udit)\
**Post date:** [May 20, 2021, 5:52pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/5 "2021-05-20T17:52:54Z")

</div>

@kranthikumarkvs Thanks for reporting this issue.  
Can you share the `Sec-WebSocket-Protocol` value? Also, is this API publicly accessible?

---

<div class="post-metadata">

**Author:** ![kranthikumarkvs](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kranthikumarkvs/32/8594_2.png) [@kranthikumarkvs](https://community.postman.com/u/kranthikumarkvs)\
**Post date:** [May 20, 2021, 5:57pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/6 "2021-05-20T17:57:27Z")

</div>

No, it is private API.

Sec-WebSocket-Protocol: jwt, eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik9FdktfT1

The value after comma is application specific access token.

---

<div class="post-metadata">

**Author:** ![mbelmont](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mbelmont](https://community.postman.com/u/mbelmont)\
**Post date:** [May 21, 2021, 1:50pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/7 "2021-05-21T13:50:07Z")

</div>

Would you please add ability to configure client certificate to the “Settings” tab.  
Thank you.

---

<div class="post-metadata">

**Author:** ![udit](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/udit/32/5056_2.png) [@udit](https://community.postman.com/u/udit)\
**Post date:** [May 21, 2021, 1:55pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/8 "2021-05-21T13:55:27Z")

</div>

Yes! 💯  
Thanks for the feedback @mbelmont.

---

<div class="post-metadata">

**Author:** ![mailmaxxx](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@mailmaxxx](https://community.postman.com/u/mailmaxxx)\
**Post date:** [May 22, 2021, 4:51am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/9 "2021-05-22T04:51:32Z")

</div>

I have a C# .Net Core 5 WebSocket server using the websocket-sharp nuget package.  
I have a C# client successfully sending and receiving websocket messages to the server.

On the Client in C#

```
public MainWindow()
{
    InitializeComponent();
    ws = new WebSocket("ws://localhost:5555/tk");
    ws.OnMessage += (sender, e) =>
        Debug.WriteLine("Laputa says: " + e.Data);
}

WebSocket ws;
private void Button_Click(object sender, RoutedEventArgs e)
{
ws.Connect();
ws.Send("BALUS");
}

```

and I receive the message from the server.

In Postman, I set my uri to  
**ws://localhost:5555/tk**

my Params as **BALUS**

When I click Connect I see

> Could not connect to ws://localhost:5555/tk
> 
> 14:31:45
> 
> **Error:** connect ECONNREFUSED 127.0.0.1:5555
> 
> ###### Handshake Details
> 
> Request URL: [http://localhost:5555/tk](http://localhost:5555/tk)
> 
> Request Method: GET
> 
> ▶Request Headers
> 
> Sec-WebSocket-Version: 13
> 
> Sec-WebSocket-Key: 12W0zUUjJ9Tzl/rWlBr3dA==
> 
> Connection: Upgrade
> 
> Upgrade: websocket
> 
> Sec-WebSocket-Extensions: permessage-deflate; client\_max\_window\_bits
> 
> Host: “localhost:5555”

I’m v new to websockets and the c# library I’m using, so might well be missing something obvious, but the fact that the client in C# works makes me wonder what that could be?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 22, 2021, 7:30am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/10 "2021-05-22T07:30:04Z")

</div>

Hey @mailmaxxx

Could you confirm which platform you’re using - The native Postman App or the Web Version?

If you’re using the Web Version, do you have the latest Postman Agent installed and have that selected in the UI?

You may have `Auto Select` enabled which might be pointing to the Cloud Agent, you can check this in the UI, on the menu bar at the bottom right of the view.

A screenshot of the full app view will also help us to know what’s happening in front of you 😁

---

<div class="post-metadata">

**Author:** ![aramallo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/aramallo/32/8615_2.png) [@aramallo](https://community.postman.com/u/aramallo)\
**Post date:** [May 22, 2021, 12:18pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/11 "2021-05-22T12:18:36Z")

</div>

Hi, I have the same issue here when using wamp.2.json subprotocol.

```
**Error:** Server sent a subprotocol but none was requested
###### Handshake Details
Request URL: http://localhost:18080/ws
Request Method: GET
Status Code: 101 Switching Protocols
▶Request Headers
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: aigFfMpXIPIiw2E4eCj5EQ==
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Protocol: wamp.2.json
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Host: localhost:18080
▶Response Headers
connection: Upgrade
date: Sat, 22 May 2021 12:13:57 GMT
sec-websocket-accept: c6V1UOcL4RolRReq9QWCaZUzS4U=
sec-websocket-extensions: permessage-deflate; server_max_window_bits=11; client_max_window_bits=11
sec-websocket-protocol: wamp.2.json
server: Cowboy
upgrade: websocket

```

I am using the desktop client on the macos, updated today

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [May 22, 2021, 1:58pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/12 "2021-05-22T13:58:52Z")

</div>

@mailmaxxx It looks like you’re trying to send `BALUS` as a URL parameter when creating the connection. You need to first connect to your WebSocket endpoint, then you can send messages:

1. type in `ws://localhost:5555/tk` for the URL
2. click `connect`
3. once connected, add you messages in the textarea below and click `send`

![ws-connect-send](https://us1.discourse-cdn.com/getpostman/original/3X/a/d/ad4e7fa5731d3fe7dfaf334f4e107aa88a7a31a6.gif)

Let us know if that helps!

---

<div class="post-metadata">

**Author:** ![aramallo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/aramallo/32/8615_2.png) [@aramallo](https://community.postman.com/u/aramallo)\
**Post date:** [May 22, 2021, 2:03pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/13 "2021-05-22T14:03:54Z")

</div>

@arlem In my case I am not sending any param and properly requesting the WAMP subprotocol. The WAMP router replies with the subprotocol requested but Postman fails as if I never requested it. Any ideas?

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [May 22, 2021, 2:21pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/14 "2021-05-22T14:21:13Z")

</div>

@aramallo My guess is that we’re not supporting that sub-protocol yet, but I’ll leave it to the engineering team to confirm! If we don’t support it I’ll add it as a feature request.

---

<div class="post-metadata">

**Author:** ![aramallo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/aramallo/32/8615_2.png) [@aramallo](https://community.postman.com/u/aramallo)\
**Post date:** [May 22, 2021, 4:08pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/15 "2021-05-22T16:08:02Z")

</div>

Thanks Fantastic…Notice there is wamp.2.msgpack too if you can add it 🙂

---

<div class="post-metadata">

**Author:** ![udit](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/udit/32/5056_2.png) [@udit](https://community.postman.com/u/udit)\
**Post date:** [May 24, 2021, 10:08am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/16 "2021-05-24T10:08:31Z")

</div>

@kranthikumarkvs Can you try setting the `Sec-WebSocket-Protocol` header with the expected value?

 ![Screenshot 2021-05-24 at 3.37.11 PM](https://us1.discourse-cdn.com/getpostman/original/3X/9/a/9a03cf19c43271fcdd975e2ec86b989c0de892d8.png)

---

<div class="post-metadata">

**Author:** ![altruios](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@altruios](https://community.postman.com/u/altruios)\
**Post date:** [May 24, 2021, 3:27pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/17 "2021-05-24T15:27:49Z")

</div>

I am also having trouble getting this set up.

basically - I’m suck trying to connect to a local host running [socket.io](http://socket.io)

```auto
const port =5001;

io.on("connection", (socket) => {
  socket.emit("handshake","connected to backend");
  socket.on("test", (data)=>{
    console.log("test data is:",data);
    socket.emit("test", "server heard you!")
  });

```

and the request url is:

```auto
ws://localhost:5001/socket.io/
//wss doesn't work either

```

which results in

```auto
Error: Unexpected server response: 400 //for ws

Error: write EPROTO 132740312:error:100000f7:SSL 

```

I don’t have anything other than a default install of nodejs/socket.io - is the above the correct url format?

---

<div class="post-metadata">

**Author:** ![kranthikumarkvs](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kranthikumarkvs/32/8594_2.png) [@kranthikumarkvs](https://community.postman.com/u/kranthikumarkvs)\
**Post date:** [May 24, 2021, 3:45pm UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/18 "2021-05-24T15:45:58Z")

</div>

@udit, still the same issue use secure header -

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/b/4bfbe66fa44527ce03c88db044f1d83ee38b82d2.png)

**Error:** Server sent a subprotocol but none was requested

---

<div class="post-metadata">

**Author:** ![abhi-varma202](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@abhi-varma202](https://community.postman.com/u/abhi-varma202)\
**Post date:** [May 27, 2021, 5:55am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/19 "2021-05-27T05:55:59Z")

</div>

Does it show binary data coming via the socket?

---

<div class="post-metadata">

**Author:** ![appurva21](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/appurva21/32/34560_2.png) [@appurva21](https://community.postman.com/u/appurva21)\
**Post date:** [May 27, 2021, 7:27am UTC](https://community.postman.com/t/user-feedback-websocket-support/23879/20 "2021-05-27T07:27:45Z")

</div>

Hey @abhi-varma202!

Yes, you can 🙂 !

For cases where the binary data is a Media message (image/audio/video), you will be able to view it as it is.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/1/e14937ced065632bbdbb0fc8bbb51d60137f4e2d.png)

For rest of the scenarios, you can view the hex dump of your binary messages.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/0/100b98d6c00030573a10e9568f34e579058b3336.png)

Alternatively, you can also try the `Show Message` option on the top right corner of the message to perceive the binary data as string.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/a/0a3fd0e9847466a26c57f7acd80c8e67b34e375b.png)

[Next page](https://community.postman.com/t/user-feedback-websocket-support/23879.md?page=2)
