mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
233 lines
5.2 KiB
JSON
233 lines
5.2 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 340,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 256, auto-fragment to 0 octets. Use default permessage-deflate offer.",
|
|
"droppedByMe": true,
|
|
"duration": 214,
|
|
"expectation": "Receive echo'ed messages (with payload as sent). Timeout case after 120 secs.",
|
|
"expected": {},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1000
|
|
],
|
|
"closedByMe": true,
|
|
"requireClean": true
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=340&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: Iusity2bhVWCT50UdHdeJQ==\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: VgJMH5030XqqG3LzAgn1H/kOV70=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "12.3.3",
|
|
"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": {
|
|
"2": 1000,
|
|
"8": 1
|
|
},
|
|
"rxOctetStats": {
|
|
"8": 1,
|
|
"264": 1000,
|
|
"295": 1
|
|
},
|
|
"started": "2024-01-23T03:50:54.125Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 1.0,
|
|
"incomingOctetsAppLevel": 256000,
|
|
"incomingOctetsWebSocketLevel": 256000,
|
|
"incomingOctetsWireLevel": 264000,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.03125,
|
|
"outgoingCompressionRatio": 0.4821328125,
|
|
"outgoingOctetsAppLevel": 256000,
|
|
"outgoingOctetsWebSocketLevel": 123426,
|
|
"outgoingOctetsWireLevel": 126340,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.02360928815646622,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"2": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"22": 1,
|
|
"67": 1,
|
|
"69": 1,
|
|
"75": 2,
|
|
"76": 1,
|
|
"77": 1,
|
|
"80": 1,
|
|
"82": 3,
|
|
"83": 2,
|
|
"85": 1,
|
|
"89": 1,
|
|
"91": 1,
|
|
"92": 3,
|
|
"93": 1,
|
|
"94": 1,
|
|
"95": 5,
|
|
"96": 2,
|
|
"97": 5,
|
|
"98": 3,
|
|
"99": 5,
|
|
"100": 5,
|
|
"101": 6,
|
|
"102": 5,
|
|
"103": 6,
|
|
"104": 4,
|
|
"105": 7,
|
|
"106": 6,
|
|
"107": 11,
|
|
"108": 11,
|
|
"109": 11,
|
|
"110": 18,
|
|
"111": 19,
|
|
"112": 14,
|
|
"113": 15,
|
|
"114": 15,
|
|
"115": 18,
|
|
"116": 22,
|
|
"117": 22,
|
|
"118": 19,
|
|
"119": 25,
|
|
"120": 30,
|
|
"121": 26,
|
|
"122": 31,
|
|
"123": 29,
|
|
"124": 31,
|
|
"125": 26,
|
|
"126": 37,
|
|
"127": 33,
|
|
"130": 33,
|
|
"131": 28,
|
|
"132": 33,
|
|
"133": 36,
|
|
"134": 31,
|
|
"135": 27,
|
|
"136": 28,
|
|
"137": 23,
|
|
"138": 26,
|
|
"139": 21,
|
|
"140": 19,
|
|
"141": 16,
|
|
"142": 16,
|
|
"143": 15,
|
|
"144": 15,
|
|
"145": 12,
|
|
"146": 9,
|
|
"147": 10,
|
|
"148": 6,
|
|
"149": 6,
|
|
"150": 6,
|
|
"151": 10,
|
|
"152": 4,
|
|
"153": 8,
|
|
"154": 3,
|
|
"155": 1,
|
|
"158": 1,
|
|
"159": 1,
|
|
"163": 1,
|
|
"164": 2,
|
|
"165": 2,
|
|
"168": 1,
|
|
"170": 1,
|
|
"171": 1,
|
|
"174": 1,
|
|
"176": 1,
|
|
"192": 1,
|
|
"196": 1,
|
|
"206": 1,
|
|
"252": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d333430266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
252,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
120
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"8882e9a06eceea48"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"e9a06ece"
|
|
]
|
|
]
|
|
} |