mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 02:24:15 +00:00
386 lines
7.7 KiB
JSON
386 lines
7.7 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 306,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 4096, auto-fragment to 0 octets. Use default permessage-deflate offer.",
|
|
"droppedByMe": true,
|
|
"duration": 562,
|
|
"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=306&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: HBgIzrPzUob4Q2yuh96scA==\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: WAvdWf3SVTlRzP9x+ppZmrIIoYU=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "12.1.5",
|
|
"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,
|
|
"152": 1,
|
|
"153": 2,
|
|
"154": 2,
|
|
"155": 4,
|
|
"157": 3,
|
|
"158": 2,
|
|
"159": 2,
|
|
"160": 3,
|
|
"161": 1,
|
|
"162": 2,
|
|
"163": 1,
|
|
"164": 6,
|
|
"165": 5,
|
|
"166": 1,
|
|
"167": 7,
|
|
"168": 7,
|
|
"169": 10,
|
|
"170": 13,
|
|
"171": 10,
|
|
"172": 13,
|
|
"173": 14,
|
|
"174": 19,
|
|
"175": 20,
|
|
"176": 16,
|
|
"177": 28,
|
|
"178": 20,
|
|
"179": 24,
|
|
"180": 23,
|
|
"181": 23,
|
|
"182": 23,
|
|
"183": 28,
|
|
"184": 20,
|
|
"185": 19,
|
|
"186": 17,
|
|
"187": 12,
|
|
"188": 22,
|
|
"189": 26,
|
|
"190": 12,
|
|
"191": 13,
|
|
"192": 15,
|
|
"193": 11,
|
|
"194": 11,
|
|
"195": 16,
|
|
"196": 11,
|
|
"197": 9,
|
|
"198": 7,
|
|
"199": 10,
|
|
"200": 3,
|
|
"201": 9,
|
|
"202": 11,
|
|
"203": 5,
|
|
"204": 4,
|
|
"205": 10,
|
|
"206": 10,
|
|
"207": 4,
|
|
"208": 7,
|
|
"209": 1,
|
|
"210": 3,
|
|
"211": 5,
|
|
"212": 5,
|
|
"213": 5,
|
|
"214": 10,
|
|
"215": 11,
|
|
"216": 10,
|
|
"217": 12,
|
|
"218": 10,
|
|
"219": 7,
|
|
"220": 4,
|
|
"221": 9,
|
|
"222": 11,
|
|
"223": 10,
|
|
"224": 17,
|
|
"225": 6,
|
|
"226": 12,
|
|
"227": 14,
|
|
"228": 7,
|
|
"229": 13,
|
|
"230": 11,
|
|
"231": 9,
|
|
"232": 11,
|
|
"233": 15,
|
|
"234": 12,
|
|
"235": 16,
|
|
"236": 7,
|
|
"237": 6,
|
|
"238": 3,
|
|
"239": 2,
|
|
"240": 1,
|
|
"244": 2,
|
|
"246": 5,
|
|
"247": 2,
|
|
"248": 4,
|
|
"249": 2,
|
|
"250": 4,
|
|
"251": 1,
|
|
"252": 4,
|
|
"253": 1,
|
|
"255": 2,
|
|
"256": 3,
|
|
"257": 4,
|
|
"258": 1,
|
|
"259": 1,
|
|
"260": 4,
|
|
"261": 2,
|
|
"262": 3,
|
|
"263": 1,
|
|
"264": 6,
|
|
"265": 3,
|
|
"266": 6,
|
|
"267": 5,
|
|
"268": 5,
|
|
"269": 9,
|
|
"270": 5,
|
|
"271": 4,
|
|
"272": 1,
|
|
"273": 3,
|
|
"274": 1,
|
|
"276": 1,
|
|
"285": 1,
|
|
"289": 1,
|
|
"295": 1,
|
|
"310": 1
|
|
},
|
|
"started": "2024-01-23T02:36:10.677Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.047523681640625,
|
|
"incomingOctetsAppLevel": 4096000,
|
|
"incomingOctetsWebSocketLevel": 194657,
|
|
"incomingOctetsWireLevel": 202657,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.04109793123288656,
|
|
"outgoingCompressionRatio": 0.047523681640625,
|
|
"outgoingOctetsAppLevel": 4096000,
|
|
"outgoingOctetsWebSocketLevel": 194657,
|
|
"outgoingOctetsWireLevel": 198657,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.02054896561644328,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"1": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"148": 1,
|
|
"149": 2,
|
|
"150": 2,
|
|
"151": 4,
|
|
"153": 3,
|
|
"154": 2,
|
|
"155": 2,
|
|
"156": 3,
|
|
"157": 1,
|
|
"158": 2,
|
|
"159": 1,
|
|
"160": 6,
|
|
"161": 5,
|
|
"162": 1,
|
|
"163": 7,
|
|
"164": 7,
|
|
"165": 10,
|
|
"166": 13,
|
|
"167": 10,
|
|
"168": 13,
|
|
"169": 14,
|
|
"170": 19,
|
|
"171": 20,
|
|
"172": 16,
|
|
"173": 28,
|
|
"174": 20,
|
|
"175": 24,
|
|
"176": 23,
|
|
"177": 23,
|
|
"178": 23,
|
|
"179": 28,
|
|
"180": 20,
|
|
"181": 19,
|
|
"182": 17,
|
|
"183": 12,
|
|
"184": 22,
|
|
"185": 26,
|
|
"186": 12,
|
|
"187": 13,
|
|
"188": 15,
|
|
"189": 11,
|
|
"190": 11,
|
|
"191": 16,
|
|
"192": 11,
|
|
"193": 9,
|
|
"194": 7,
|
|
"195": 10,
|
|
"196": 3,
|
|
"197": 9,
|
|
"198": 11,
|
|
"199": 5,
|
|
"200": 4,
|
|
"201": 10,
|
|
"202": 10,
|
|
"203": 4,
|
|
"204": 7,
|
|
"205": 1,
|
|
"206": 3,
|
|
"207": 5,
|
|
"208": 5,
|
|
"209": 5,
|
|
"210": 10,
|
|
"211": 11,
|
|
"212": 10,
|
|
"213": 12,
|
|
"214": 10,
|
|
"215": 7,
|
|
"216": 4,
|
|
"217": 9,
|
|
"218": 11,
|
|
"219": 10,
|
|
"220": 17,
|
|
"221": 6,
|
|
"222": 12,
|
|
"223": 14,
|
|
"224": 7,
|
|
"225": 13,
|
|
"226": 11,
|
|
"227": 9,
|
|
"228": 11,
|
|
"229": 15,
|
|
"230": 12,
|
|
"231": 16,
|
|
"232": 7,
|
|
"233": 6,
|
|
"234": 3,
|
|
"235": 2,
|
|
"236": 1,
|
|
"240": 2,
|
|
"242": 5,
|
|
"243": 2,
|
|
"244": 4,
|
|
"245": 2,
|
|
"246": 4,
|
|
"247": 1,
|
|
"248": 4,
|
|
"249": 1,
|
|
"251": 2,
|
|
"252": 4,
|
|
"253": 4,
|
|
"254": 1,
|
|
"255": 1,
|
|
"256": 4,
|
|
"257": 2,
|
|
"258": 3,
|
|
"259": 1,
|
|
"260": 6,
|
|
"261": 3,
|
|
"262": 6,
|
|
"263": 5,
|
|
"264": 5,
|
|
"265": 9,
|
|
"266": 5,
|
|
"267": 4,
|
|
"268": 1,
|
|
"269": 3,
|
|
"270": 1,
|
|
"272": 1,
|
|
"281": 1,
|
|
"285": 1,
|
|
"306": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d333036266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"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,
|
|
"8882e56ab01ce682"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"e56ab01c"
|
|
]
|
|
]
|
|
} |