nim-websock/client_tls/websock_secure_client_case_6_2_4.json

421 lines
7.1 KiB
JSON

{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 71,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send a valid 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>\u03ba\u1f79\u03c3\u03bc\u03b5<br>cebae1bdb9cf83cebcceb5",
"droppedByMe": true,
"duration": 2,
"expectation": "The message is echo'ed back to us.",
"expected": {
"OK": [
[
"message",
"\u03ba\u1f79\u03c3\u03bc\u03b5",
false
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=71&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: Ec4zMPluNOFu45r0rSt1YQ==\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: GsiUT5Yh7x7vaJCh3A6fewFlHFs=\r\n\r\n",
"id": "6.2.4",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"message",
"\u03ba\u1f79\u03c3\u03bc\u03b5",
false
]
],
"remoteCloseCode": 1000,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {
"1": 1,
"8": 1
},
"rxOctetStats": {
"8": 1,
"17": 1,
"294": 1
},
"started": "2022-10-24T12:37:14.136Z",
"trafficStats": null,
"txFrameStats": {
"0": 11,
"1": 1,
"8": 1
},
"txOctetStats": {
"2": 1,
"3": 11,
"4": 1,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
294,
"474554202f72756e436173653f636173653d3731266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d57 ..."
]
],
[
"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",
[
0,
""
],
0,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
2,
"8000"
],
false
],
[
"TI",
1
],
[
"RO",
[
17,
"818bb419ba3a7aa35b870dd639f408d70f"
]
],
[
"RF",
[
11,
"\u03ba\u1f79\u03c3\u03bc\u03b5"
],
1,
true,
0,
true,
"b419ba3a"
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882908a42019362"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"908a4201"
]
]
}