mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
463 lines
8.9 KiB
JSON
463 lines
8.9 KiB
JSON
{
|
|
"agent": "websock-secure-client",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 341,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send 1000 compressed messages each of payload size 1024, auto-fragment to 0 octets. Use default permessage-deflate offer.",
|
|
"droppedByMe": true,
|
|
"duration": 407,
|
|
"expectation": "Receive echo'ed messages (with payload as sent). Timeout case after 240 secs.",
|
|
"expected": {},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1000
|
|
],
|
|
"closedByMe": true,
|
|
"requireClean": true
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=341&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: BNE+kxwZZNugImmo19zhGQ==\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: PoFnfBOgTIfA30B4YzPqMNff9OM=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
|
|
"id": "12.3.4",
|
|
"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,
|
|
"295": 1,
|
|
"303": 1,
|
|
"305": 1,
|
|
"311": 2,
|
|
"330": 2,
|
|
"331": 1,
|
|
"332": 1,
|
|
"335": 2,
|
|
"336": 1,
|
|
"338": 1,
|
|
"339": 1,
|
|
"342": 1,
|
|
"344": 1,
|
|
"345": 1,
|
|
"347": 3,
|
|
"349": 2,
|
|
"350": 1,
|
|
"351": 2,
|
|
"355": 1,
|
|
"357": 1,
|
|
"360": 1,
|
|
"362": 2,
|
|
"364": 1,
|
|
"368": 3,
|
|
"371": 1,
|
|
"373": 2,
|
|
"374": 1,
|
|
"376": 3,
|
|
"377": 3,
|
|
"379": 1,
|
|
"385": 1,
|
|
"387": 2,
|
|
"388": 2,
|
|
"389": 2,
|
|
"390": 2,
|
|
"391": 2,
|
|
"392": 2,
|
|
"393": 1,
|
|
"396": 4,
|
|
"397": 8,
|
|
"398": 1,
|
|
"399": 1,
|
|
"400": 3,
|
|
"401": 7,
|
|
"402": 8,
|
|
"403": 10,
|
|
"404": 7,
|
|
"405": 4,
|
|
"406": 4,
|
|
"407": 7,
|
|
"408": 9,
|
|
"409": 6,
|
|
"410": 11,
|
|
"411": 11,
|
|
"412": 5,
|
|
"413": 8,
|
|
"414": 7,
|
|
"415": 3,
|
|
"416": 6,
|
|
"417": 2,
|
|
"418": 6,
|
|
"419": 8,
|
|
"420": 8,
|
|
"421": 6,
|
|
"422": 14,
|
|
"423": 7,
|
|
"424": 10,
|
|
"425": 15,
|
|
"426": 13,
|
|
"427": 14,
|
|
"428": 10,
|
|
"429": 13,
|
|
"430": 11,
|
|
"431": 7,
|
|
"432": 18,
|
|
"433": 6,
|
|
"434": 7,
|
|
"435": 17,
|
|
"436": 14,
|
|
"437": 16,
|
|
"438": 15,
|
|
"439": 13,
|
|
"440": 14,
|
|
"441": 23,
|
|
"442": 17,
|
|
"443": 22,
|
|
"444": 29,
|
|
"445": 27,
|
|
"446": 14,
|
|
"447": 18,
|
|
"448": 13,
|
|
"449": 13,
|
|
"450": 16,
|
|
"451": 11,
|
|
"452": 8,
|
|
"453": 19,
|
|
"454": 13,
|
|
"455": 15,
|
|
"456": 13,
|
|
"457": 14,
|
|
"458": 24,
|
|
"459": 12,
|
|
"460": 12,
|
|
"461": 9,
|
|
"462": 6,
|
|
"463": 4,
|
|
"464": 5,
|
|
"465": 9,
|
|
"466": 12,
|
|
"467": 15,
|
|
"468": 17,
|
|
"469": 8,
|
|
"470": 10,
|
|
"471": 8,
|
|
"472": 2,
|
|
"473": 6,
|
|
"474": 3,
|
|
"475": 7,
|
|
"476": 2,
|
|
"477": 4,
|
|
"478": 4,
|
|
"479": 3,
|
|
"480": 5,
|
|
"481": 2,
|
|
"482": 1,
|
|
"483": 2,
|
|
"484": 4,
|
|
"485": 2,
|
|
"486": 6,
|
|
"488": 2,
|
|
"490": 1,
|
|
"491": 1,
|
|
"492": 2,
|
|
"493": 2,
|
|
"494": 3,
|
|
"495": 2,
|
|
"496": 4,
|
|
"497": 1,
|
|
"498": 4,
|
|
"499": 3,
|
|
"500": 3,
|
|
"501": 3,
|
|
"502": 3,
|
|
"503": 1,
|
|
"504": 3,
|
|
"505": 3,
|
|
"506": 2,
|
|
"514": 1,
|
|
"516": 3,
|
|
"520": 1,
|
|
"522": 1,
|
|
"523": 1,
|
|
"524": 1,
|
|
"535": 1,
|
|
"545": 2,
|
|
"549": 1,
|
|
"552": 1,
|
|
"557": 1,
|
|
"567": 1,
|
|
"601": 1
|
|
},
|
|
"started": "2024-02-16T18:44:32.066Z",
|
|
"trafficStats": {
|
|
"incomingCompressionRatio": 0.4223271484375,
|
|
"incomingOctetsAppLevel": 1024000,
|
|
"incomingOctetsWebSocketLevel": 432463,
|
|
"incomingOctetsWireLevel": 440463,
|
|
"incomingWebSocketFrames": 1000,
|
|
"incomingWebSocketMessages": 1000,
|
|
"incomingWebSocketOverhead": 0.018498692373682835,
|
|
"outgoingCompressionRatio": 0.4223271484375,
|
|
"outgoingOctetsAppLevel": 1024000,
|
|
"outgoingOctetsWebSocketLevel": 432463,
|
|
"outgoingOctetsWireLevel": 436463,
|
|
"outgoingWebSocketFrames": 1000,
|
|
"outgoingWebSocketMessages": 1000,
|
|
"outgoingWebSocketOverhead": 0.009249346186841418,
|
|
"preopenIncomingOctetsWireLevel": 295,
|
|
"preopenOutgoingOctetsWireLevel": 252
|
|
},
|
|
"txFrameStats": {
|
|
"2": 1000,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"252": 1,
|
|
"299": 1,
|
|
"301": 1,
|
|
"307": 2,
|
|
"326": 2,
|
|
"327": 1,
|
|
"328": 1,
|
|
"331": 2,
|
|
"332": 1,
|
|
"334": 1,
|
|
"335": 1,
|
|
"338": 1,
|
|
"340": 1,
|
|
"341": 1,
|
|
"343": 3,
|
|
"345": 2,
|
|
"346": 1,
|
|
"347": 2,
|
|
"351": 1,
|
|
"353": 1,
|
|
"356": 1,
|
|
"358": 2,
|
|
"360": 1,
|
|
"364": 3,
|
|
"367": 1,
|
|
"369": 2,
|
|
"370": 1,
|
|
"372": 3,
|
|
"373": 3,
|
|
"375": 1,
|
|
"381": 1,
|
|
"383": 2,
|
|
"384": 2,
|
|
"385": 2,
|
|
"386": 2,
|
|
"387": 2,
|
|
"388": 2,
|
|
"389": 1,
|
|
"392": 4,
|
|
"393": 8,
|
|
"394": 1,
|
|
"395": 1,
|
|
"396": 3,
|
|
"397": 7,
|
|
"398": 8,
|
|
"399": 10,
|
|
"400": 7,
|
|
"401": 4,
|
|
"402": 4,
|
|
"403": 7,
|
|
"404": 9,
|
|
"405": 6,
|
|
"406": 11,
|
|
"407": 11,
|
|
"408": 5,
|
|
"409": 8,
|
|
"410": 7,
|
|
"411": 3,
|
|
"412": 6,
|
|
"413": 2,
|
|
"414": 6,
|
|
"415": 8,
|
|
"416": 8,
|
|
"417": 6,
|
|
"418": 14,
|
|
"419": 7,
|
|
"420": 10,
|
|
"421": 15,
|
|
"422": 13,
|
|
"423": 14,
|
|
"424": 10,
|
|
"425": 13,
|
|
"426": 11,
|
|
"427": 7,
|
|
"428": 18,
|
|
"429": 6,
|
|
"430": 7,
|
|
"431": 17,
|
|
"432": 14,
|
|
"433": 16,
|
|
"434": 15,
|
|
"435": 13,
|
|
"436": 14,
|
|
"437": 23,
|
|
"438": 17,
|
|
"439": 22,
|
|
"440": 29,
|
|
"441": 27,
|
|
"442": 14,
|
|
"443": 18,
|
|
"444": 13,
|
|
"445": 13,
|
|
"446": 16,
|
|
"447": 11,
|
|
"448": 8,
|
|
"449": 19,
|
|
"450": 13,
|
|
"451": 15,
|
|
"452": 13,
|
|
"453": 14,
|
|
"454": 24,
|
|
"455": 12,
|
|
"456": 12,
|
|
"457": 9,
|
|
"458": 6,
|
|
"459": 4,
|
|
"460": 5,
|
|
"461": 9,
|
|
"462": 12,
|
|
"463": 15,
|
|
"464": 17,
|
|
"465": 8,
|
|
"466": 10,
|
|
"467": 8,
|
|
"468": 2,
|
|
"469": 6,
|
|
"470": 3,
|
|
"471": 7,
|
|
"472": 2,
|
|
"473": 4,
|
|
"474": 4,
|
|
"475": 3,
|
|
"476": 5,
|
|
"477": 2,
|
|
"478": 1,
|
|
"479": 2,
|
|
"480": 4,
|
|
"481": 2,
|
|
"482": 6,
|
|
"484": 2,
|
|
"486": 1,
|
|
"487": 1,
|
|
"488": 2,
|
|
"489": 2,
|
|
"490": 3,
|
|
"491": 2,
|
|
"492": 4,
|
|
"493": 1,
|
|
"494": 4,
|
|
"495": 3,
|
|
"496": 3,
|
|
"497": 3,
|
|
"498": 3,
|
|
"499": 1,
|
|
"500": 3,
|
|
"501": 3,
|
|
"502": 2,
|
|
"510": 1,
|
|
"512": 3,
|
|
"516": 1,
|
|
"518": 1,
|
|
"519": 1,
|
|
"520": 1,
|
|
"531": 1,
|
|
"541": 2,
|
|
"545": 1,
|
|
"548": 1,
|
|
"553": 1,
|
|
"563": 1,
|
|
"597": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
295,
|
|
"474554202f72756e436173653f636173653d333431266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
252,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"WLM",
|
|
false
|
|
],
|
|
[
|
|
"TI",
|
|
240
|
|
],
|
|
[
|
|
"WLM",
|
|
true
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"8882ae608ba8ad88"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"ae608ba8"
|
|
]
|
|
]
|
|
} |