mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
382 lines
7.8 KiB
JSON
382 lines
7.8 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 486,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 4096, auto-fragment to 0 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 15)]",
|
|
"droppedByMe": true,
|
|
"duration": 2553,
|
|
"expectation": "Receive echo'ed messages (with payload as sent). Timeout case after 480 secs.",
|
|
"expected": {},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1000
|
|
],
|
|
"closedByMe": true,
|
|
"requireClean": true
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=486&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: QSTUT6xekvoAGVCWCqexDg==\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: OOPF9qtqHdUJ5k/wdJuUksik7oM=\r\nSec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits=15\r\n\r\n",
|
|
"id": "13.6.5",
|
|
"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,
|
|
"264": 1,
|
|
"270": 1,
|
|
"271": 3,
|
|
"272": 2,
|
|
"273": 4,
|
|
"274": 3,
|
|
"275": 5,
|
|
"276": 10,
|
|
"277": 6,
|
|
"278": 7,
|
|
"279": 4,
|
|
"280": 5,
|
|
"281": 16,
|
|
"282": 12,
|
|
"283": 19,
|
|
"284": 6,
|
|
"285": 15,
|
|
"286": 7,
|
|
"287": 18,
|
|
"288": 14,
|
|
"289": 15,
|
|
"290": 14,
|
|
"291": 18,
|
|
"292": 16,
|
|
"293": 14,
|
|
"294": 13,
|
|
"295": 22,
|
|
"296": 16,
|
|
"297": 15,
|
|
"298": 24,
|
|
"299": 9,
|
|
"300": 10,
|
|
"301": 10,
|
|
"302": 12,
|
|
"303": 15,
|
|
"304": 14,
|
|
"305": 14,
|
|
"306": 16,
|
|
"307": 15,
|
|
"308": 12,
|
|
"309": 16,
|
|
"310": 12,
|
|
"311": 4,
|
|
"312": 11,
|
|
"313": 11,
|
|
"314": 12,
|
|
"315": 11,
|
|
"316": 10,
|
|
"317": 6,
|
|
"318": 10,
|
|
"319": 14,
|
|
"320": 12,
|
|
"321": 7,
|
|
"322": 7,
|
|
"323": 4,
|
|
"324": 9,
|
|
"325": 14,
|
|
"326": 9,
|
|
"327": 15,
|
|
"328": 12,
|
|
"329": 19,
|
|
"330": 16,
|
|
"331": 22,
|
|
"332": 15,
|
|
"333": 19,
|
|
"334": 19,
|
|
"335": 13,
|
|
"336": 20,
|
|
"337": 14,
|
|
"338": 15,
|
|
"339": 13,
|
|
"340": 4,
|
|
"341": 7,
|
|
"342": 6,
|
|
"343": 9,
|
|
"344": 5,
|
|
"345": 4,
|
|
"346": 1,
|
|
"347": 5,
|
|
"348": 7,
|
|
"349": 3,
|
|
"350": 3,
|
|
"351": 9,
|
|
"352": 1,
|
|
"353": 2,
|
|
"354": 3,
|
|
"355": 5,
|
|
"356": 2,
|
|
"357": 1,
|
|
"358": 4,
|
|
"359": 2,
|
|
"360": 1,
|
|
"361": 2,
|
|
"362": 1,
|
|
"363": 8,
|
|
"364": 4,
|
|
"365": 3,
|
|
"366": 2,
|
|
"367": 3,
|
|
"368": 4,
|
|
"369": 6,
|
|
"370": 3,
|
|
"371": 5,
|
|
"372": 3,
|
|
"373": 6,
|
|
"374": 4,
|
|
"375": 2,
|
|
"376": 2,
|
|
"377": 3,
|
|
"378": 3,
|
|
"383": 1,
|
|
"384": 1,
|
|
"385": 1,
|
|
"386": 1,
|
|
"388": 1,
|
|
"389": 1,
|
|
"390": 4
|
|
},
|
|
"started": "2022-10-24T13:48:58.144Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.07518115234375,
|
|
"incomingOctetsAppLevel": 4096000,
|
|
"incomingOctetsWebSocketLevel": 307942,
|
|
"incomingOctetsWireLevel": 315942,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.025978918107955395,
|
|
"outgoingCompressionRatio": 0.047523681640625,
|
|
"outgoingOctetsAppLevel": 4096000,
|
|
"outgoingOctetsWebSocketLevel": 194657,
|
|
"outgoingOctetsWireLevel": 198657,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.02054896561644328,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 307
|
|
},
|
|
"txFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"148": 1,
|
|
"149": 2,
|
|
"150": 2,
|
|
"151": 4,
|
|
"153": 3,
|
|
"154": 2,
|
|
"155": 2,
|
|
"156": 3,
|
|
"157": 1,
|
|
"158": 2,
|
|
"159": 1,
|
|
"160": 6,
|
|
"161": 5,
|
|
"162": 1,
|
|
"163": 7,
|
|
"164": 7,
|
|
"165": 10,
|
|
"166": 13,
|
|
"167": 10,
|
|
"168": 13,
|
|
"169": 14,
|
|
"170": 19,
|
|
"171": 20,
|
|
"172": 16,
|
|
"173": 28,
|
|
"174": 20,
|
|
"175": 24,
|
|
"176": 23,
|
|
"177": 23,
|
|
"178": 23,
|
|
"179": 28,
|
|
"180": 20,
|
|
"181": 19,
|
|
"182": 17,
|
|
"183": 12,
|
|
"184": 22,
|
|
"185": 26,
|
|
"186": 12,
|
|
"187": 13,
|
|
"188": 15,
|
|
"189": 11,
|
|
"190": 11,
|
|
"191": 16,
|
|
"192": 11,
|
|
"193": 9,
|
|
"194": 7,
|
|
"195": 10,
|
|
"196": 3,
|
|
"197": 9,
|
|
"198": 11,
|
|
"199": 5,
|
|
"200": 4,
|
|
"201": 10,
|
|
"202": 10,
|
|
"203": 4,
|
|
"204": 7,
|
|
"205": 1,
|
|
"206": 3,
|
|
"207": 5,
|
|
"208": 5,
|
|
"209": 5,
|
|
"210": 10,
|
|
"211": 11,
|
|
"212": 10,
|
|
"213": 12,
|
|
"214": 10,
|
|
"215": 7,
|
|
"216": 4,
|
|
"217": 9,
|
|
"218": 11,
|
|
"219": 10,
|
|
"220": 17,
|
|
"221": 6,
|
|
"222": 12,
|
|
"223": 14,
|
|
"224": 7,
|
|
"225": 13,
|
|
"226": 11,
|
|
"227": 9,
|
|
"228": 11,
|
|
"229": 15,
|
|
"230": 12,
|
|
"231": 16,
|
|
"232": 7,
|
|
"233": 6,
|
|
"234": 3,
|
|
"235": 2,
|
|
"236": 1,
|
|
"240": 2,
|
|
"242": 5,
|
|
"243": 2,
|
|
"244": 4,
|
|
"245": 2,
|
|
"246": 4,
|
|
"247": 1,
|
|
"248": 4,
|
|
"249": 1,
|
|
"251": 2,
|
|
"252": 3,
|
|
"253": 4,
|
|
"254": 1,
|
|
"255": 1,
|
|
"256": 4,
|
|
"257": 2,
|
|
"258": 3,
|
|
"259": 1,
|
|
"260": 6,
|
|
"261": 3,
|
|
"262": 6,
|
|
"263": 5,
|
|
"264": 5,
|
|
"265": 9,
|
|
"266": 5,
|
|
"267": 4,
|
|
"268": 1,
|
|
"269": 3,
|
|
"270": 1,
|
|
"272": 1,
|
|
"281": 1,
|
|
"285": 1,
|
|
"306": 1,
|
|
"307": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343836266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
307,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
480
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"888246c90c214521"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"46c90c21"
|
|
]
|
|
]
|
|
} |