A WebSocket client with Socket.IO and MQTT
Enter a ws:// or wss:// URL and connect. Send text or JSON, read every message in a log, and keep the messages you send often with the request. In the browser, WebSocket connections go straight from your computer.
Connect and send
- 1Enter a ws:// or wss:// URL. Send becomes Connect. Placeholders in the URL and headers are filled in from the active environment.
- 2Connect. The status reads Connecting, then Connected. Each tab keeps its own session, and closing the tab ends it.
- 3Type a message and press Ctrl+Enter. Variables and dynamic values such as {{$randomEmail}} are filled in when the message is sent, and the log shows it as it went out.
- 4Save the messages you reuse. Saved messages are part of the request, so they travel with exports and with the collection folder in Git.

Socket.IO
Choose Socket.IO in the protocol list to talk to a Socket.IO 3 or 4 server. The URL path is the namespace, Path changes /socket.io/ for servers set up with another one, and Auth payload is the JSON object the server reads as socket.handshake.auth. Type an event name and its argument; received events show their name above the arguments, and acknowledgements show with their id.

MQTT over WebSocket
Choose MQTT to talk to a broker over MQTT 3.1.1 on WebSocket, such as ws://localhost:8080/mqtt. Subscribe to a topic filter like sensors/#, publish to a topic at QoS 0, and read each message under its topic. Basic auth sends a user name and password. Brokers that only listen on TCP port 1883, without WebSocket, cannot be reached.

SignalR and GraphQL subscriptions
- SignalR hubs with the JSON protocol: Gostman negotiates, completes the handshake, sends invocations and answers pings. MessagePack is not supported.
- GraphQL subscriptions with the graphql-transport-ws protocol used by graphql-ws and Apollo Server. The older subscriptions-transport-ws protocol is not supported.

The message log
- Each entry shows a time, whether it was sent, received, info, a warning or an error, and the text, with a button to copy it
- The log keeps the latest 1000 entries; text longer than 10,000 characters is shortened, and binary messages show as hexadecimal bytes
- Auto-reconnect waits 3 seconds after a connection closes or fails and tries again
Browser and desktop
A browser can set only the Sec-WebSocket-Protocol header on a WebSocket, so the web app sends that one and lists the others it cannot send. The desktop app sends every header, including Authorization.
WebSocket requests live in the same collection as your REST calls, with the same environments and variables. They are interactive sessions, so the collection runner and gostman run skip them.
How Gostman compares with other WebSocket clients
| Feature | Gostman | Postman | Hoppscotch |
|---|---|---|---|
| In the browser, no install | GostmanIncluded: Connects straight from the browser | PostmanPartial: Web app needs sign-in | HoppscotchIncluded: hoppscotch.io |
| Desktop app | GostmanIncluded: Sends every header | PostmanIncluded: Yes | HoppscotchIncluded: Yes |
| Works without an account | GostmanIncluded: No accounts at all | PostmanPartial: Collections need an account | HoppscotchIncluded: Sign-in optional |
| Open source | GostmanIncluded: MIT | PostmanNot included: Not open source | HoppscotchIncluded: MIT |
| Socket.IO | GostmanIncluded: Socket.IO 3 and 4 | PostmanIncluded: Yes | HoppscotchIncluded: Yes |
| MQTT | GostmanIncluded: MQTT 3.1.1 over WebSocket | PostmanIncluded: Yes | HoppscotchIncluded: Yes |
| Requests as files in Git | GostmanIncluded: Saved messages travel with the request | PostmanIncluded: Native Git, on Free | HoppscotchPartial: JSON export |
Checked against each tool's own docs and pricing pages in November 2026. Plans change, so check them before you decide.
Questions about the WebSocket client
Can I test a WebSocket online without installing anything?
Yes. Open gostman.com/web, enter a ws:// or wss:// URL and select Connect. The connection goes straight from your browser, not through a server.
Can I send an Authorization header on a WebSocket?
In the desktop app, yes: it sends every header. In the browser only Sec-WebSocket-Protocol can be set, because browsers do not allow other headers on a WebSocket. Socket.IO servers can read a token from the Auth payload instead.
Does it support Socket.IO?
Yes, Socket.IO 3 and 4, with namespaces, a custom path, an auth payload, events and acknowledgements.
Can it connect to an MQTT broker?
Yes, over WebSocket with MQTT 3.1.1. Brokers that only accept plain TCP on port 1883 cannot be reached.
Does it reconnect automatically?
Turn on Auto-reconnect and Gostman waits 3 seconds after the connection drops, then tries again.
Is it free?
Yes. Gostman is open source with no account and no paid tier.