mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
387 lines
8.0 KiB
JSON
387 lines
8.0 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 400,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 65536, auto-fragment to 0 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(False, 0)]",
|
|
"droppedByMe": true,
|
|
"duration": 2905,
|
|
"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=400&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: 0d+EsRONlrRYVu984m2QRQ==\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: f1pQ7ZduqG3j9DwEBZemkM6rVXo=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "13.1.9",
|
|
"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,
|
|
"2805": 2,
|
|
"2806": 1,
|
|
"2807": 2,
|
|
"2808": 5,
|
|
"2809": 4,
|
|
"2810": 6,
|
|
"2811": 5,
|
|
"2812": 6,
|
|
"2813": 12,
|
|
"2814": 17,
|
|
"2815": 22,
|
|
"2816": 26,
|
|
"2817": 28,
|
|
"2818": 17,
|
|
"2819": 35,
|
|
"2820": 19,
|
|
"2821": 31,
|
|
"2822": 20,
|
|
"2823": 23,
|
|
"2824": 17,
|
|
"2825": 21,
|
|
"2826": 27,
|
|
"2827": 25,
|
|
"2828": 22,
|
|
"2829": 26,
|
|
"2830": 20,
|
|
"2831": 34,
|
|
"2832": 20,
|
|
"2833": 14,
|
|
"2834": 8,
|
|
"2835": 9,
|
|
"2836": 17,
|
|
"2837": 16,
|
|
"2838": 17,
|
|
"2839": 16,
|
|
"2840": 10,
|
|
"2841": 9,
|
|
"2842": 5,
|
|
"2843": 3,
|
|
"2844": 1,
|
|
"2845": 3,
|
|
"2846": 4,
|
|
"2847": 2,
|
|
"2850": 2,
|
|
"2851": 1,
|
|
"2853": 1,
|
|
"2854": 1,
|
|
"2855": 2,
|
|
"2857": 1,
|
|
"2858": 1,
|
|
"2859": 2,
|
|
"2861": 3,
|
|
"2863": 4,
|
|
"2864": 1,
|
|
"2866": 4,
|
|
"2867": 3,
|
|
"2868": 2,
|
|
"2870": 2,
|
|
"2871": 1,
|
|
"2872": 1,
|
|
"2873": 1,
|
|
"2874": 1,
|
|
"2876": 1,
|
|
"2882": 1,
|
|
"2883": 1,
|
|
"2886": 2,
|
|
"2887": 1,
|
|
"2888": 1,
|
|
"2889": 1,
|
|
"2890": 2,
|
|
"2891": 1,
|
|
"2892": 2,
|
|
"2896": 1,
|
|
"2899": 1,
|
|
"2901": 1,
|
|
"2903": 3,
|
|
"2904": 2,
|
|
"2905": 2,
|
|
"2906": 5,
|
|
"2907": 8,
|
|
"2908": 5,
|
|
"2909": 7,
|
|
"2910": 4,
|
|
"2911": 8,
|
|
"2912": 2,
|
|
"2913": 3,
|
|
"2914": 3,
|
|
"2915": 5,
|
|
"2916": 10,
|
|
"2917": 11,
|
|
"2918": 16,
|
|
"2919": 10,
|
|
"2920": 11,
|
|
"2921": 6,
|
|
"2922": 19,
|
|
"2923": 12,
|
|
"2924": 6,
|
|
"2925": 9,
|
|
"2926": 12,
|
|
"2927": 12,
|
|
"2928": 12,
|
|
"2929": 9,
|
|
"2930": 7,
|
|
"2931": 9,
|
|
"2932": 7,
|
|
"2933": 6,
|
|
"2934": 4,
|
|
"2935": 4,
|
|
"2936": 2,
|
|
"2937": 3,
|
|
"2938": 1,
|
|
"2939": 6,
|
|
"2940": 11,
|
|
"2941": 8,
|
|
"2942": 13,
|
|
"2943": 10,
|
|
"2944": 9,
|
|
"2945": 5,
|
|
"2946": 2,
|
|
"2947": 3,
|
|
"2961": 1
|
|
},
|
|
"started": "2024-01-28T06:55:24.662Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.04351948547363281,
|
|
"incomingOctetsAppLevel": 65536000,
|
|
"incomingOctetsWebSocketLevel": 2852093,
|
|
"incomingOctetsWireLevel": 2860093,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.0028049576223496218,
|
|
"outgoingCompressionRatio": 0.04351948547363281,
|
|
"outgoingOctetsAppLevel": 65536000,
|
|
"outgoingOctetsWebSocketLevel": 2852093,
|
|
"outgoingOctetsWireLevel": 2856093,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.0014024788111748109,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"252": 1,
|
|
"2801": 2,
|
|
"2802": 1,
|
|
"2803": 2,
|
|
"2804": 5,
|
|
"2805": 4,
|
|
"2806": 6,
|
|
"2807": 5,
|
|
"2808": 6,
|
|
"2809": 12,
|
|
"2810": 17,
|
|
"2811": 22,
|
|
"2812": 26,
|
|
"2813": 28,
|
|
"2814": 17,
|
|
"2815": 35,
|
|
"2816": 19,
|
|
"2817": 31,
|
|
"2818": 20,
|
|
"2819": 23,
|
|
"2820": 17,
|
|
"2821": 21,
|
|
"2822": 27,
|
|
"2823": 25,
|
|
"2824": 22,
|
|
"2825": 26,
|
|
"2826": 20,
|
|
"2827": 34,
|
|
"2828": 20,
|
|
"2829": 14,
|
|
"2830": 8,
|
|
"2831": 9,
|
|
"2832": 17,
|
|
"2833": 16,
|
|
"2834": 17,
|
|
"2835": 16,
|
|
"2836": 10,
|
|
"2837": 9,
|
|
"2838": 5,
|
|
"2839": 3,
|
|
"2840": 1,
|
|
"2841": 3,
|
|
"2842": 4,
|
|
"2843": 2,
|
|
"2846": 2,
|
|
"2847": 1,
|
|
"2849": 1,
|
|
"2850": 1,
|
|
"2851": 2,
|
|
"2853": 1,
|
|
"2854": 1,
|
|
"2855": 2,
|
|
"2857": 3,
|
|
"2859": 4,
|
|
"2860": 1,
|
|
"2862": 4,
|
|
"2863": 3,
|
|
"2864": 2,
|
|
"2866": 2,
|
|
"2867": 1,
|
|
"2868": 1,
|
|
"2869": 1,
|
|
"2870": 1,
|
|
"2872": 1,
|
|
"2878": 1,
|
|
"2879": 1,
|
|
"2882": 2,
|
|
"2883": 1,
|
|
"2884": 1,
|
|
"2885": 1,
|
|
"2886": 2,
|
|
"2887": 1,
|
|
"2888": 2,
|
|
"2892": 1,
|
|
"2895": 1,
|
|
"2897": 1,
|
|
"2899": 3,
|
|
"2900": 2,
|
|
"2901": 2,
|
|
"2902": 5,
|
|
"2903": 8,
|
|
"2904": 5,
|
|
"2905": 7,
|
|
"2906": 4,
|
|
"2907": 8,
|
|
"2908": 2,
|
|
"2909": 3,
|
|
"2910": 3,
|
|
"2911": 5,
|
|
"2912": 10,
|
|
"2913": 11,
|
|
"2914": 16,
|
|
"2915": 10,
|
|
"2916": 11,
|
|
"2917": 6,
|
|
"2918": 19,
|
|
"2919": 12,
|
|
"2920": 6,
|
|
"2921": 9,
|
|
"2922": 12,
|
|
"2923": 12,
|
|
"2924": 12,
|
|
"2925": 9,
|
|
"2926": 7,
|
|
"2927": 9,
|
|
"2928": 7,
|
|
"2929": 6,
|
|
"2930": 4,
|
|
"2931": 4,
|
|
"2932": 2,
|
|
"2933": 3,
|
|
"2934": 1,
|
|
"2935": 6,
|
|
"2936": 11,
|
|
"2937": 8,
|
|
"2938": 13,
|
|
"2939": 10,
|
|
"2940": 9,
|
|
"2941": 5,
|
|
"2942": 2,
|
|
"2943": 3,
|
|
"2957": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343030266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"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,
|
|
"8882b25a7740b1b2"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"b25a7740"
|
|
]
|
|
]
|
|
} |