mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
261 lines
5.8 KiB
JSON
261 lines
5.8 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 413,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 1024, auto-fragment to 0 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 0)]",
|
|
"droppedByMe": true,
|
|
"duration": 466,
|
|
"expectation": "Receive echo'ed messages (with payload as sent). Timeout case after 240 secs.",
|
|
"expected": {},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1000
|
|
],
|
|
"closedByMe": true,
|
|
"requireClean": true
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=413&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: LiJwlU77UolZ7vH2THDKew==\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: cuNlFv5ADPpEMBrQLfH56UXYXAM=\r\nSec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover\r\n\r\n",
|
|
"id": "13.2.4",
|
|
"isServer": true,
|
|
"localCloseCode": 1000,
|
|
"localCloseReason": null,
|
|
"received": [],
|
|
"remoteCloseCode": 1000,
|
|
"remoteCloseReason": null,
|
|
"reportCompressionRatio": true,
|
|
"reportTime": true,
|
|
"result": "Ok, received all echo'ed messages in time.",
|
|
"resultClose": "Connection was properly closed",
|
|
"rxFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"rxOctetStats": {
|
|
"8": 1,
|
|
"160": 1,
|
|
"163": 3,
|
|
"164": 3,
|
|
"166": 7,
|
|
"167": 10,
|
|
"168": 10,
|
|
"169": 14,
|
|
"170": 26,
|
|
"171": 24,
|
|
"172": 41,
|
|
"173": 40,
|
|
"174": 46,
|
|
"175": 45,
|
|
"176": 55,
|
|
"177": 62,
|
|
"178": 36,
|
|
"179": 60,
|
|
"180": 43,
|
|
"181": 51,
|
|
"182": 29,
|
|
"183": 39,
|
|
"184": 38,
|
|
"185": 28,
|
|
"186": 24,
|
|
"187": 42,
|
|
"188": 33,
|
|
"189": 35,
|
|
"190": 29,
|
|
"191": 14,
|
|
"192": 14,
|
|
"193": 9,
|
|
"194": 8,
|
|
"195": 11,
|
|
"196": 8,
|
|
"197": 7,
|
|
"199": 6,
|
|
"200": 5,
|
|
"202": 4,
|
|
"205": 3,
|
|
"206": 1,
|
|
"207": 4,
|
|
"208": 1,
|
|
"209": 4,
|
|
"210": 1,
|
|
"211": 2,
|
|
"212": 5,
|
|
"213": 3,
|
|
"215": 3,
|
|
"221": 4,
|
|
"223": 4,
|
|
"225": 3,
|
|
"227": 2,
|
|
"295": 1
|
|
},
|
|
"started": "2024-01-23T04:07:43.992Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.1696484375,
|
|
"incomingOctetsAppLevel": 1024000,
|
|
"incomingOctetsWebSocketLevel": 173720,
|
|
"incomingOctetsWireLevel": 181720,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.046051116739580934,
|
|
"outgoingCompressionRatio": 0.0573115234375,
|
|
"outgoingOctetsAppLevel": 1024000,
|
|
"outgoingOctetsWebSocketLevel": 58687,
|
|
"outgoingOctetsWireLevel": 60689,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.034113176683081434,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 280
|
|
},
|
|
"txFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"39": 1,
|
|
"40": 1,
|
|
"41": 4,
|
|
"44": 5,
|
|
"45": 1,
|
|
"46": 4,
|
|
"47": 9,
|
|
"48": 22,
|
|
"49": 33,
|
|
"50": 32,
|
|
"51": 39,
|
|
"52": 68,
|
|
"53": 48,
|
|
"54": 63,
|
|
"55": 60,
|
|
"56": 67,
|
|
"57": 66,
|
|
"58": 27,
|
|
"59": 49,
|
|
"60": 29,
|
|
"61": 18,
|
|
"62": 16,
|
|
"63": 31,
|
|
"64": 18,
|
|
"65": 16,
|
|
"66": 8,
|
|
"67": 19,
|
|
"68": 21,
|
|
"69": 16,
|
|
"70": 29,
|
|
"71": 18,
|
|
"72": 28,
|
|
"73": 31,
|
|
"74": 10,
|
|
"75": 11,
|
|
"76": 18,
|
|
"77": 10,
|
|
"78": 8,
|
|
"79": 4,
|
|
"80": 3,
|
|
"82": 1,
|
|
"83": 2,
|
|
"84": 3,
|
|
"86": 3,
|
|
"87": 1,
|
|
"88": 1,
|
|
"89": 3,
|
|
"91": 2,
|
|
"92": 2,
|
|
"94": 4,
|
|
"96": 1,
|
|
"97": 1,
|
|
"99": 2,
|
|
"100": 1,
|
|
"101": 1,
|
|
"104": 1,
|
|
"105": 2,
|
|
"106": 1,
|
|
"107": 1,
|
|
"108": 1,
|
|
"109": 2,
|
|
"110": 1,
|
|
"114": 1,
|
|
"170": 1,
|
|
"280": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343133266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
280,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
240
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"8882f2babad1f152"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"f2babad1"
|
|
]
|
|
]
|
|
} |