nim-websock/client_tls/websock_secure_client_case_12_2_2.json
2021-07-16 08:05:39 +07:00

169 lines
4.2 KiB
JSON

{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 321,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send 1000 compressed messages each of payload size 64, auto-fragment to 0 octets. Use default permessage-deflate offer.",
"droppedByMe": true,
"duration": 1018,
"expectation": "Receive echo'ed messages (with payload as sent). Timeout case after 60 secs.",
"expected": {},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=321&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: MEn6IAoNi3BobyDrXuv8/g==\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: 7BYuauuY9mfDm+K+roUTwekOsQU=\r\nSec-WebSocket-Extensions: permessage-deflate\r\n\r\n",
"id": "12.2.2",
"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,
"70": 1000,
"295": 1
},
"started": "2021-07-15T20:42:14.377Z",
"trafficStats": {
"incomingCompressionRatio": 1.0,
"incomingOctetsAppLevel": 64000,
"incomingOctetsWebSocketLevel": 64000,
"incomingOctetsWireLevel": 70000,
"incomingWebSocketFrames": 1000,
"incomingWebSocketMessages": 1000,
"incomingWebSocketOverhead": 0.09375,
"outgoingCompressionRatio": 0.99625,
"outgoingOctetsAppLevel": 64000,
"outgoingOctetsWebSocketLevel": 63760,
"outgoingOctetsWireLevel": 65760,
"outgoingWebSocketFrames": 1000,
"outgoingWebSocketMessages": 1000,
"outgoingWebSocketOverhead": 0.03136762860727729,
"preopenIncomingOctetsWireLevel": 295,
"preopenOutgoingOctetsWireLevel": 252
},
"txFrameStats": {
"2": 1000,
"8": 1
},
"txOctetStats": {
"4": 1,
"7": 6,
"9": 1,
"16": 1,
"36": 1,
"52": 2,
"54": 12,
"55": 1,
"56": 1,
"57": 1,
"58": 4,
"59": 5,
"60": 10,
"61": 21,
"62": 34,
"63": 39,
"64": 86,
"65": 126,
"66": 129,
"67": 170,
"68": 192,
"69": 76,
"70": 19,
"72": 63,
"252": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
295,
"474554202f72756e436173653f636173653d333231266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
]
],
[
"TO",
[
252,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"WLM",
false
],
[
"TI",
60
],
[
"WLM",
true
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882903389dc93db"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"903389dc"
]
]
}