mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
828 lines
14 KiB
JSON
828 lines
14 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 366,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 8192, auto-fragment to 256 octets. Use default permessage-deflate offer.",
|
|
"droppedByMe": true,
|
|
"duration": 4372,
|
|
"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=366&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: ld3aE2LND8WDEamAZJ9/4A==\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: Asy21F/O+rSQyTwgGQCsb7ymqUc=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "12.4.11",
|
|
"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,
|
|
"177": 1,
|
|
"178": 2,
|
|
"179": 2,
|
|
"180": 2,
|
|
"181": 2,
|
|
"182": 1,
|
|
"183": 3,
|
|
"184": 2,
|
|
"185": 5,
|
|
"186": 6,
|
|
"187": 6,
|
|
"188": 3,
|
|
"189": 1,
|
|
"190": 1,
|
|
"191": 1,
|
|
"192": 1,
|
|
"193": 5,
|
|
"194": 1,
|
|
"195": 1,
|
|
"196": 2,
|
|
"197": 3,
|
|
"198": 1,
|
|
"200": 1,
|
|
"202": 1,
|
|
"203": 1,
|
|
"208": 3,
|
|
"209": 1,
|
|
"210": 1,
|
|
"212": 2,
|
|
"213": 4,
|
|
"215": 2,
|
|
"217": 1,
|
|
"220": 1,
|
|
"221": 1,
|
|
"222": 1,
|
|
"224": 1,
|
|
"225": 3,
|
|
"226": 6,
|
|
"227": 1,
|
|
"228": 5,
|
|
"229": 2,
|
|
"230": 3,
|
|
"231": 3,
|
|
"234": 3,
|
|
"235": 4,
|
|
"236": 3,
|
|
"238": 3,
|
|
"239": 2,
|
|
"240": 2,
|
|
"241": 3,
|
|
"242": 2,
|
|
"243": 1,
|
|
"244": 5,
|
|
"245": 2,
|
|
"246": 2,
|
|
"247": 3,
|
|
"248": 2,
|
|
"249": 3,
|
|
"250": 5,
|
|
"251": 9,
|
|
"252": 7,
|
|
"253": 4,
|
|
"254": 2,
|
|
"255": 4,
|
|
"257": 3,
|
|
"258": 1,
|
|
"261": 1,
|
|
"263": 2,
|
|
"266": 1,
|
|
"270": 2,
|
|
"271": 2,
|
|
"272": 4,
|
|
"273": 3,
|
|
"274": 1,
|
|
"275": 3,
|
|
"276": 4,
|
|
"278": 1,
|
|
"279": 1,
|
|
"280": 5,
|
|
"281": 1,
|
|
"282": 3,
|
|
"283": 2,
|
|
"284": 1,
|
|
"285": 10,
|
|
"286": 2,
|
|
"287": 6,
|
|
"288": 5,
|
|
"289": 2,
|
|
"290": 5,
|
|
"291": 3,
|
|
"292": 4,
|
|
"293": 5,
|
|
"294": 4,
|
|
"295": 7,
|
|
"296": 1,
|
|
"297": 2,
|
|
"298": 4,
|
|
"299": 1,
|
|
"300": 1,
|
|
"301": 1,
|
|
"303": 4,
|
|
"304": 1,
|
|
"305": 1,
|
|
"306": 2,
|
|
"307": 2,
|
|
"308": 2,
|
|
"311": 4,
|
|
"312": 3,
|
|
"313": 1,
|
|
"314": 5,
|
|
"315": 4,
|
|
"316": 4,
|
|
"317": 6,
|
|
"318": 3,
|
|
"320": 1,
|
|
"321": 2,
|
|
"322": 3,
|
|
"323": 4,
|
|
"324": 3,
|
|
"325": 6,
|
|
"326": 8,
|
|
"328": 5,
|
|
"331": 2,
|
|
"334": 1,
|
|
"335": 2,
|
|
"336": 2,
|
|
"337": 1,
|
|
"338": 1,
|
|
"339": 1,
|
|
"340": 2,
|
|
"341": 1,
|
|
"342": 2,
|
|
"343": 1,
|
|
"344": 2,
|
|
"345": 3,
|
|
"346": 1,
|
|
"347": 2,
|
|
"348": 3,
|
|
"349": 3,
|
|
"350": 4,
|
|
"352": 5,
|
|
"353": 3,
|
|
"354": 1,
|
|
"355": 6,
|
|
"356": 2,
|
|
"357": 5,
|
|
"358": 3,
|
|
"359": 6,
|
|
"360": 2,
|
|
"361": 2,
|
|
"362": 4,
|
|
"363": 2,
|
|
"364": 5,
|
|
"365": 4,
|
|
"366": 2,
|
|
"367": 9,
|
|
"368": 5,
|
|
"369": 8,
|
|
"370": 12,
|
|
"371": 5,
|
|
"372": 7,
|
|
"373": 9,
|
|
"374": 12,
|
|
"375": 3,
|
|
"376": 6,
|
|
"377": 4,
|
|
"378": 4,
|
|
"379": 4,
|
|
"380": 10,
|
|
"381": 4,
|
|
"382": 2,
|
|
"383": 2,
|
|
"384": 1,
|
|
"385": 3,
|
|
"386": 8,
|
|
"387": 4,
|
|
"388": 2,
|
|
"389": 5,
|
|
"390": 5,
|
|
"392": 3,
|
|
"394": 1,
|
|
"395": 2,
|
|
"396": 1,
|
|
"398": 4,
|
|
"399": 2,
|
|
"400": 1,
|
|
"404": 1,
|
|
"407": 1,
|
|
"408": 2,
|
|
"409": 1,
|
|
"410": 3,
|
|
"411": 2,
|
|
"412": 4,
|
|
"414": 1,
|
|
"415": 2,
|
|
"416": 4,
|
|
"417": 8,
|
|
"418": 3,
|
|
"419": 4,
|
|
"420": 3,
|
|
"421": 4,
|
|
"422": 4,
|
|
"423": 1,
|
|
"424": 3,
|
|
"425": 2,
|
|
"426": 3,
|
|
"427": 1,
|
|
"428": 6,
|
|
"429": 6,
|
|
"430": 2,
|
|
"432": 2,
|
|
"433": 1,
|
|
"434": 1,
|
|
"435": 4,
|
|
"437": 1,
|
|
"440": 1,
|
|
"441": 1,
|
|
"442": 3,
|
|
"444": 3,
|
|
"445": 1,
|
|
"446": 1,
|
|
"447": 2,
|
|
"448": 5,
|
|
"449": 2,
|
|
"450": 3,
|
|
"451": 1,
|
|
"452": 5,
|
|
"453": 4,
|
|
"454": 2,
|
|
"455": 1,
|
|
"456": 3,
|
|
"457": 2,
|
|
"458": 2,
|
|
"459": 1,
|
|
"460": 3,
|
|
"461": 1,
|
|
"463": 4,
|
|
"464": 2,
|
|
"466": 1,
|
|
"469": 1,
|
|
"473": 2,
|
|
"474": 2,
|
|
"475": 1,
|
|
"478": 1,
|
|
"480": 2,
|
|
"482": 3,
|
|
"483": 3,
|
|
"484": 2,
|
|
"485": 3,
|
|
"487": 1,
|
|
"489": 1,
|
|
"490": 2,
|
|
"491": 2,
|
|
"493": 2,
|
|
"494": 1,
|
|
"495": 1,
|
|
"496": 5,
|
|
"497": 2,
|
|
"498": 1,
|
|
"499": 3,
|
|
"500": 2,
|
|
"502": 1,
|
|
"503": 1,
|
|
"504": 5,
|
|
"505": 3,
|
|
"506": 2,
|
|
"508": 1,
|
|
"509": 1,
|
|
"510": 3,
|
|
"512": 1,
|
|
"515": 1,
|
|
"517": 2,
|
|
"521": 1,
|
|
"538": 1,
|
|
"539": 2,
|
|
"542": 1,
|
|
"543": 1,
|
|
"545": 2,
|
|
"547": 1,
|
|
"548": 1,
|
|
"550": 1,
|
|
"554": 2,
|
|
"557": 1,
|
|
"558": 1,
|
|
"561": 4,
|
|
"562": 1,
|
|
"563": 1,
|
|
"564": 1,
|
|
"568": 1,
|
|
"569": 1,
|
|
"572": 1,
|
|
"575": 1,
|
|
"577": 2,
|
|
"579": 2,
|
|
"580": 1,
|
|
"581": 1,
|
|
"582": 1,
|
|
"583": 2,
|
|
"584": 2,
|
|
"585": 2,
|
|
"586": 2,
|
|
"589": 1,
|
|
"592": 1,
|
|
"596": 1,
|
|
"597": 1,
|
|
"598": 2,
|
|
"603": 2,
|
|
"605": 1,
|
|
"607": 2,
|
|
"610": 2,
|
|
"611": 2,
|
|
"613": 1,
|
|
"614": 1,
|
|
"616": 3,
|
|
"617": 1,
|
|
"620": 1,
|
|
"628": 1,
|
|
"633": 1,
|
|
"635": 1,
|
|
"636": 3,
|
|
"637": 1,
|
|
"638": 1,
|
|
"644": 1,
|
|
"645": 3,
|
|
"651": 4,
|
|
"652": 2,
|
|
"655": 1,
|
|
"660": 2,
|
|
"661": 1,
|
|
"664": 1,
|
|
"666": 1,
|
|
"668": 1,
|
|
"672": 1,
|
|
"674": 1,
|
|
"680": 2,
|
|
"681": 1,
|
|
"682": 1,
|
|
"685": 1,
|
|
"691": 1,
|
|
"695": 1,
|
|
"698": 1,
|
|
"702": 1,
|
|
"712": 3,
|
|
"715": 1,
|
|
"716": 1,
|
|
"717": 1,
|
|
"719": 1,
|
|
"724": 2,
|
|
"735": 1,
|
|
"739": 1,
|
|
"741": 2,
|
|
"743": 2,
|
|
"750": 2,
|
|
"756": 3,
|
|
"757": 2,
|
|
"758": 2,
|
|
"759": 1,
|
|
"760": 2,
|
|
"764": 2,
|
|
"765": 1,
|
|
"766": 1,
|
|
"768": 1,
|
|
"770": 1,
|
|
"771": 2,
|
|
"776": 1,
|
|
"778": 3,
|
|
"780": 2,
|
|
"781": 2,
|
|
"783": 2,
|
|
"784": 1,
|
|
"785": 1,
|
|
"805": 1,
|
|
"813": 1,
|
|
"843": 1,
|
|
"849": 1,
|
|
"860": 1,
|
|
"885": 1,
|
|
"886": 1,
|
|
"891": 1,
|
|
"902": 1,
|
|
"928": 1,
|
|
"929": 1,
|
|
"933": 1,
|
|
"946": 1,
|
|
"947": 2,
|
|
"956": 1,
|
|
"962": 1,
|
|
"966": 2,
|
|
"971": 2,
|
|
"973": 2,
|
|
"974": 1,
|
|
"989": 1,
|
|
"993": 1,
|
|
"1027": 1,
|
|
"1049": 1,
|
|
"1056": 1,
|
|
"1065": 1,
|
|
"1077": 1,
|
|
"1147": 1,
|
|
"1172": 1,
|
|
"1196": 1,
|
|
"1211": 1,
|
|
"1215": 1,
|
|
"1223": 1,
|
|
"1235": 1,
|
|
"1242": 1,
|
|
"1245": 1,
|
|
"1259": 1,
|
|
"1263": 2,
|
|
"1265": 1,
|
|
"1266": 1,
|
|
"1267": 1,
|
|
"1311": 1,
|
|
"1324": 1,
|
|
"1327": 1,
|
|
"1333": 1,
|
|
"1355": 1,
|
|
"1560": 1,
|
|
"1565": 1,
|
|
"1576": 1,
|
|
"1587": 1,
|
|
"1595": 1,
|
|
"1703": 1,
|
|
"1720": 1,
|
|
"1734": 1,
|
|
"1763": 1,
|
|
"1768": 1,
|
|
"1782": 1,
|
|
"1800": 1,
|
|
"1815": 1,
|
|
"1831": 1,
|
|
"1843": 1,
|
|
"2057": 1,
|
|
"2065": 1,
|
|
"2085": 1,
|
|
"2100": 1,
|
|
"2107": 1,
|
|
"2122": 1,
|
|
"2124": 1,
|
|
"2149": 1,
|
|
"2158": 1,
|
|
"2192": 1,
|
|
"2219": 1,
|
|
"2288": 1
|
|
},
|
|
"started": "2022-10-24T13:04:53.732Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.056048716702163125,
|
|
"incomingOctetsAppLevel": 8192837,
|
|
"incomingOctetsWebSocketLevel": 459198,
|
|
"incomingOctetsWireLevel": 467198,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.01742167866584785,
|
|
"outgoingCompressionRatio": 0.056048716702163125,
|
|
"outgoingOctetsAppLevel": 8192837,
|
|
"outgoingOctetsWebSocketLevel": 459198,
|
|
"outgoingOctetsWireLevel": 467294,
|
|
"outgoingWebSocketFrames": 2278,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.017630738809838023,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"0": 1278,
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"2": 2,
|
|
"3": 2,
|
|
"4": 5,
|
|
"6": 2,
|
|
"7": 2,
|
|
"8": 2,
|
|
"9": 4,
|
|
"10": 5,
|
|
"11": 5,
|
|
"12": 1,
|
|
"13": 3,
|
|
"14": 4,
|
|
"16": 1,
|
|
"17": 2,
|
|
"18": 6,
|
|
"19": 2,
|
|
"20": 4,
|
|
"21": 4,
|
|
"22": 1,
|
|
"23": 11,
|
|
"24": 3,
|
|
"25": 8,
|
|
"26": 6,
|
|
"27": 4,
|
|
"28": 5,
|
|
"29": 4,
|
|
"30": 5,
|
|
"31": 7,
|
|
"32": 5,
|
|
"33": 7,
|
|
"34": 2,
|
|
"35": 3,
|
|
"36": 6,
|
|
"37": 1,
|
|
"38": 2,
|
|
"39": 3,
|
|
"40": 1,
|
|
"41": 5,
|
|
"42": 1,
|
|
"43": 5,
|
|
"44": 3,
|
|
"45": 5,
|
|
"46": 4,
|
|
"47": 2,
|
|
"49": 4,
|
|
"50": 4,
|
|
"51": 2,
|
|
"52": 5,
|
|
"53": 6,
|
|
"54": 5,
|
|
"55": 6,
|
|
"56": 3,
|
|
"57": 1,
|
|
"58": 1,
|
|
"59": 4,
|
|
"60": 3,
|
|
"61": 6,
|
|
"62": 4,
|
|
"63": 7,
|
|
"64": 9,
|
|
"65": 2,
|
|
"66": 7,
|
|
"67": 2,
|
|
"68": 3,
|
|
"69": 4,
|
|
"70": 1,
|
|
"71": 1,
|
|
"72": 1,
|
|
"73": 2,
|
|
"74": 3,
|
|
"75": 2,
|
|
"76": 1,
|
|
"77": 1,
|
|
"78": 3,
|
|
"79": 2,
|
|
"80": 4,
|
|
"81": 1,
|
|
"82": 2,
|
|
"83": 3,
|
|
"84": 1,
|
|
"85": 4,
|
|
"86": 4,
|
|
"87": 4,
|
|
"88": 4,
|
|
"89": 2,
|
|
"90": 5,
|
|
"91": 3,
|
|
"92": 3,
|
|
"93": 8,
|
|
"94": 2,
|
|
"95": 7,
|
|
"96": 4,
|
|
"97": 6,
|
|
"98": 5,
|
|
"99": 3,
|
|
"100": 4,
|
|
"101": 2,
|
|
"102": 6,
|
|
"103": 4,
|
|
"104": 3,
|
|
"105": 9,
|
|
"106": 5,
|
|
"107": 8,
|
|
"108": 12,
|
|
"109": 5,
|
|
"110": 8,
|
|
"111": 10,
|
|
"112": 13,
|
|
"113": 3,
|
|
"114": 6,
|
|
"115": 5,
|
|
"116": 4,
|
|
"117": 7,
|
|
"118": 13,
|
|
"119": 5,
|
|
"120": 3,
|
|
"121": 2,
|
|
"122": 1,
|
|
"123": 3,
|
|
"124": 8,
|
|
"125": 4,
|
|
"126": 3,
|
|
"127": 8,
|
|
"130": 6,
|
|
"132": 3,
|
|
"134": 1,
|
|
"135": 6,
|
|
"136": 3,
|
|
"138": 4,
|
|
"139": 3,
|
|
"140": 2,
|
|
"144": 4,
|
|
"145": 1,
|
|
"147": 1,
|
|
"148": 3,
|
|
"149": 1,
|
|
"150": 4,
|
|
"151": 2,
|
|
"152": 5,
|
|
"154": 1,
|
|
"155": 2,
|
|
"156": 6,
|
|
"157": 9,
|
|
"158": 4,
|
|
"159": 4,
|
|
"160": 3,
|
|
"161": 5,
|
|
"162": 4,
|
|
"163": 2,
|
|
"164": 5,
|
|
"165": 3,
|
|
"166": 4,
|
|
"167": 2,
|
|
"168": 7,
|
|
"169": 7,
|
|
"170": 2,
|
|
"172": 2,
|
|
"173": 2,
|
|
"174": 4,
|
|
"175": 9,
|
|
"176": 2,
|
|
"177": 3,
|
|
"178": 1,
|
|
"179": 4,
|
|
"180": 4,
|
|
"181": 6,
|
|
"182": 10,
|
|
"183": 7,
|
|
"184": 7,
|
|
"185": 2,
|
|
"186": 3,
|
|
"187": 4,
|
|
"188": 6,
|
|
"189": 7,
|
|
"190": 5,
|
|
"191": 2,
|
|
"192": 7,
|
|
"193": 7,
|
|
"194": 6,
|
|
"195": 2,
|
|
"196": 7,
|
|
"197": 2,
|
|
"198": 3,
|
|
"199": 5,
|
|
"200": 4,
|
|
"201": 4,
|
|
"202": 1,
|
|
"203": 5,
|
|
"204": 5,
|
|
"205": 1,
|
|
"206": 2,
|
|
"207": 1,
|
|
"208": 4,
|
|
"209": 5,
|
|
"211": 2,
|
|
"213": 3,
|
|
"214": 3,
|
|
"215": 1,
|
|
"216": 1,
|
|
"217": 3,
|
|
"218": 2,
|
|
"219": 1,
|
|
"220": 3,
|
|
"221": 4,
|
|
"222": 9,
|
|
"223": 6,
|
|
"224": 7,
|
|
"225": 7,
|
|
"226": 3,
|
|
"227": 6,
|
|
"228": 1,
|
|
"229": 1,
|
|
"230": 5,
|
|
"231": 7,
|
|
"232": 3,
|
|
"233": 2,
|
|
"234": 6,
|
|
"235": 5,
|
|
"236": 8,
|
|
"237": 6,
|
|
"238": 4,
|
|
"239": 5,
|
|
"240": 10,
|
|
"241": 4,
|
|
"242": 6,
|
|
"243": 5,
|
|
"244": 9,
|
|
"245": 6,
|
|
"246": 7,
|
|
"247": 9,
|
|
"248": 10,
|
|
"249": 6,
|
|
"250": 6,
|
|
"251": 4,
|
|
"252": 3,
|
|
"253": 3,
|
|
"254": 2,
|
|
"255": 4,
|
|
"257": 3,
|
|
"259": 2,
|
|
"260": 1278
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d333636266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
252,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
480
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"88822518a27c26f0"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"2518a27c"
|
|
]
|
|
]
|
|
} |