How to test WebSocket APIs: handshakes, auth, reconnection, and repeatable scenarios
WebSocket testing breaks every habit from REST: the handshake is HTTP but everything after is framed and bidirectional, auth happens at upgrade time or immediately after, and correctness means message sequences. Here is a practical testing workflow from wscat to CI scenarios.