nim-websock/client_tls/websock_secure_client_case_5_8.json

516 lines
8.1 KiB
JSON
Raw Normal View History

2021-07-16 08:05:39 +07:00
{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 52,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in octet-wise chops.",
"droppedByMe": true,
"duration": 6,
2021-07-16 08:05:39 +07:00
"expectation": "A pong is received, then the message is echo'ed back to us.",
"expected": {
"OK": [
[
"pong",
"ping payload"
],
[
"message",
"fragment1fragment2",
false
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=52&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: xuzOkhdIlqi4SmNE1vhWWQ==\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: GtX409iMwklF698X5Irr2tALl0w=\r\n\r\n",
2021-07-16 08:05:39 +07:00
"id": "5.8",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"pong",
"ping payload"
],
[
"message",
"fragment1fragment2",
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,
"10": 1
},
"rxOctetStats": {
"8": 1,
"18": 1,
"24": 1,
"294": 1
},
"started": "2022-10-24T12:37:11.104Z",
2021-07-16 08:05:39 +07:00
"trafficStats": null,
"txFrameStats": {
"0": 1,
"1": 1,
"8": 1,
"9": 1
},
"txOctetStats": {
"1": 36,
"4": 1,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
294,
"474554202f72756e436173653f636173653d3532266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d57 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
9,
"fragment1"
],
1,
false,
0,
null,
null,
1,
false
],
[
"TO",
[
1,
"01"
],
true
],
[
"TF",
[
12,
"ping payload"
],
9,
true,
0,
null,
null,
1,
false
],
[
"TF",
[
9,
"fragment2"
],
0,
true,
0,
null,
null,
1,
false
],
[
"TI",
1
],
[
"TO",
[
1,
"09"
],
true
],
[
"TO",
[
1,
"66"
],
true
],
[
"TO",
[
1,
"72"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"67"
],
true
],
[
"TO",
[
1,
"6d"
],
true
],
[
"TO",
[
1,
"65"
],
true
],
[
"TO",
[
1,
"6e"
],
true
],
[
"TO",
[
1,
"74"
],
true
],
[
"TO",
[
1,
"31"
],
true
],
[
"TO",
[
1,
"89"
],
true
],
[
"TO",
[
1,
"0c"
],
true
],
[
"TO",
[
1,
"70"
],
true
],
[
"TO",
[
1,
"69"
],
true
],
[
"TO",
[
1,
"6e"
],
true
],
[
"TO",
[
1,
"67"
],
true
],
[
"TO",
[
1,
"20"
],
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,
"80"
],
true
],
[
"TO",
[
1,
"09"
],
true
],
[
"RO",
[
18,
"8a8c7c9164740cf80a135ce1050d10fe0510"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
12,
"ping payload"
],
10,
true,
0,
true,
"7c916474"
2021-07-16 08:05:39 +07:00
],
[
"TO",
[
1,
"66"
],
true
],
[
"TO",
[
1,
"72"
],
true
],
[
"TO",
[
1,
"61"
],
true
],
[
"TO",
[
1,
"67"
],
true
],
[
"TO",
[
1,
"6d"
],
true
],
[
"TO",
[
1,
"65"
],
true
],
[
"TO",
[
1,
"6e"
],
true
],
[
"TO",
[
1,
"74"
],
true
],
[
"TO",
[
1,
"32"
],
true
],
[
"RO",
[
24,
"8192d6f85276b08a3311bb9d3c02e79e2017b1953718a2ca"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
18,
"fragment1fragment2"
],
1,
true,
0,
true,
"d6f85276"
2021-07-16 08:05:39 +07:00
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"88824cb33c6f4f5b"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"4cb33c6f"
2021-07-16 08:05:39 +07:00
]
]
}