nim-websock/client_tls/websock_secure_client_case_6_3_2.json

541 lines
8.7 KiB
JSON

{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 73,
"closedByMe": false,
"createStats": true,
"createWirelog": true,
"description": "Send invalid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.<br><br>MESSAGE:<br>cebae1bdb9cf83cebcceb5eda080656469746564",
"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=73&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: iahppFZtWE+xw+oV4PmX6g==\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: 1iEsOVQ/JLPsK0OzRIOe1DMsEE4=\r\n\r\n",
"id": "6.3.2",
"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": {
"294": 1
},
"started": "2024-01-28T06:29:10.494Z",
"trafficStats": null,
"txFrameStats": {
"0": 20,
"1": 1
},
"txOctetStats": {
"2": 1,
"3": 20,
"206": 1
},
"wasClean": false,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": "peer dropped the TCP connection without previous WebSocket closing handshake",
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
294,
"474554202f72756e436173653f636173653d3733266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d57 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
1,
"0xce"
],
1,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0101ce"
],
false
],
[
"TF",
[
1,
"0xba"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001ba"
],
false
],
[
"TF",
[
1,
"0xe1"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001e1"
],
false
],
[
"TF",
[
1,
"0xbd"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001bd"
],
false
],
[
"TF",
[
1,
"0xb9"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001b9"
],
false
],
[
"TF",
[
1,
"0xcf"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001cf"
],
false
],
[
"TF",
[
1,
"0x83"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000183"
],
false
],
[
"TF",
[
1,
"0xce"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001ce"
],
false
],
[
"TF",
[
1,
"0xbc"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001bc"
],
false
],
[
"TF",
[
1,
"0xce"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001ce"
],
false
],
[
"TF",
[
1,
"0xb5"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001b5"
],
false
],
[
"TF",
[
1,
"0xed"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001ed"
],
false
],
[
"TF",
[
1,
"0xa0"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"0001a0"
],
false
],
[
"TF",
[
1,
"0x80"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000180"
],
false
],
[
"TF",
[
1,
"e"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000165"
],
false
],
[
"TF",
[
1,
"d"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000164"
],
false
],
[
"TF",
[
1,
"i"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000169"
],
false
],
[
"TF",
[
1,
"t"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000174"
],
false
],
[
"TF",
[
1,
"e"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000165"
],
false
],
[
"TF",
[
1,
"d"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
3,
"000164"
],
false
],
[
"TF",
[
0,
""
],
0,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
2,
"8000"
],
false
],
[
"KL",
1
]
]
}