{ "agent": "Tungstenite", "behavior": "INFORMATIONAL", "behaviorClose": "INFORMATIONAL", "case": 245, "closedByMe": true, "createStats": true, "createWirelog": true, "description": "Send close with close code 5000", "droppedByMe": true, "duration": 0, "expectation": "Actual events are undefined by the spec.", "expected": { "OK": [] }, "expectedClose": { "closeCode": [ 1000, 5000, 1002 ], "closedByMe": true, "requireClean": false }, "failedByMe": false, "httpRequest": "GET /runCase?case=245&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: inE43DmHvIJhYQw5RA5qUg==\r\nsec-websocket-extensions: permessage-deflate; client_max_window_bits\r\n\r\n", "httpResponse": "HTTP/1.1 101 Switching Protocols\r\nServer: AutobahnTestSuite/0.8.1-0.10.9\r\nX-Powered-By: AutobahnPython/0.10.9\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: hmbrTyhXQCBTMQ5aM5xkuZI690c=\r\n\r\n", "id": "7.13.1", "isServer": true, "localCloseCode": 5000, "localCloseReason": null, "received": [], "remoteCloseCode": 1002, "remoteCloseReason": "Protocol violation", "reportCompressionRatio": false, "reportTime": false, "result": "Actual events are undefined by the spec.", "resultClose": "Connection was properly closed", "rxFrameStats": { "8": 1 }, "rxOctetStats": { "26": 1, "257": 1 }, "started": "2020-09-07T18:44:02.141Z", "trafficStats": null, "txFrameStats": { "8": 1 }, "txOctetStats": { "4": 1, "206": 1 }, "wasClean": true, "wasCloseHandshakeTimeout": false, "wasNotCleanReason": null, "wasOpenHandshakeTimeout": false, "wasServerConnectionDropTimeout": false, "wirelog": [ [ "RO", [ 257, "474554202f72756e436173653f636173653d323435266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f73 ..." ] ], [ "TO", [ 206, "485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..." ], false ], [ "TF", [ 2, "0x1388" ], 8, true, 0, null, null, null, false ], [ "TO", [ 4, "88021388" ], false ], [ "KL", 1 ], [ "RO", [ 26, "8894f930d010fada80629644bf73965cf066905fbc718d59bf7e" ] ], [ "RF", [ 20, "0x03ea50726f746f636f6c2076696f6c6174696f6e" ], 8, true, 0, true, "f930d010" ] ] }