nim-websock/client_tls/websock_secure_client_case_2_11.json

1416 lines
20 KiB
JSON

{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 27,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send 10 Pings with payload. Send out octets in octet-wise chops.",
"droppedByMe": true,
"duration": 11,
"expectation": "Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.",
"expected": {
"OK": [
[
"pong",
"payload-0"
],
[
"pong",
"payload-1"
],
[
"pong",
"payload-2"
],
[
"pong",
"payload-3"
],
[
"pong",
"payload-4"
],
[
"pong",
"payload-5"
],
[
"pong",
"payload-6"
],
[
"pong",
"payload-7"
],
[
"pong",
"payload-8"
],
[
"pong",
"payload-9"
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=27&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: 59P2OlW/WeM0M4/PqJh73w==\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: UFqfy/sHlWbJdnK6QsznyVdvNn0=\r\n\r\n",
"id": "2.11",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"pong",
"payload-0"
],
[
"pong",
"payload-1"
],
[
"pong",
"payload-2"
],
[
"pong",
"payload-3"
],
[
"pong",
"payload-4"
],
[
"pong",
"payload-5"
],
[
"pong",
"payload-6"
],
[
"pong",
"payload-7"
],
[
"pong",
"payload-8"
],
[
"pong",
"payload-9"
]
],
"remoteCloseCode": 1000,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {
"8": 1,
"10": 10
},
"rxOctetStats": {
"8": 1,
"15": 10,
"294": 1
},
"started": "2024-01-28T06:29:06.170Z",
"trafficStats": null,
"txFrameStats": {
"8": 1,
"9": 10
},
"txOctetStats": {
"1": 110,
"4": 1,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
294,
"474554202f72756e436173653f636173653d3237266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d57 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
9,
"payload-0"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TO",
[
1,
"89"
],
true
],
[
"TF",
[
9,
"payload-1"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-2"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-3"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-4"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-5"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-6"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-7"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-8"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"payload-9"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TI",
3
],
[
"TO",
[
1,
"09"
],
true
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"30"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89264f0e5e562e7732492e6a7316"
]
],
[
"RF",
[
9,
"payload-0"
],
10,
true,
0,
true,
"264f0e5e"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"31"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89f53948e38558318f9a582ccec4"
]
],
[
"RF",
[
9,
"payload-1"
],
10,
true,
0,
true,
"f53948e3"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"32"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a895288506422e929083de9344960"
]
],
[
"RF",
[
9,
"payload-2"
],
10,
true,
0,
true,
"52885064"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"33"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89643d9303145cea6f0b5cf72e57"
]
],
[
"RF",
[
9,
"payload-3"
],
10,
true,
0,
true,
"643d9303"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"34"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a8948da6d3b38bb145727bb09167c"
]
],
[
"RF",
[
9,
"payload-4"
],
10,
true,
0,
true,
"48da6d3b"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"35"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89adede681dd8c9fedc28c82ac98"
]
],
[
"RF",
[
9,
"payload-5"
],
10,
true,
0,
true,
"adede681"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"36"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a893c7e02d74c1f7bbb531f66fa0a"
]
],
[
"RF",
[
9,
"payload-6"
],
10,
true,
0,
true,
"3c7e02d7"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"37"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89a9761e45d9176729c6177a689e"
]
],
[
"RF",
[
9,
"payload-7"
],
10,
true,
0,
true,
"a9761e45"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"38"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
15,
"8a89acd815badcb96cd6c3b9719794"
]
],
[
"RF",
[
9,
"payload-8"
],
10,
true,
0,
true,
"acd815ba"
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"79"
],
true
],
[
"TO",
[
1,
"6c"
],
true
],
[
"TO",
[
1,
"6f"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"64"
],
true
],
[
"TO",
[
1,
"2d"
],
true
],
[
"TO",
[
1,
"39"
],
true
],
[
"RO",
[
15,
"8a89c9a1d5abb9c0acc7a6c0b186f0"
]
],
[
"RF",
[
9,
"payload-9"
],
10,
true,
0,
true,
"c9a1d5ab"
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882aa494387a9a1"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"aa494387"
]
]
}