CONSOLE ERROR: line 21: WebSocket connection to 'ws://localhost:8880/handshake-fail-by-no-connection-header' failed: Error during WebSocket handshake: 'Connection' header is missing Test that WebSocket handshake fails if Connection header field isn't reflected by the server. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS onerror() was called PASS successfullyParsed is true TEST COMPLETE