nim-websock/client_tls/websock_secure_client_case_6_12_8.json

99 lines
3.2 KiB
JSON

{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 119,
"closedByMe": false,
"createStats": true,
"createWirelog": true,
"description": "Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbe",
"droppedByMe": false,
"duration": 1,
"expectation": "The connection is failed immediately, since the payload is not valid UTF-8.",
"expected": {
"OK": []
},
"expectedClose": {
"closeCode": [
1007
],
"closedByMe": false,
"closedByWrongEndpointIsFatal": true,
"requireClean": false
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=119&agent=websock-secure-client HTTP/1.1\r\nSec-Websocket-Extensions: permessage-deflate; client_max_window_bits=15\r\nUpgrade: websocket\r\nHost: 127.0.0.1:9002\r\nConnection: Upgrade\r\nSec-Websocket-Version: 13\r\nSec-Websocket-Key: 6GVcHuL+RyPsVqZZGIw1nA==\r\nCache-Control: no-cache\r\n\r\n",
"httpResponse": "HTTP/1.1 101 Switching Protocols\r\nServer: AutobahnTestSuite/0.8.2-0.10.9\r\nX-Powered-By: AutobahnPython/0.10.9\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: filfI8WWlLOv28BzCmOfTYsG9X8=\r\n\r\n",
"id": "6.12.8",
"isServer": true,
"localCloseCode": null,
"localCloseReason": null,
"received": [],
"remoteCloseCode": null,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {},
"rxOctetStats": {
"295": 1
},
"started": "2024-02-16T18:34:40.666Z",
"trafficStats": null,
"txFrameStats": {
"1": 1
},
"txOctetStats": {
"65": 1,
"206": 1
},
"wasClean": false,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": "peer dropped the TCP connection without previous WebSocket closing handshake",
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
295,
"474554202f72756e436173653f636173653d313139266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
63,
"0x808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbe ..."
],
1,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
65,
"813f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbd ..."
],
false
],
[
"KL",
0.5
]
]
}