Part 6
4 chapters
Testing, Debugging & Observability
Test a protocol you can't curl, debug a connection that drops without a client-side error, trace a message end to end, and recognize the anti-patterns that make all of this harder.
Chapter 21
Testing WebSockets
Five test layers for a protocol you can't curl: conformance, live integration, close-code probes, Newman and k6.
Chapter 22
Debugging WebSockets
Which tool taps which layer of a WebSocket connection, how to read close codes, and a symptom-to-tool path.
Chapter 23
Observability
Tracing a message end to end through the Grafana LGTM stack.
Chapter 24
Anti-Patterns
The recurring mistakes that make a WebSocket API harder to run than it needs to be.