mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
660 lines
12 KiB
JSON
660 lines
12 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 421,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 16384, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 0)]",
|
|
"droppedByMe": true,
|
|
"duration": 1052,
|
|
"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=421&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: KqHsmR8OrTSJVSNjrSr+Mg==\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: IAAPtIwbf8A3Qaq7Luc8L+CtGCM=\r\nSec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover\r\n\r\n",
|
|
"id": "13.2.12",
|
|
"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,
|
|
"714": 1,
|
|
"718": 1,
|
|
"720": 2,
|
|
"721": 5,
|
|
"722": 3,
|
|
"723": 4,
|
|
"724": 4,
|
|
"725": 5,
|
|
"726": 4,
|
|
"727": 9,
|
|
"728": 6,
|
|
"729": 11,
|
|
"730": 10,
|
|
"731": 9,
|
|
"732": 13,
|
|
"733": 6,
|
|
"734": 7,
|
|
"735": 15,
|
|
"736": 14,
|
|
"737": 11,
|
|
"738": 5,
|
|
"739": 11,
|
|
"740": 4,
|
|
"741": 8,
|
|
"742": 5,
|
|
"743": 3,
|
|
"744": 7,
|
|
"745": 4,
|
|
"746": 3,
|
|
"748": 4,
|
|
"749": 2,
|
|
"750": 3,
|
|
"751": 2,
|
|
"752": 4,
|
|
"753": 3,
|
|
"754": 2,
|
|
"755": 2,
|
|
"756": 2,
|
|
"757": 5,
|
|
"758": 2,
|
|
"759": 2,
|
|
"760": 2,
|
|
"761": 7,
|
|
"762": 3,
|
|
"763": 5,
|
|
"764": 4,
|
|
"765": 5,
|
|
"766": 4,
|
|
"767": 6,
|
|
"768": 5,
|
|
"769": 4,
|
|
"770": 7,
|
|
"771": 6,
|
|
"772": 6,
|
|
"773": 9,
|
|
"774": 8,
|
|
"775": 2,
|
|
"776": 3,
|
|
"777": 7,
|
|
"778": 7,
|
|
"779": 7,
|
|
"780": 2,
|
|
"781": 7,
|
|
"782": 7,
|
|
"783": 5,
|
|
"784": 8,
|
|
"785": 2,
|
|
"786": 3,
|
|
"787": 2,
|
|
"788": 3,
|
|
"789": 3,
|
|
"790": 1,
|
|
"791": 7,
|
|
"792": 3,
|
|
"793": 2,
|
|
"794": 2,
|
|
"795": 1,
|
|
"796": 3,
|
|
"797": 5,
|
|
"798": 3,
|
|
"799": 3,
|
|
"800": 3,
|
|
"801": 3,
|
|
"802": 1,
|
|
"803": 1,
|
|
"804": 2,
|
|
"805": 5,
|
|
"806": 5,
|
|
"807": 1,
|
|
"808": 3,
|
|
"809": 3,
|
|
"810": 2,
|
|
"811": 1,
|
|
"812": 1,
|
|
"813": 1,
|
|
"814": 1,
|
|
"815": 4,
|
|
"816": 4,
|
|
"818": 3,
|
|
"819": 4,
|
|
"821": 1,
|
|
"822": 6,
|
|
"823": 2,
|
|
"824": 2,
|
|
"825": 3,
|
|
"826": 3,
|
|
"827": 2,
|
|
"828": 2,
|
|
"829": 1,
|
|
"830": 4,
|
|
"831": 4,
|
|
"832": 2,
|
|
"833": 1,
|
|
"834": 4,
|
|
"835": 2,
|
|
"836": 4,
|
|
"837": 5,
|
|
"838": 4,
|
|
"839": 3,
|
|
"840": 5,
|
|
"841": 6,
|
|
"842": 6,
|
|
"843": 6,
|
|
"844": 8,
|
|
"845": 6,
|
|
"846": 7,
|
|
"847": 2,
|
|
"848": 5,
|
|
"849": 4,
|
|
"850": 3,
|
|
"851": 4,
|
|
"852": 3,
|
|
"853": 3,
|
|
"854": 2,
|
|
"855": 1,
|
|
"856": 1,
|
|
"857": 2,
|
|
"858": 2,
|
|
"859": 2,
|
|
"861": 4,
|
|
"862": 5,
|
|
"864": 5,
|
|
"865": 2,
|
|
"866": 2,
|
|
"867": 4,
|
|
"868": 4,
|
|
"869": 1,
|
|
"870": 7,
|
|
"871": 3,
|
|
"872": 3,
|
|
"873": 6,
|
|
"874": 1,
|
|
"875": 4,
|
|
"876": 2,
|
|
"877": 4,
|
|
"879": 2,
|
|
"880": 5,
|
|
"882": 1,
|
|
"883": 1,
|
|
"884": 6,
|
|
"885": 4,
|
|
"886": 2,
|
|
"887": 1,
|
|
"888": 1,
|
|
"889": 1,
|
|
"890": 3,
|
|
"891": 2,
|
|
"892": 1,
|
|
"893": 2,
|
|
"894": 2,
|
|
"895": 1,
|
|
"896": 3,
|
|
"897": 1,
|
|
"898": 1,
|
|
"899": 1,
|
|
"900": 3,
|
|
"901": 2,
|
|
"902": 2,
|
|
"903": 3,
|
|
"904": 6,
|
|
"905": 3,
|
|
"906": 3,
|
|
"907": 3,
|
|
"909": 2,
|
|
"910": 1,
|
|
"911": 1,
|
|
"912": 2,
|
|
"913": 2,
|
|
"914": 5,
|
|
"915": 3,
|
|
"916": 7,
|
|
"917": 5,
|
|
"918": 6,
|
|
"919": 3,
|
|
"920": 2,
|
|
"921": 3,
|
|
"922": 3,
|
|
"923": 6,
|
|
"924": 6,
|
|
"925": 4,
|
|
"926": 4,
|
|
"927": 5,
|
|
"928": 6,
|
|
"929": 3,
|
|
"930": 5,
|
|
"931": 8,
|
|
"932": 3,
|
|
"933": 4,
|
|
"934": 3,
|
|
"935": 5,
|
|
"936": 6,
|
|
"937": 3,
|
|
"938": 5,
|
|
"939": 4,
|
|
"940": 3,
|
|
"941": 8,
|
|
"942": 5,
|
|
"943": 7,
|
|
"944": 4,
|
|
"945": 3,
|
|
"946": 3,
|
|
"947": 5,
|
|
"948": 7,
|
|
"949": 4,
|
|
"950": 4,
|
|
"951": 4,
|
|
"952": 3,
|
|
"953": 5,
|
|
"954": 2,
|
|
"955": 4,
|
|
"956": 1,
|
|
"957": 6,
|
|
"958": 6,
|
|
"959": 6,
|
|
"960": 1,
|
|
"961": 3,
|
|
"962": 6,
|
|
"963": 1,
|
|
"964": 3,
|
|
"965": 4,
|
|
"966": 4,
|
|
"967": 6,
|
|
"968": 4,
|
|
"969": 4,
|
|
"971": 1,
|
|
"972": 1,
|
|
"973": 1,
|
|
"974": 1,
|
|
"975": 1,
|
|
"976": 2,
|
|
"977": 5,
|
|
"978": 1,
|
|
"980": 1,
|
|
"981": 2,
|
|
"982": 1,
|
|
"983": 1,
|
|
"984": 1,
|
|
"985": 2,
|
|
"986": 3,
|
|
"989": 1,
|
|
"990": 2,
|
|
"991": 1,
|
|
"992": 1,
|
|
"993": 1,
|
|
"994": 1,
|
|
"995": 2,
|
|
"997": 1,
|
|
"999": 1,
|
|
"1003": 2,
|
|
"1004": 2,
|
|
"1008": 1,
|
|
"1011": 2,
|
|
"1019": 1
|
|
},
|
|
"started": "2024-01-28T06:56:17.394Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.050832763671875,
|
|
"incomingOctetsAppLevel": 16384000,
|
|
"incomingOctetsWebSocketLevel": 832844,
|
|
"incomingOctetsWireLevel": 840844,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.009605640432061706,
|
|
"outgoingCompressionRatio": 0.0440235595703125,
|
|
"outgoingOctetsAppLevel": 16384000,
|
|
"outgoingOctetsWebSocketLevel": 721282,
|
|
"outgoingOctetsWireLevel": 733498,
|
|
"outgoingWebSocketFrames": 3331,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.016936510269215093,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 280
|
|
},
|
|
"txFrameStats": {
|
|
"0": 2331,
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"2": 1,
|
|
"3": 2,
|
|
"4": 2,
|
|
"5": 3,
|
|
"6": 1,
|
|
"7": 1,
|
|
"8": 1,
|
|
"10": 1,
|
|
"13": 1,
|
|
"16": 2,
|
|
"17": 2,
|
|
"18": 3,
|
|
"19": 1,
|
|
"20": 4,
|
|
"21": 2,
|
|
"22": 2,
|
|
"24": 1,
|
|
"25": 4,
|
|
"27": 5,
|
|
"28": 2,
|
|
"30": 1,
|
|
"31": 2,
|
|
"32": 2,
|
|
"33": 1,
|
|
"34": 1,
|
|
"35": 3,
|
|
"36": 7,
|
|
"37": 6,
|
|
"38": 2,
|
|
"39": 6,
|
|
"40": 4,
|
|
"41": 5,
|
|
"42": 3,
|
|
"43": 2,
|
|
"44": 2,
|
|
"45": 2,
|
|
"46": 4,
|
|
"47": 3,
|
|
"48": 4,
|
|
"49": 3,
|
|
"50": 2,
|
|
"51": 3,
|
|
"53": 5,
|
|
"54": 2,
|
|
"55": 6,
|
|
"57": 5,
|
|
"58": 4,
|
|
"59": 4,
|
|
"60": 4,
|
|
"61": 4,
|
|
"62": 2,
|
|
"63": 1,
|
|
"64": 8,
|
|
"65": 2,
|
|
"66": 2,
|
|
"67": 4,
|
|
"68": 4,
|
|
"69": 2,
|
|
"70": 5,
|
|
"71": 2,
|
|
"72": 7,
|
|
"73": 3,
|
|
"74": 6,
|
|
"75": 2,
|
|
"76": 1,
|
|
"77": 2,
|
|
"78": 2,
|
|
"79": 1,
|
|
"80": 5,
|
|
"81": 10,
|
|
"82": 5,
|
|
"83": 4,
|
|
"84": 5,
|
|
"85": 5,
|
|
"86": 1,
|
|
"87": 7,
|
|
"88": 6,
|
|
"89": 4,
|
|
"90": 6,
|
|
"91": 5,
|
|
"92": 4,
|
|
"93": 8,
|
|
"94": 4,
|
|
"95": 5,
|
|
"96": 8,
|
|
"97": 9,
|
|
"98": 14,
|
|
"99": 7,
|
|
"100": 8,
|
|
"101": 11,
|
|
"102": 8,
|
|
"103": 8,
|
|
"104": 6,
|
|
"105": 12,
|
|
"106": 5,
|
|
"107": 3,
|
|
"108": 5,
|
|
"109": 8,
|
|
"110": 9,
|
|
"111": 10,
|
|
"112": 13,
|
|
"113": 9,
|
|
"114": 12,
|
|
"115": 15,
|
|
"116": 11,
|
|
"117": 16,
|
|
"118": 9,
|
|
"119": 6,
|
|
"120": 9,
|
|
"121": 8,
|
|
"122": 7,
|
|
"123": 4,
|
|
"124": 6,
|
|
"125": 4,
|
|
"126": 7,
|
|
"127": 5,
|
|
"130": 4,
|
|
"131": 6,
|
|
"132": 6,
|
|
"133": 7,
|
|
"134": 4,
|
|
"135": 2,
|
|
"136": 2,
|
|
"137": 6,
|
|
"138": 4,
|
|
"139": 6,
|
|
"140": 3,
|
|
"141": 4,
|
|
"142": 7,
|
|
"143": 5,
|
|
"144": 8,
|
|
"145": 6,
|
|
"146": 7,
|
|
"147": 2,
|
|
"148": 7,
|
|
"149": 9,
|
|
"150": 11,
|
|
"151": 10,
|
|
"152": 11,
|
|
"153": 8,
|
|
"154": 7,
|
|
"155": 8,
|
|
"156": 7,
|
|
"157": 4,
|
|
"158": 8,
|
|
"159": 6,
|
|
"160": 4,
|
|
"161": 5,
|
|
"162": 4,
|
|
"163": 2,
|
|
"164": 2,
|
|
"165": 4,
|
|
"166": 1,
|
|
"167": 4,
|
|
"168": 4,
|
|
"169": 4,
|
|
"170": 2,
|
|
"171": 1,
|
|
"172": 4,
|
|
"173": 4,
|
|
"174": 1,
|
|
"175": 2,
|
|
"176": 4,
|
|
"177": 2,
|
|
"178": 3,
|
|
"179": 3,
|
|
"180": 1,
|
|
"181": 3,
|
|
"182": 3,
|
|
"183": 5,
|
|
"184": 4,
|
|
"185": 3,
|
|
"186": 4,
|
|
"187": 4,
|
|
"188": 3,
|
|
"189": 2,
|
|
"190": 3,
|
|
"191": 2,
|
|
"192": 6,
|
|
"193": 3,
|
|
"194": 8,
|
|
"195": 2,
|
|
"196": 1,
|
|
"197": 1,
|
|
"198": 3,
|
|
"199": 3,
|
|
"200": 1,
|
|
"201": 1,
|
|
"202": 2,
|
|
"203": 3,
|
|
"204": 2,
|
|
"205": 2,
|
|
"206": 4,
|
|
"207": 2,
|
|
"208": 3,
|
|
"209": 2,
|
|
"210": 5,
|
|
"211": 2,
|
|
"212": 2,
|
|
"213": 5,
|
|
"214": 2,
|
|
"215": 2,
|
|
"216": 1,
|
|
"217": 1,
|
|
"218": 3,
|
|
"220": 3,
|
|
"221": 1,
|
|
"222": 4,
|
|
"223": 2,
|
|
"224": 5,
|
|
"225": 2,
|
|
"227": 3,
|
|
"228": 3,
|
|
"229": 5,
|
|
"231": 3,
|
|
"232": 3,
|
|
"233": 2,
|
|
"234": 2,
|
|
"235": 1,
|
|
"236": 1,
|
|
"237": 7,
|
|
"238": 1,
|
|
"239": 1,
|
|
"240": 1,
|
|
"241": 1,
|
|
"242": 1,
|
|
"243": 4,
|
|
"244": 4,
|
|
"245": 3,
|
|
"246": 5,
|
|
"247": 3,
|
|
"248": 2,
|
|
"250": 2,
|
|
"251": 3,
|
|
"252": 4,
|
|
"253": 1,
|
|
"254": 1,
|
|
"255": 3,
|
|
"257": 1,
|
|
"258": 1,
|
|
"259": 3,
|
|
"260": 2331,
|
|
"280": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343231266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
280,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
480
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"8882d2da5d83d132"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"d2da5d83"
|
|
]
|
|
]
|
|
} |