How to Use the WebSocket Connection Tester
-
1
Enter your WebSocket server URL (ws:// or wss://).
-
2
Click Connect to open the connection.
-
3
Type a JSON or text message and click Send.
-
4
All incoming and outgoing messages appear in the live log.
Practical Example & Use Case
Testing a local ws://localhost:3001 chat server during development.
Technical Notes & Limitations
Browser security restricts connecting to non-WSS endpoints from HTTPS pages. Use ws:// endpoints on HTTP or localhost.
Frequently Asked Questions
Can I test secure wss:// endpoints?
Yes. WSS endpoints work from any origin. Plain WS endpoints work only from non-HTTPS pages or localhost.
Can I send custom JSON payloads?
Yes. Type any text or JSON string in the message box and click Send to transmit it to the server.