WebSocket Testing
Route: /websockets
Open a full-duplex WebSocket connection and exchange messages in both directions.
Features
- Connect to
ws://andwss://endpoints. - Send messages and watch responses arrive in real time.
- Message history with direction (sent / received) and timestamps.
- Connection status monitoring (connecting / open / closing / closed).
How it works
The WebSocket connection is made directly from your browser using the native
WebSocket API — no server proxy is involved. The remote server must allow the
connection (and, for wss://, present a valid TLS certificate).
Using it
- Open WebSockets from the sidebar.
- Enter a WebSocket URL (
ws://localhost:8080orwss://example.com/socket). - Click Connect.
- Type a message and Send; replies appear in the history.
- Click Disconnect to close the socket.
Related
- SSE — for one-way server push.
- WebTransport — for modern, low-latency transport.