mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
462 lines
8.7 KiB
JSON
462 lines
8.7 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 359,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 1024, auto-fragment to 0 octets. Use default permessage-deflate offer.",
|
|
"droppedByMe": true,
|
|
"duration": 514,
|
|
"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=359&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: vdVRe7Q3BHiCT7pFcR+9rw==\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: mNGpxNIRFMBURniMJRG1imUnP2o=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "12.4.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,
|
|
"31": 1,
|
|
"32": 3,
|
|
"33": 1,
|
|
"34": 5,
|
|
"35": 7,
|
|
"36": 13,
|
|
"37": 21,
|
|
"38": 9,
|
|
"39": 22,
|
|
"40": 22,
|
|
"41": 21,
|
|
"42": 19,
|
|
"43": 29,
|
|
"44": 36,
|
|
"45": 39,
|
|
"46": 31,
|
|
"47": 26,
|
|
"48": 29,
|
|
"49": 34,
|
|
"50": 33,
|
|
"51": 59,
|
|
"52": 28,
|
|
"53": 24,
|
|
"54": 35,
|
|
"55": 16,
|
|
"56": 13,
|
|
"57": 13,
|
|
"58": 16,
|
|
"59": 11,
|
|
"60": 11,
|
|
"61": 11,
|
|
"62": 13,
|
|
"63": 11,
|
|
"64": 13,
|
|
"65": 8,
|
|
"66": 6,
|
|
"67": 9,
|
|
"68": 4,
|
|
"69": 1,
|
|
"70": 9,
|
|
"71": 13,
|
|
"72": 5,
|
|
"73": 9,
|
|
"74": 15,
|
|
"75": 10,
|
|
"76": 7,
|
|
"77": 3,
|
|
"78": 17,
|
|
"79": 9,
|
|
"80": 7,
|
|
"81": 7,
|
|
"82": 6,
|
|
"83": 3,
|
|
"84": 7,
|
|
"85": 3,
|
|
"86": 4,
|
|
"87": 2,
|
|
"88": 4,
|
|
"89": 3,
|
|
"90": 2,
|
|
"91": 4,
|
|
"92": 1,
|
|
"93": 1,
|
|
"94": 1,
|
|
"95": 1,
|
|
"96": 1,
|
|
"97": 2,
|
|
"98": 1,
|
|
"99": 3,
|
|
"100": 5,
|
|
"101": 2,
|
|
"102": 1,
|
|
"103": 2,
|
|
"105": 1,
|
|
"107": 4,
|
|
"108": 3,
|
|
"109": 2,
|
|
"110": 2,
|
|
"111": 2,
|
|
"112": 2,
|
|
"114": 2,
|
|
"115": 1,
|
|
"117": 3,
|
|
"118": 3,
|
|
"119": 3,
|
|
"120": 2,
|
|
"121": 2,
|
|
"122": 4,
|
|
"123": 2,
|
|
"124": 2,
|
|
"126": 1,
|
|
"127": 1,
|
|
"128": 1,
|
|
"129": 1,
|
|
"131": 2,
|
|
"134": 1,
|
|
"137": 1,
|
|
"138": 1,
|
|
"139": 1,
|
|
"140": 3,
|
|
"141": 1,
|
|
"148": 2,
|
|
"153": 1,
|
|
"154": 1,
|
|
"162": 2,
|
|
"163": 1,
|
|
"166": 2,
|
|
"167": 1,
|
|
"171": 1,
|
|
"174": 1,
|
|
"175": 1,
|
|
"179": 1,
|
|
"187": 1,
|
|
"191": 1,
|
|
"194": 2,
|
|
"197": 1,
|
|
"198": 1,
|
|
"200": 1,
|
|
"205": 1,
|
|
"207": 1,
|
|
"209": 1,
|
|
"214": 2,
|
|
"215": 1,
|
|
"223": 1,
|
|
"226": 1,
|
|
"227": 1,
|
|
"240": 2,
|
|
"243": 2,
|
|
"247": 1,
|
|
"254": 1,
|
|
"256": 3,
|
|
"258": 1,
|
|
"261": 1,
|
|
"264": 1,
|
|
"270": 2,
|
|
"274": 1,
|
|
"275": 2,
|
|
"278": 1,
|
|
"279": 1,
|
|
"286": 1,
|
|
"295": 1,
|
|
"306": 1,
|
|
"307": 2,
|
|
"309": 1,
|
|
"310": 1,
|
|
"318": 1,
|
|
"323": 1,
|
|
"330": 1,
|
|
"342": 2,
|
|
"343": 1,
|
|
"359": 1,
|
|
"366": 1,
|
|
"368": 1,
|
|
"369": 2,
|
|
"373": 1,
|
|
"393": 2,
|
|
"395": 1,
|
|
"401": 1,
|
|
"422": 1,
|
|
"426": 1
|
|
},
|
|
"started": "2024-02-16T18:52:10.322Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.06599011041804184,
|
|
"incomingOctetsAppLevel": 1024108,
|
|
"incomingOctetsWebSocketLevel": 67581,
|
|
"incomingOctetsWireLevel": 73743,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.09117947352066409,
|
|
"outgoingCompressionRatio": 0.06599011041804184,
|
|
"outgoingOctetsAppLevel": 1024108,
|
|
"outgoingOctetsWebSocketLevel": 67581,
|
|
"outgoingOctetsWireLevel": 69743,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.031991240141459876,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"27": 1,
|
|
"28": 3,
|
|
"29": 1,
|
|
"30": 5,
|
|
"31": 7,
|
|
"32": 13,
|
|
"33": 21,
|
|
"34": 9,
|
|
"35": 22,
|
|
"36": 22,
|
|
"37": 21,
|
|
"38": 19,
|
|
"39": 29,
|
|
"40": 36,
|
|
"41": 39,
|
|
"42": 31,
|
|
"43": 26,
|
|
"44": 29,
|
|
"45": 34,
|
|
"46": 33,
|
|
"47": 59,
|
|
"48": 28,
|
|
"49": 24,
|
|
"50": 35,
|
|
"51": 16,
|
|
"52": 13,
|
|
"53": 13,
|
|
"54": 16,
|
|
"55": 11,
|
|
"56": 11,
|
|
"57": 11,
|
|
"58": 13,
|
|
"59": 11,
|
|
"60": 13,
|
|
"61": 8,
|
|
"62": 6,
|
|
"63": 9,
|
|
"64": 4,
|
|
"65": 1,
|
|
"66": 9,
|
|
"67": 13,
|
|
"68": 5,
|
|
"69": 9,
|
|
"70": 15,
|
|
"71": 10,
|
|
"72": 7,
|
|
"73": 3,
|
|
"74": 17,
|
|
"75": 9,
|
|
"76": 7,
|
|
"77": 7,
|
|
"78": 6,
|
|
"79": 3,
|
|
"80": 7,
|
|
"81": 3,
|
|
"82": 4,
|
|
"83": 2,
|
|
"84": 4,
|
|
"85": 3,
|
|
"86": 2,
|
|
"87": 4,
|
|
"88": 1,
|
|
"89": 1,
|
|
"90": 1,
|
|
"91": 1,
|
|
"92": 1,
|
|
"93": 2,
|
|
"94": 1,
|
|
"95": 3,
|
|
"96": 5,
|
|
"97": 2,
|
|
"98": 1,
|
|
"99": 2,
|
|
"101": 1,
|
|
"103": 4,
|
|
"104": 3,
|
|
"105": 2,
|
|
"106": 2,
|
|
"107": 2,
|
|
"108": 2,
|
|
"110": 2,
|
|
"111": 1,
|
|
"113": 3,
|
|
"114": 3,
|
|
"115": 3,
|
|
"116": 2,
|
|
"117": 2,
|
|
"118": 4,
|
|
"119": 2,
|
|
"120": 2,
|
|
"122": 1,
|
|
"123": 1,
|
|
"124": 1,
|
|
"125": 1,
|
|
"127": 2,
|
|
"130": 1,
|
|
"133": 1,
|
|
"134": 1,
|
|
"135": 1,
|
|
"136": 3,
|
|
"137": 1,
|
|
"144": 2,
|
|
"149": 1,
|
|
"150": 1,
|
|
"158": 2,
|
|
"159": 1,
|
|
"162": 2,
|
|
"163": 1,
|
|
"167": 1,
|
|
"170": 1,
|
|
"171": 1,
|
|
"175": 1,
|
|
"183": 1,
|
|
"187": 1,
|
|
"190": 2,
|
|
"193": 1,
|
|
"194": 1,
|
|
"196": 1,
|
|
"201": 1,
|
|
"203": 1,
|
|
"205": 1,
|
|
"210": 2,
|
|
"211": 1,
|
|
"219": 1,
|
|
"222": 1,
|
|
"223": 1,
|
|
"236": 2,
|
|
"239": 2,
|
|
"243": 1,
|
|
"250": 1,
|
|
"252": 4,
|
|
"254": 1,
|
|
"257": 1,
|
|
"260": 1,
|
|
"266": 2,
|
|
"270": 1,
|
|
"271": 2,
|
|
"274": 1,
|
|
"275": 1,
|
|
"282": 1,
|
|
"302": 1,
|
|
"303": 2,
|
|
"305": 1,
|
|
"306": 1,
|
|
"314": 1,
|
|
"319": 1,
|
|
"326": 1,
|
|
"338": 2,
|
|
"339": 1,
|
|
"355": 1,
|
|
"362": 1,
|
|
"364": 1,
|
|
"365": 2,
|
|
"369": 1,
|
|
"389": 2,
|
|
"391": 1,
|
|
"397": 1,
|
|
"418": 1,
|
|
"422": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d333539266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
252,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
240
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"888211dd7a9e1235"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"11dd7a9e"
|
|
]
|
|
]
|
|
} |