mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
394 lines
7.9 KiB
JSON
394 lines
7.9 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 432,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 4096, auto-fragment to 0 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(False, 9)]",
|
|
"droppedByMe": true,
|
|
"duration": 5709,
|
|
"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=432&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: 2qIZh8lpIiix2JaOiylK2A==\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: JJ9OKQ/sI8YhKGGwUXoXaFSTlUI=\r\nSec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=9\r\n\r\n",
|
|
"id": "13.3.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,
|
|
"131": 1,
|
|
"138": 1,
|
|
"139": 1,
|
|
"140": 1,
|
|
"141": 4,
|
|
"142": 5,
|
|
"144": 8,
|
|
"145": 3,
|
|
"146": 4,
|
|
"147": 13,
|
|
"148": 7,
|
|
"149": 10,
|
|
"150": 11,
|
|
"151": 11,
|
|
"152": 20,
|
|
"153": 22,
|
|
"154": 9,
|
|
"155": 7,
|
|
"156": 20,
|
|
"157": 14,
|
|
"158": 17,
|
|
"159": 21,
|
|
"160": 15,
|
|
"161": 15,
|
|
"162": 16,
|
|
"163": 14,
|
|
"164": 14,
|
|
"165": 12,
|
|
"166": 13,
|
|
"167": 10,
|
|
"168": 12,
|
|
"169": 8,
|
|
"170": 9,
|
|
"171": 9,
|
|
"172": 12,
|
|
"173": 17,
|
|
"174": 16,
|
|
"175": 12,
|
|
"176": 14,
|
|
"177": 21,
|
|
"178": 14,
|
|
"179": 13,
|
|
"180": 18,
|
|
"181": 10,
|
|
"182": 16,
|
|
"183": 7,
|
|
"184": 14,
|
|
"185": 16,
|
|
"186": 10,
|
|
"187": 19,
|
|
"188": 17,
|
|
"189": 20,
|
|
"190": 11,
|
|
"191": 21,
|
|
"192": 23,
|
|
"193": 15,
|
|
"194": 13,
|
|
"195": 17,
|
|
"196": 15,
|
|
"197": 6,
|
|
"198": 7,
|
|
"199": 10,
|
|
"200": 5,
|
|
"201": 8,
|
|
"202": 6,
|
|
"203": 3,
|
|
"204": 3,
|
|
"205": 4,
|
|
"206": 7,
|
|
"207": 7,
|
|
"208": 5,
|
|
"209": 7,
|
|
"210": 7,
|
|
"211": 5,
|
|
"212": 4,
|
|
"213": 2,
|
|
"214": 3,
|
|
"215": 3,
|
|
"216": 3,
|
|
"217": 5,
|
|
"218": 3,
|
|
"219": 5,
|
|
"220": 10,
|
|
"221": 4,
|
|
"222": 4,
|
|
"223": 3,
|
|
"224": 5,
|
|
"225": 3,
|
|
"226": 6,
|
|
"227": 6,
|
|
"228": 3,
|
|
"229": 8,
|
|
"230": 5,
|
|
"231": 4,
|
|
"232": 1,
|
|
"233": 4,
|
|
"234": 2,
|
|
"235": 2,
|
|
"236": 5,
|
|
"237": 3,
|
|
"238": 3,
|
|
"239": 4,
|
|
"240": 6,
|
|
"241": 4,
|
|
"242": 1,
|
|
"243": 4,
|
|
"244": 3,
|
|
"245": 5,
|
|
"246": 1,
|
|
"247": 2,
|
|
"248": 2,
|
|
"249": 1,
|
|
"250": 2,
|
|
"253": 1,
|
|
"254": 5,
|
|
"255": 1,
|
|
"256": 3,
|
|
"258": 1,
|
|
"259": 3,
|
|
"261": 2,
|
|
"263": 1,
|
|
"265": 1,
|
|
"271": 1,
|
|
"274": 3,
|
|
"275": 2,
|
|
"277": 1,
|
|
"279": 2,
|
|
"295": 1,
|
|
"303": 1
|
|
},
|
|
"started": "2021-07-15T21:45:43.293Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.043261474609375,
|
|
"incomingOctetsAppLevel": 4096000,
|
|
"incomingOctetsWebSocketLevel": 177199,
|
|
"incomingOctetsWireLevel": 185197,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.04513569489669806,
|
|
"outgoingCompressionRatio": 0.047523681640625,
|
|
"outgoingOctetsAppLevel": 4096000,
|
|
"outgoingOctetsWebSocketLevel": 194657,
|
|
"outgoingOctetsWireLevel": 198657,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.02054896561644328,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 278
|
|
},
|
|
"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": 3,
|
|
"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,
|
|
"278": 1,
|
|
"281": 1,
|
|
"285": 1,
|
|
"306": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d343332266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"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,
|
|
"888274bb0dca7753"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"74bb0dca"
|
|
]
|
|
]
|
|
} |