mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
751 lines
14 KiB
JSON
751 lines
14 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 440,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 32768, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(False, 9)]",
|
|
"droppedByMe": true,
|
|
"duration": 14987,
|
|
"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=440&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: 8RrtV8BF9a4HEobK9W1JGg==\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: as+X6OuBRf5XYrwe59Ucd2YWgOE=\r\nSec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=9\r\n\r\n",
|
|
"id": "13.3.13",
|
|
"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,
|
|
"295": 1,
|
|
"1042": 3,
|
|
"1043": 2,
|
|
"1044": 2,
|
|
"1046": 1,
|
|
"1047": 3,
|
|
"1048": 3,
|
|
"1049": 2,
|
|
"1050": 4,
|
|
"1051": 5,
|
|
"1052": 2,
|
|
"1053": 5,
|
|
"1054": 3,
|
|
"1055": 2,
|
|
"1056": 2,
|
|
"1057": 6,
|
|
"1059": 6,
|
|
"1060": 1,
|
|
"1062": 2,
|
|
"1063": 2,
|
|
"1064": 2,
|
|
"1065": 1,
|
|
"1067": 1,
|
|
"1068": 1,
|
|
"1070": 1,
|
|
"1071": 2,
|
|
"1072": 2,
|
|
"1073": 4,
|
|
"1074": 10,
|
|
"1075": 8,
|
|
"1076": 10,
|
|
"1077": 6,
|
|
"1078": 2,
|
|
"1079": 9,
|
|
"1080": 7,
|
|
"1081": 2,
|
|
"1082": 5,
|
|
"1084": 5,
|
|
"1085": 3,
|
|
"1086": 2,
|
|
"1087": 4,
|
|
"1088": 6,
|
|
"1089": 3,
|
|
"1090": 4,
|
|
"1091": 6,
|
|
"1092": 9,
|
|
"1093": 3,
|
|
"1094": 5,
|
|
"1095": 2,
|
|
"1096": 4,
|
|
"1097": 6,
|
|
"1098": 5,
|
|
"1099": 6,
|
|
"1100": 5,
|
|
"1101": 3,
|
|
"1102": 5,
|
|
"1103": 3,
|
|
"1104": 4,
|
|
"1105": 1,
|
|
"1106": 1,
|
|
"1107": 2,
|
|
"1108": 1,
|
|
"1109": 5,
|
|
"1110": 2,
|
|
"1111": 1,
|
|
"1112": 2,
|
|
"1115": 2,
|
|
"1116": 1,
|
|
"1117": 1,
|
|
"1121": 1,
|
|
"1122": 3,
|
|
"1123": 2,
|
|
"1124": 1,
|
|
"1126": 1,
|
|
"1127": 2,
|
|
"1128": 2,
|
|
"1130": 3,
|
|
"1131": 2,
|
|
"1132": 1,
|
|
"1133": 3,
|
|
"1135": 1,
|
|
"1137": 1,
|
|
"1140": 1,
|
|
"1142": 1,
|
|
"1143": 3,
|
|
"1144": 1,
|
|
"1145": 1,
|
|
"1146": 1,
|
|
"1147": 1,
|
|
"1149": 2,
|
|
"1152": 2,
|
|
"1153": 2,
|
|
"1154": 1,
|
|
"1155": 2,
|
|
"1156": 3,
|
|
"1157": 2,
|
|
"1158": 1,
|
|
"1159": 1,
|
|
"1163": 3,
|
|
"1164": 3,
|
|
"1165": 2,
|
|
"1166": 2,
|
|
"1167": 3,
|
|
"1168": 2,
|
|
"1169": 3,
|
|
"1170": 2,
|
|
"1171": 2,
|
|
"1172": 1,
|
|
"1173": 3,
|
|
"1174": 4,
|
|
"1175": 3,
|
|
"1176": 1,
|
|
"1177": 2,
|
|
"1178": 3,
|
|
"1179": 1,
|
|
"1180": 4,
|
|
"1181": 2,
|
|
"1183": 2,
|
|
"1184": 5,
|
|
"1185": 6,
|
|
"1186": 4,
|
|
"1187": 3,
|
|
"1188": 3,
|
|
"1189": 6,
|
|
"1190": 7,
|
|
"1191": 3,
|
|
"1192": 5,
|
|
"1193": 5,
|
|
"1194": 2,
|
|
"1195": 4,
|
|
"1196": 1,
|
|
"1197": 1,
|
|
"1198": 4,
|
|
"1199": 4,
|
|
"1200": 1,
|
|
"1201": 3,
|
|
"1202": 4,
|
|
"1203": 1,
|
|
"1204": 3,
|
|
"1205": 4,
|
|
"1206": 3,
|
|
"1207": 6,
|
|
"1208": 4,
|
|
"1209": 4,
|
|
"1210": 3,
|
|
"1211": 7,
|
|
"1212": 3,
|
|
"1213": 5,
|
|
"1214": 3,
|
|
"1215": 3,
|
|
"1216": 3,
|
|
"1217": 4,
|
|
"1218": 2,
|
|
"1219": 7,
|
|
"1220": 3,
|
|
"1221": 6,
|
|
"1222": 3,
|
|
"1223": 5,
|
|
"1224": 1,
|
|
"1225": 3,
|
|
"1226": 4,
|
|
"1227": 1,
|
|
"1228": 2,
|
|
"1231": 2,
|
|
"1232": 2,
|
|
"1233": 3,
|
|
"1234": 4,
|
|
"1235": 5,
|
|
"1237": 2,
|
|
"1238": 1,
|
|
"1239": 1,
|
|
"1240": 4,
|
|
"1241": 4,
|
|
"1242": 3,
|
|
"1243": 2,
|
|
"1244": 1,
|
|
"1245": 1,
|
|
"1246": 2,
|
|
"1247": 3,
|
|
"1248": 5,
|
|
"1249": 1,
|
|
"1250": 3,
|
|
"1251": 3,
|
|
"1252": 1,
|
|
"1254": 4,
|
|
"1256": 2,
|
|
"1259": 1,
|
|
"1261": 2,
|
|
"1264": 1,
|
|
"1265": 2,
|
|
"1267": 1,
|
|
"1268": 2,
|
|
"1269": 4,
|
|
"1270": 6,
|
|
"1271": 7,
|
|
"1272": 6,
|
|
"1273": 7,
|
|
"1274": 6,
|
|
"1275": 5,
|
|
"1276": 3,
|
|
"1277": 1,
|
|
"1278": 3,
|
|
"1279": 2,
|
|
"1280": 4,
|
|
"1282": 2,
|
|
"1283": 1,
|
|
"1285": 2,
|
|
"1286": 1,
|
|
"1288": 2,
|
|
"1289": 2,
|
|
"1290": 4,
|
|
"1291": 3,
|
|
"1292": 2,
|
|
"1293": 2,
|
|
"1294": 1,
|
|
"1295": 5,
|
|
"1296": 3,
|
|
"1297": 2,
|
|
"1298": 2,
|
|
"1299": 1,
|
|
"1300": 3,
|
|
"1302": 5,
|
|
"1303": 5,
|
|
"1304": 3,
|
|
"1307": 4,
|
|
"1308": 3,
|
|
"1309": 1,
|
|
"1310": 1,
|
|
"1311": 1,
|
|
"1313": 1,
|
|
"1314": 1,
|
|
"1315": 1,
|
|
"1316": 1,
|
|
"1317": 3,
|
|
"1318": 2,
|
|
"1319": 1,
|
|
"1320": 1,
|
|
"1321": 2,
|
|
"1322": 2,
|
|
"1323": 2,
|
|
"1324": 1,
|
|
"1325": 7,
|
|
"1326": 4,
|
|
"1327": 8,
|
|
"1328": 2,
|
|
"1329": 4,
|
|
"1330": 6,
|
|
"1331": 2,
|
|
"1332": 1,
|
|
"1333": 4,
|
|
"1334": 6,
|
|
"1335": 9,
|
|
"1336": 8,
|
|
"1337": 10,
|
|
"1338": 5,
|
|
"1339": 1,
|
|
"1340": 6,
|
|
"1341": 5,
|
|
"1342": 3,
|
|
"1343": 2,
|
|
"1344": 3,
|
|
"1345": 3,
|
|
"1346": 5,
|
|
"1347": 3,
|
|
"1348": 4,
|
|
"1349": 1,
|
|
"1350": 4,
|
|
"1351": 2,
|
|
"1352": 3,
|
|
"1354": 3,
|
|
"1355": 1,
|
|
"1356": 4,
|
|
"1357": 4,
|
|
"1358": 3,
|
|
"1359": 5,
|
|
"1360": 2,
|
|
"1361": 2,
|
|
"1363": 3,
|
|
"1365": 2,
|
|
"1366": 3,
|
|
"1367": 2,
|
|
"1368": 2,
|
|
"1369": 1,
|
|
"1370": 1,
|
|
"1371": 2,
|
|
"1373": 1,
|
|
"1374": 2,
|
|
"1375": 1,
|
|
"1376": 1,
|
|
"1377": 3,
|
|
"1379": 2,
|
|
"1380": 1,
|
|
"1381": 2,
|
|
"1382": 6,
|
|
"1383": 2,
|
|
"1384": 2,
|
|
"1385": 1,
|
|
"1386": 2,
|
|
"1387": 1,
|
|
"1389": 1,
|
|
"1390": 1,
|
|
"1392": 1,
|
|
"1393": 2,
|
|
"1394": 1,
|
|
"1398": 2,
|
|
"1399": 1,
|
|
"1403": 1,
|
|
"1404": 2,
|
|
"1405": 2,
|
|
"1406": 3,
|
|
"1408": 1,
|
|
"1409": 2,
|
|
"1412": 1,
|
|
"1414": 1,
|
|
"1416": 1,
|
|
"1417": 1,
|
|
"1422": 1,
|
|
"1424": 2,
|
|
"1425": 2,
|
|
"1427": 3,
|
|
"1428": 1,
|
|
"1429": 1,
|
|
"1430": 1,
|
|
"1443": 1,
|
|
"1444": 1,
|
|
"1445": 1,
|
|
"1449": 1,
|
|
"1454": 2,
|
|
"1456": 2,
|
|
"1457": 2,
|
|
"1459": 1,
|
|
"1460": 1,
|
|
"1461": 2,
|
|
"1463": 1,
|
|
"1465": 2,
|
|
"1467": 2,
|
|
"1469": 3,
|
|
"1470": 1,
|
|
"1471": 2,
|
|
"1472": 5,
|
|
"1473": 3,
|
|
"1474": 1,
|
|
"1475": 3,
|
|
"1476": 1,
|
|
"1477": 1,
|
|
"1478": 1,
|
|
"1479": 2,
|
|
"1480": 2,
|
|
"1482": 1,
|
|
"1484": 1,
|
|
"1485": 1,
|
|
"1486": 3,
|
|
"1488": 5,
|
|
"1489": 1,
|
|
"1490": 1,
|
|
"1491": 1,
|
|
"1493": 3,
|
|
"1494": 1,
|
|
"1497": 2,
|
|
"1499": 4,
|
|
"1500": 1,
|
|
"1501": 3,
|
|
"1502": 2,
|
|
"1505": 1
|
|
},
|
|
"started": "2022-10-24T13:31:52.432Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.03756515502929687,
|
|
"incomingOctetsAppLevel": 32768000,
|
|
"incomingOctetsWebSocketLevel": 1230935,
|
|
"incomingOctetsWireLevel": 1238935,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.006499124649148817,
|
|
"outgoingCompressionRatio": 0.043666534423828125,
|
|
"outgoingOctetsAppLevel": 32768000,
|
|
"outgoingOctetsWebSocketLevel": 1430865,
|
|
"outgoingOctetsWireLevel": 1454233,
|
|
"outgoingWebSocketFrames": 6116,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.016331379969459034,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 278
|
|
},
|
|
"txFrameStats": {
|
|
"0": 5116,
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"2": 10,
|
|
"3": 11,
|
|
"4": 15,
|
|
"5": 8,
|
|
"6": 10,
|
|
"7": 6,
|
|
"8": 5,
|
|
"9": 11,
|
|
"10": 3,
|
|
"11": 5,
|
|
"12": 8,
|
|
"13": 10,
|
|
"14": 8,
|
|
"15": 10,
|
|
"16": 8,
|
|
"17": 8,
|
|
"18": 9,
|
|
"19": 11,
|
|
"20": 14,
|
|
"21": 11,
|
|
"22": 15,
|
|
"23": 8,
|
|
"24": 8,
|
|
"25": 6,
|
|
"26": 8,
|
|
"27": 8,
|
|
"28": 7,
|
|
"29": 8,
|
|
"30": 6,
|
|
"31": 5,
|
|
"32": 6,
|
|
"33": 5,
|
|
"34": 5,
|
|
"35": 5,
|
|
"36": 2,
|
|
"37": 5,
|
|
"38": 2,
|
|
"39": 5,
|
|
"40": 2,
|
|
"41": 1,
|
|
"42": 5,
|
|
"43": 4,
|
|
"44": 3,
|
|
"45": 6,
|
|
"46": 2,
|
|
"47": 2,
|
|
"48": 3,
|
|
"49": 4,
|
|
"50": 4,
|
|
"51": 3,
|
|
"52": 4,
|
|
"53": 2,
|
|
"54": 4,
|
|
"55": 2,
|
|
"57": 2,
|
|
"58": 3,
|
|
"59": 3,
|
|
"60": 1,
|
|
"61": 2,
|
|
"62": 2,
|
|
"63": 4,
|
|
"64": 2,
|
|
"65": 6,
|
|
"66": 2,
|
|
"67": 1,
|
|
"69": 6,
|
|
"70": 6,
|
|
"71": 2,
|
|
"73": 7,
|
|
"74": 4,
|
|
"75": 1,
|
|
"76": 2,
|
|
"77": 3,
|
|
"78": 3,
|
|
"79": 3,
|
|
"80": 5,
|
|
"81": 2,
|
|
"82": 1,
|
|
"83": 1,
|
|
"84": 2,
|
|
"85": 6,
|
|
"86": 3,
|
|
"87": 5,
|
|
"88": 7,
|
|
"89": 3,
|
|
"90": 3,
|
|
"91": 4,
|
|
"92": 4,
|
|
"94": 2,
|
|
"95": 1,
|
|
"96": 3,
|
|
"97": 1,
|
|
"98": 3,
|
|
"99": 5,
|
|
"100": 3,
|
|
"101": 2,
|
|
"102": 3,
|
|
"103": 6,
|
|
"104": 1,
|
|
"105": 4,
|
|
"106": 2,
|
|
"107": 2,
|
|
"108": 6,
|
|
"109": 4,
|
|
"110": 4,
|
|
"111": 1,
|
|
"112": 4,
|
|
"113": 4,
|
|
"114": 3,
|
|
"115": 4,
|
|
"116": 2,
|
|
"117": 2,
|
|
"119": 3,
|
|
"120": 3,
|
|
"121": 3,
|
|
"122": 3,
|
|
"123": 2,
|
|
"124": 2,
|
|
"126": 2,
|
|
"127": 2,
|
|
"130": 1,
|
|
"131": 2,
|
|
"132": 1,
|
|
"133": 6,
|
|
"134": 2,
|
|
"135": 1,
|
|
"136": 3,
|
|
"137": 4,
|
|
"138": 1,
|
|
"139": 1,
|
|
"140": 1,
|
|
"141": 4,
|
|
"142": 2,
|
|
"143": 2,
|
|
"144": 1,
|
|
"145": 2,
|
|
"146": 1,
|
|
"147": 4,
|
|
"149": 2,
|
|
"151": 2,
|
|
"152": 4,
|
|
"154": 1,
|
|
"155": 1,
|
|
"156": 3,
|
|
"157": 2,
|
|
"159": 4,
|
|
"160": 1,
|
|
"161": 2,
|
|
"162": 2,
|
|
"164": 1,
|
|
"166": 4,
|
|
"167": 2,
|
|
"168": 1,
|
|
"169": 2,
|
|
"170": 1,
|
|
"171": 2,
|
|
"172": 2,
|
|
"173": 2,
|
|
"174": 3,
|
|
"175": 2,
|
|
"176": 2,
|
|
"177": 2,
|
|
"179": 1,
|
|
"180": 2,
|
|
"181": 1,
|
|
"182": 1,
|
|
"183": 2,
|
|
"184": 1,
|
|
"185": 3,
|
|
"186": 2,
|
|
"187": 2,
|
|
"188": 2,
|
|
"189": 4,
|
|
"190": 4,
|
|
"191": 6,
|
|
"192": 3,
|
|
"193": 2,
|
|
"194": 2,
|
|
"195": 1,
|
|
"196": 2,
|
|
"197": 3,
|
|
"198": 3,
|
|
"199": 2,
|
|
"200": 2,
|
|
"201": 1,
|
|
"202": 1,
|
|
"203": 3,
|
|
"204": 4,
|
|
"205": 6,
|
|
"206": 3,
|
|
"207": 2,
|
|
"208": 4,
|
|
"209": 3,
|
|
"210": 2,
|
|
"211": 1,
|
|
"212": 4,
|
|
"213": 3,
|
|
"214": 2,
|
|
"215": 5,
|
|
"216": 6,
|
|
"217": 1,
|
|
"218": 3,
|
|
"219": 1,
|
|
"220": 4,
|
|
"221": 6,
|
|
"222": 3,
|
|
"223": 2,
|
|
"224": 4,
|
|
"225": 3,
|
|
"226": 4,
|
|
"227": 3,
|
|
"228": 4,
|
|
"229": 3,
|
|
"230": 4,
|
|
"231": 3,
|
|
"232": 4,
|
|
"233": 6,
|
|
"234": 5,
|
|
"235": 3,
|
|
"236": 2,
|
|
"237": 7,
|
|
"238": 9,
|
|
"239": 5,
|
|
"240": 7,
|
|
"241": 2,
|
|
"242": 10,
|
|
"243": 4,
|
|
"244": 4,
|
|
"245": 8,
|
|
"246": 6,
|
|
"248": 7,
|
|
"249": 13,
|
|
"250": 4,
|
|
"251": 11,
|
|
"252": 6,
|
|
"253": 10,
|
|
"254": 10,
|
|
"255": 10,
|
|
"256": 16,
|
|
"257": 13,
|
|
"258": 18,
|
|
"259": 14,
|
|
"260": 5116,
|
|
"278": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343430266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
278,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
480
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"8882f659717ef5b1"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"f659717e"
|
|
]
|
|
]
|
|
} |