mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 18:44:29 +00:00
548 lines
11 KiB
JSON
548 lines
11 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 513,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 65536, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 9), (True, 0), (False, 0)]",
|
|
"droppedByMe": true,
|
|
"duration": 5632,
|
|
"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=513&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: 6XNRI9hIySc94M6l4CyOew==\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: nvd7YkHyTctsJauU4XWwyq9ImB0=\r\nSec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits=9\r\n\r\n",
|
|
"id": "13.7.14",
|
|
"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,
|
|
"2443": 1,
|
|
"2445": 1,
|
|
"2446": 1,
|
|
"2447": 1,
|
|
"2448": 1,
|
|
"2449": 2,
|
|
"2450": 3,
|
|
"2451": 1,
|
|
"2452": 1,
|
|
"2454": 3,
|
|
"2455": 2,
|
|
"2456": 4,
|
|
"2457": 2,
|
|
"2458": 2,
|
|
"2459": 4,
|
|
"2460": 1,
|
|
"2461": 4,
|
|
"2462": 1,
|
|
"2464": 1,
|
|
"2465": 3,
|
|
"2466": 9,
|
|
"2467": 11,
|
|
"2468": 9,
|
|
"2469": 7,
|
|
"2470": 7,
|
|
"2471": 6,
|
|
"2472": 7,
|
|
"2473": 5,
|
|
"2474": 1,
|
|
"2475": 4,
|
|
"2476": 3,
|
|
"2477": 6,
|
|
"2478": 2,
|
|
"2479": 5,
|
|
"2480": 6,
|
|
"2481": 6,
|
|
"2482": 7,
|
|
"2483": 8,
|
|
"2484": 8,
|
|
"2485": 9,
|
|
"2486": 8,
|
|
"2487": 7,
|
|
"2488": 7,
|
|
"2489": 7,
|
|
"2490": 10,
|
|
"2491": 5,
|
|
"2492": 12,
|
|
"2493": 10,
|
|
"2494": 9,
|
|
"2495": 10,
|
|
"2496": 8,
|
|
"2497": 10,
|
|
"2498": 5,
|
|
"2499": 4,
|
|
"2500": 6,
|
|
"2501": 13,
|
|
"2502": 13,
|
|
"2503": 9,
|
|
"2504": 12,
|
|
"2505": 11,
|
|
"2506": 8,
|
|
"2507": 5,
|
|
"2508": 10,
|
|
"2509": 11,
|
|
"2510": 14,
|
|
"2511": 8,
|
|
"2512": 10,
|
|
"2513": 7,
|
|
"2514": 5,
|
|
"2515": 5,
|
|
"2516": 1,
|
|
"2517": 3,
|
|
"2518": 4,
|
|
"2519": 3,
|
|
"2520": 2,
|
|
"2521": 3,
|
|
"2522": 2,
|
|
"2523": 3,
|
|
"2524": 3,
|
|
"2525": 4,
|
|
"2527": 4,
|
|
"2528": 3,
|
|
"2529": 1,
|
|
"2531": 1,
|
|
"2532": 2,
|
|
"2533": 1,
|
|
"2535": 1,
|
|
"2536": 5,
|
|
"2537": 4,
|
|
"2539": 2,
|
|
"2540": 1,
|
|
"2545": 1,
|
|
"2546": 1,
|
|
"2548": 2,
|
|
"2552": 3,
|
|
"2553": 1,
|
|
"2554": 4,
|
|
"2555": 4,
|
|
"2556": 1,
|
|
"2557": 2,
|
|
"2558": 6,
|
|
"2559": 5,
|
|
"2560": 8,
|
|
"2561": 3,
|
|
"2562": 5,
|
|
"2563": 9,
|
|
"2564": 6,
|
|
"2565": 12,
|
|
"2566": 18,
|
|
"2567": 10,
|
|
"2568": 5,
|
|
"2569": 3,
|
|
"2570": 3,
|
|
"2572": 4,
|
|
"2573": 2,
|
|
"2574": 3,
|
|
"2575": 3,
|
|
"2576": 1,
|
|
"2577": 1,
|
|
"2578": 2,
|
|
"2583": 2,
|
|
"2586": 4,
|
|
"2587": 1,
|
|
"2588": 3,
|
|
"2589": 1,
|
|
"2591": 3,
|
|
"2592": 1,
|
|
"2594": 1,
|
|
"2596": 1,
|
|
"2597": 1,
|
|
"2599": 1,
|
|
"2600": 1,
|
|
"2601": 1,
|
|
"2602": 1,
|
|
"2603": 1,
|
|
"2605": 1,
|
|
"2606": 1,
|
|
"2607": 1,
|
|
"2608": 1,
|
|
"2609": 2,
|
|
"2611": 2,
|
|
"2612": 1,
|
|
"2613": 1,
|
|
"2614": 1,
|
|
"2616": 1,
|
|
"2617": 2,
|
|
"2618": 2,
|
|
"2619": 5,
|
|
"2621": 4,
|
|
"2622": 1,
|
|
"2624": 2,
|
|
"2625": 5,
|
|
"2626": 5,
|
|
"2627": 3,
|
|
"2628": 6,
|
|
"2629": 2,
|
|
"2632": 2,
|
|
"2633": 1,
|
|
"2634": 4,
|
|
"2636": 2,
|
|
"2638": 1,
|
|
"2640": 1,
|
|
"2641": 1,
|
|
"2642": 1,
|
|
"2643": 1,
|
|
"2644": 5,
|
|
"2645": 2,
|
|
"2646": 2,
|
|
"2647": 1,
|
|
"2648": 1,
|
|
"2650": 1,
|
|
"2651": 1,
|
|
"2652": 1,
|
|
"2654": 1,
|
|
"2658": 1,
|
|
"2661": 1,
|
|
"2662": 2,
|
|
"2664": 3,
|
|
"2665": 3,
|
|
"2666": 1,
|
|
"2667": 3,
|
|
"2668": 2,
|
|
"2669": 7,
|
|
"2670": 8,
|
|
"2671": 6,
|
|
"2672": 3,
|
|
"2673": 8,
|
|
"2674": 9,
|
|
"2675": 1,
|
|
"2676": 2,
|
|
"2677": 1,
|
|
"2678": 4,
|
|
"2679": 3,
|
|
"2680": 4,
|
|
"2681": 1,
|
|
"2682": 6,
|
|
"2683": 2,
|
|
"2684": 8,
|
|
"2685": 1,
|
|
"2686": 2,
|
|
"2687": 1,
|
|
"2688": 2,
|
|
"2690": 7,
|
|
"2691": 4,
|
|
"2692": 3,
|
|
"2693": 4,
|
|
"2694": 2,
|
|
"2695": 2,
|
|
"2696": 2,
|
|
"2699": 1,
|
|
"2702": 1,
|
|
"2704": 2,
|
|
"2705": 1,
|
|
"2706": 1,
|
|
"2708": 1,
|
|
"2709": 2,
|
|
"2710": 2,
|
|
"2711": 2,
|
|
"2712": 1,
|
|
"2713": 1,
|
|
"2716": 2,
|
|
"2718": 1,
|
|
"2719": 1,
|
|
"2720": 1,
|
|
"2721": 2,
|
|
"2722": 2,
|
|
"2723": 1,
|
|
"2724": 2,
|
|
"2725": 1,
|
|
"2726": 1,
|
|
"2727": 2,
|
|
"2728": 1,
|
|
"2730": 1,
|
|
"2731": 4,
|
|
"2736": 1,
|
|
"2738": 1,
|
|
"2739": 1,
|
|
"2740": 2,
|
|
"2741": 3,
|
|
"2744": 1,
|
|
"2745": 1,
|
|
"2746": 1,
|
|
"2750": 1,
|
|
"2752": 1,
|
|
"2757": 2,
|
|
"2758": 1,
|
|
"2760": 1,
|
|
"2761": 1,
|
|
"2762": 1,
|
|
"2764": 1,
|
|
"2768": 4,
|
|
"2769": 1,
|
|
"2770": 3,
|
|
"2771": 3,
|
|
"2776": 1,
|
|
"2779": 1,
|
|
"2781": 1,
|
|
"2782": 3,
|
|
"2783": 1,
|
|
"2784": 1,
|
|
"2785": 5,
|
|
"2787": 1,
|
|
"2788": 4,
|
|
"2789": 3,
|
|
"2790": 5,
|
|
"2791": 5,
|
|
"2792": 9,
|
|
"2793": 14,
|
|
"2794": 8,
|
|
"2795": 6,
|
|
"2796": 9,
|
|
"2797": 7,
|
|
"2798": 7,
|
|
"2799": 6,
|
|
"2800": 2,
|
|
"2801": 1,
|
|
"2802": 1,
|
|
"2803": 2,
|
|
"2805": 2,
|
|
"2809": 1,
|
|
"2811": 1
|
|
},
|
|
"started": "2024-01-23T05:17:13.962Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.03933027648925781,
|
|
"incomingOctetsAppLevel": 65536000,
|
|
"incomingOctetsWebSocketLevel": 2577549,
|
|
"incomingOctetsWireLevel": 2585549,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.0031037237313432256,
|
|
"outgoingCompressionRatio": 0.04351948547363281,
|
|
"outgoingOctetsAppLevel": 65536000,
|
|
"outgoingOctetsWebSocketLevel": 2852093,
|
|
"outgoingOctetsWireLevel": 2897533,
|
|
"outgoingWebSocketFrames": 11719,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.015932159294945854,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 306
|
|
},
|
|
"txFrameStats": {
|
|
"0": 10719,
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"2": 17,
|
|
"3": 21,
|
|
"4": 28,
|
|
"5": 25,
|
|
"6": 22,
|
|
"7": 26,
|
|
"8": 20,
|
|
"9": 34,
|
|
"10": 20,
|
|
"11": 14,
|
|
"12": 8,
|
|
"13": 9,
|
|
"14": 17,
|
|
"15": 16,
|
|
"16": 17,
|
|
"17": 16,
|
|
"18": 10,
|
|
"19": 9,
|
|
"20": 5,
|
|
"21": 3,
|
|
"22": 1,
|
|
"23": 3,
|
|
"24": 4,
|
|
"25": 2,
|
|
"28": 2,
|
|
"29": 1,
|
|
"31": 1,
|
|
"32": 1,
|
|
"33": 2,
|
|
"35": 1,
|
|
"36": 1,
|
|
"37": 2,
|
|
"39": 3,
|
|
"41": 4,
|
|
"42": 1,
|
|
"44": 4,
|
|
"45": 3,
|
|
"46": 2,
|
|
"48": 2,
|
|
"49": 1,
|
|
"50": 1,
|
|
"51": 1,
|
|
"52": 1,
|
|
"54": 1,
|
|
"60": 1,
|
|
"61": 1,
|
|
"64": 2,
|
|
"65": 1,
|
|
"66": 1,
|
|
"67": 1,
|
|
"68": 2,
|
|
"69": 1,
|
|
"70": 2,
|
|
"74": 1,
|
|
"77": 1,
|
|
"79": 1,
|
|
"81": 3,
|
|
"82": 2,
|
|
"83": 2,
|
|
"84": 5,
|
|
"85": 8,
|
|
"86": 5,
|
|
"87": 7,
|
|
"88": 4,
|
|
"89": 8,
|
|
"90": 2,
|
|
"91": 3,
|
|
"92": 3,
|
|
"93": 5,
|
|
"94": 10,
|
|
"95": 11,
|
|
"96": 16,
|
|
"97": 10,
|
|
"98": 11,
|
|
"99": 6,
|
|
"100": 19,
|
|
"101": 12,
|
|
"102": 6,
|
|
"103": 9,
|
|
"104": 12,
|
|
"105": 12,
|
|
"106": 12,
|
|
"107": 9,
|
|
"108": 7,
|
|
"109": 9,
|
|
"110": 7,
|
|
"111": 6,
|
|
"112": 4,
|
|
"113": 4,
|
|
"114": 2,
|
|
"115": 3,
|
|
"116": 1,
|
|
"117": 6,
|
|
"118": 11,
|
|
"119": 8,
|
|
"120": 13,
|
|
"121": 10,
|
|
"122": 9,
|
|
"123": 5,
|
|
"124": 2,
|
|
"125": 3,
|
|
"141": 1,
|
|
"241": 2,
|
|
"242": 1,
|
|
"243": 2,
|
|
"244": 5,
|
|
"245": 4,
|
|
"246": 6,
|
|
"247": 5,
|
|
"248": 6,
|
|
"249": 12,
|
|
"250": 17,
|
|
"251": 22,
|
|
"252": 26,
|
|
"253": 28,
|
|
"254": 17,
|
|
"255": 35,
|
|
"256": 19,
|
|
"257": 31,
|
|
"258": 20,
|
|
"259": 23,
|
|
"260": 10719,
|
|
"306": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d353133266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
306,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
480
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"88822f0b7b592ce3"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"2f0b7b59"
|
|
]
|
|
]
|
|
} |