mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
518 lines
9.8 KiB
JSON
518 lines
9.8 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 438,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 8192, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(False, 9)]",
|
|
"droppedByMe": true,
|
|
"duration": 1100,
|
|
"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=438&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: 9uEJWdiEN+6TjoSXBY84Dw==\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: /oJdZVb6QsHXX7lXGGy0VJGEr0Q=\r\nSec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=9\r\n\r\n",
|
|
"id": "13.3.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,
|
|
"254": 2,
|
|
"258": 2,
|
|
"259": 2,
|
|
"260": 1,
|
|
"261": 3,
|
|
"262": 3,
|
|
"263": 1,
|
|
"264": 1,
|
|
"265": 7,
|
|
"266": 6,
|
|
"267": 6,
|
|
"268": 3,
|
|
"269": 3,
|
|
"270": 5,
|
|
"271": 10,
|
|
"272": 5,
|
|
"273": 6,
|
|
"274": 10,
|
|
"275": 12,
|
|
"276": 10,
|
|
"277": 6,
|
|
"278": 7,
|
|
"279": 13,
|
|
"280": 10,
|
|
"281": 9,
|
|
"282": 9,
|
|
"283": 6,
|
|
"284": 7,
|
|
"285": 7,
|
|
"286": 8,
|
|
"287": 9,
|
|
"288": 12,
|
|
"289": 8,
|
|
"290": 6,
|
|
"291": 12,
|
|
"292": 3,
|
|
"293": 1,
|
|
"294": 14,
|
|
"295": 10,
|
|
"296": 5,
|
|
"297": 8,
|
|
"298": 4,
|
|
"299": 6,
|
|
"300": 3,
|
|
"301": 7,
|
|
"302": 3,
|
|
"303": 4,
|
|
"304": 11,
|
|
"305": 9,
|
|
"306": 7,
|
|
"307": 8,
|
|
"308": 9,
|
|
"309": 10,
|
|
"310": 5,
|
|
"311": 9,
|
|
"312": 9,
|
|
"313": 12,
|
|
"314": 11,
|
|
"315": 9,
|
|
"316": 10,
|
|
"317": 8,
|
|
"318": 11,
|
|
"319": 14,
|
|
"320": 9,
|
|
"321": 13,
|
|
"322": 14,
|
|
"323": 9,
|
|
"324": 9,
|
|
"325": 6,
|
|
"326": 12,
|
|
"327": 13,
|
|
"328": 4,
|
|
"329": 5,
|
|
"330": 8,
|
|
"331": 7,
|
|
"332": 4,
|
|
"333": 3,
|
|
"334": 2,
|
|
"335": 5,
|
|
"336": 7,
|
|
"337": 4,
|
|
"338": 3,
|
|
"339": 4,
|
|
"340": 2,
|
|
"341": 5,
|
|
"342": 1,
|
|
"343": 2,
|
|
"344": 7,
|
|
"345": 10,
|
|
"346": 12,
|
|
"347": 5,
|
|
"348": 9,
|
|
"349": 4,
|
|
"350": 6,
|
|
"351": 12,
|
|
"352": 6,
|
|
"353": 6,
|
|
"354": 4,
|
|
"355": 4,
|
|
"356": 3,
|
|
"357": 6,
|
|
"358": 2,
|
|
"359": 4,
|
|
"360": 2,
|
|
"361": 5,
|
|
"362": 4,
|
|
"363": 4,
|
|
"364": 10,
|
|
"365": 4,
|
|
"366": 7,
|
|
"367": 9,
|
|
"369": 2,
|
|
"370": 3,
|
|
"371": 1,
|
|
"372": 4,
|
|
"373": 4,
|
|
"374": 4,
|
|
"375": 2,
|
|
"376": 2,
|
|
"377": 1,
|
|
"378": 2,
|
|
"379": 2,
|
|
"380": 3,
|
|
"381": 2,
|
|
"382": 6,
|
|
"383": 3,
|
|
"384": 2,
|
|
"385": 7,
|
|
"386": 5,
|
|
"387": 7,
|
|
"388": 3,
|
|
"389": 5,
|
|
"390": 9,
|
|
"391": 8,
|
|
"392": 7,
|
|
"393": 8,
|
|
"394": 8,
|
|
"395": 8,
|
|
"396": 3,
|
|
"397": 4,
|
|
"398": 4,
|
|
"399": 3,
|
|
"400": 5,
|
|
"401": 15,
|
|
"402": 5,
|
|
"403": 11,
|
|
"404": 7,
|
|
"405": 5,
|
|
"406": 6,
|
|
"407": 3,
|
|
"408": 7,
|
|
"409": 1,
|
|
"410": 3,
|
|
"411": 4,
|
|
"412": 2,
|
|
"413": 1,
|
|
"414": 1,
|
|
"415": 2,
|
|
"416": 3,
|
|
"417": 1,
|
|
"420": 1,
|
|
"421": 1,
|
|
"425": 1,
|
|
"426": 1,
|
|
"427": 2,
|
|
"431": 1,
|
|
"433": 2,
|
|
"439": 1,
|
|
"440": 1,
|
|
"441": 3,
|
|
"444": 1,
|
|
"445": 2,
|
|
"446": 1,
|
|
"448": 3,
|
|
"449": 1,
|
|
"450": 2,
|
|
"451": 1,
|
|
"452": 4,
|
|
"454": 2,
|
|
"455": 1,
|
|
"456": 2,
|
|
"457": 1,
|
|
"458": 1,
|
|
"459": 1,
|
|
"461": 1,
|
|
"462": 1,
|
|
"463": 1,
|
|
"464": 1,
|
|
"466": 1,
|
|
"477": 1,
|
|
"479": 1
|
|
},
|
|
"started": "2024-01-23T04:08:50.496Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.0399603271484375,
|
|
"incomingOctetsAppLevel": 8192000,
|
|
"incomingOctetsWebSocketLevel": 327355,
|
|
"incomingOctetsWireLevel": 335355,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.02443830092712804,
|
|
"outgoingCompressionRatio": 0.045077392578125,
|
|
"outgoingOctetsAppLevel": 8192000,
|
|
"outgoingOctetsWebSocketLevel": 369274,
|
|
"outgoingOctetsWireLevel": 375946,
|
|
"outgoingWebSocketFrames": 2000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.018067884551850388,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 278
|
|
},
|
|
"txFrameStats": {
|
|
"0": 1000,
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"43": 5,
|
|
"44": 6,
|
|
"45": 2,
|
|
"46": 5,
|
|
"47": 6,
|
|
"48": 11,
|
|
"49": 10,
|
|
"50": 3,
|
|
"51": 1,
|
|
"52": 5,
|
|
"53": 1,
|
|
"54": 3,
|
|
"55": 1,
|
|
"56": 5,
|
|
"57": 7,
|
|
"58": 4,
|
|
"59": 6,
|
|
"60": 12,
|
|
"61": 4,
|
|
"62": 12,
|
|
"63": 11,
|
|
"64": 10,
|
|
"65": 13,
|
|
"66": 10,
|
|
"67": 18,
|
|
"68": 16,
|
|
"69": 15,
|
|
"70": 10,
|
|
"71": 21,
|
|
"72": 21,
|
|
"73": 19,
|
|
"74": 13,
|
|
"75": 16,
|
|
"76": 7,
|
|
"77": 7,
|
|
"78": 12,
|
|
"79": 11,
|
|
"80": 10,
|
|
"81": 5,
|
|
"82": 7,
|
|
"83": 4,
|
|
"84": 5,
|
|
"85": 5,
|
|
"86": 3,
|
|
"87": 1,
|
|
"88": 5,
|
|
"89": 5,
|
|
"90": 6,
|
|
"91": 9,
|
|
"92": 9,
|
|
"93": 9,
|
|
"94": 8,
|
|
"95": 10,
|
|
"96": 8,
|
|
"97": 14,
|
|
"98": 9,
|
|
"99": 10,
|
|
"100": 12,
|
|
"101": 9,
|
|
"102": 8,
|
|
"103": 12,
|
|
"104": 8,
|
|
"105": 10,
|
|
"106": 4,
|
|
"107": 6,
|
|
"108": 6,
|
|
"109": 2,
|
|
"110": 2,
|
|
"111": 11,
|
|
"112": 7,
|
|
"113": 2,
|
|
"114": 11,
|
|
"115": 7,
|
|
"116": 8,
|
|
"117": 3,
|
|
"118": 7,
|
|
"119": 8,
|
|
"120": 6,
|
|
"121": 10,
|
|
"122": 6,
|
|
"123": 4,
|
|
"124": 2,
|
|
"125": 7,
|
|
"126": 2,
|
|
"127": 3,
|
|
"130": 3,
|
|
"131": 4,
|
|
"132": 3,
|
|
"133": 3,
|
|
"134": 5,
|
|
"135": 2,
|
|
"136": 4,
|
|
"137": 3,
|
|
"138": 4,
|
|
"139": 3,
|
|
"140": 3,
|
|
"141": 6,
|
|
"142": 4,
|
|
"143": 3,
|
|
"144": 1,
|
|
"145": 1,
|
|
"146": 4,
|
|
"147": 3,
|
|
"148": 3,
|
|
"149": 1,
|
|
"150": 4,
|
|
"151": 8,
|
|
"152": 3,
|
|
"153": 2,
|
|
"154": 7,
|
|
"155": 6,
|
|
"156": 2,
|
|
"157": 1,
|
|
"158": 1,
|
|
"159": 4,
|
|
"160": 12,
|
|
"161": 5,
|
|
"162": 3,
|
|
"163": 3,
|
|
"164": 2,
|
|
"165": 2,
|
|
"166": 7,
|
|
"167": 4,
|
|
"168": 3,
|
|
"169": 3,
|
|
"170": 5,
|
|
"171": 2,
|
|
"173": 3,
|
|
"174": 3,
|
|
"175": 3,
|
|
"176": 1,
|
|
"177": 1,
|
|
"178": 3,
|
|
"180": 1,
|
|
"181": 1,
|
|
"185": 2,
|
|
"186": 1,
|
|
"187": 3,
|
|
"189": 1,
|
|
"191": 1,
|
|
"192": 3,
|
|
"193": 1,
|
|
"194": 3,
|
|
"195": 3,
|
|
"196": 1,
|
|
"197": 9,
|
|
"198": 8,
|
|
"199": 2,
|
|
"200": 7,
|
|
"201": 10,
|
|
"202": 9,
|
|
"203": 2,
|
|
"204": 7,
|
|
"205": 13,
|
|
"206": 6,
|
|
"207": 8,
|
|
"208": 5,
|
|
"209": 8,
|
|
"210": 9,
|
|
"211": 6,
|
|
"212": 8,
|
|
"213": 2,
|
|
"214": 4,
|
|
"215": 1,
|
|
"216": 2,
|
|
"217": 2,
|
|
"218": 1,
|
|
"219": 1,
|
|
"220": 2,
|
|
"221": 1,
|
|
"222": 1,
|
|
"223": 3,
|
|
"224": 1,
|
|
"226": 1,
|
|
"228": 1,
|
|
"231": 2,
|
|
"232": 1,
|
|
"233": 3,
|
|
"234": 1,
|
|
"236": 1,
|
|
"237": 1,
|
|
"260": 1000,
|
|
"278": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343338266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"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,
|
|
"888200bae3c90352"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"00bae3c9"
|
|
]
|
|
]
|
|
} |