mirror of
https://github.com/status-im/nim-websock.git
synced 2025-01-12 10:35:03 +00:00
124 lines
3.0 KiB
JSON
124 lines
3.0 KiB
JSON
|
{
|
||
|
"agent": "websock-secure-client",
|
||
|
"behavior": "OK",
|
||
|
"behaviorClose": "OK",
|
||
|
"case": 286,
|
||
|
"closedByMe": true,
|
||
|
"createStats": true,
|
||
|
"createWirelog": true,
|
||
|
"description": "Send binary message message with payload of length 1 * 2**20 (1M). Sent out data in chops of 512 octets.",
|
||
|
"droppedByMe": true,
|
||
|
"duration": 644,
|
||
|
"expectation": "Receive echo'ed text message (with payload as sent).",
|
||
|
"expected": {},
|
||
|
"expectedClose": {
|
||
|
"closeCode": [
|
||
|
1000
|
||
|
],
|
||
|
"closedByMe": true,
|
||
|
"requireClean": true
|
||
|
},
|
||
|
"failedByMe": false,
|
||
|
"httpRequest": "GET /runCase?case=286&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: bMVmrBSszd01qTBdXdKi5A==\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: 4RubJMu4T0OpDO4fHM7FlJ2FHE0=\r\n\r\n",
|
||
|
"id": "9.6.4",
|
||
|
"isServer": true,
|
||
|
"localCloseCode": 1000,
|
||
|
"localCloseReason": null,
|
||
|
"received": [],
|
||
|
"remoteCloseCode": 1000,
|
||
|
"remoteCloseReason": null,
|
||
|
"reportCompressionRatio": false,
|
||
|
"reportTime": true,
|
||
|
"result": "Received binary message of length 1048576.",
|
||
|
"resultClose": "Connection was properly closed",
|
||
|
"rxFrameStats": {
|
||
|
"2": 1,
|
||
|
"8": 1
|
||
|
},
|
||
|
"rxOctetStats": {
|
||
|
"8": 1,
|
||
|
"14": 1,
|
||
|
"295": 1,
|
||
|
"16384": 64
|
||
|
},
|
||
|
"started": "2021-07-15T20:29:54.633Z",
|
||
|
"trafficStats": null,
|
||
|
"txFrameStats": {
|
||
|
"2": 1,
|
||
|
"8": 1
|
||
|
},
|
||
|
"txOctetStats": {
|
||
|
"4": 1,
|
||
|
"10": 1,
|
||
|
"206": 1,
|
||
|
"512": 2048
|
||
|
},
|
||
|
"wasClean": true,
|
||
|
"wasCloseHandshakeTimeout": false,
|
||
|
"wasNotCleanReason": null,
|
||
|
"wasOpenHandshakeTimeout": false,
|
||
|
"wasServerConnectionDropTimeout": false,
|
||
|
"wirelog": [
|
||
|
[
|
||
|
"RO",
|
||
|
[
|
||
|
295,
|
||
|
"474554202f72756e436173653f636173653d323836266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d ..."
|
||
|
]
|
||
|
],
|
||
|
[
|
||
|
"TO",
|
||
|
[
|
||
|
206,
|
||
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
||
|
],
|
||
|
false
|
||
|
],
|
||
|
[
|
||
|
"TI",
|
||
|
1000
|
||
|
],
|
||
|
[
|
||
|
"TF",
|
||
|
[
|
||
|
2,
|
||
|
"0x03e8"
|
||
|
],
|
||
|
8,
|
||
|
true,
|
||
|
0,
|
||
|
null,
|
||
|
null,
|
||
|
null,
|
||
|
false
|
||
|
],
|
||
|
[
|
||
|
"TO",
|
||
|
[
|
||
|
4,
|
||
|
"880203e8"
|
||
|
],
|
||
|
false
|
||
|
],
|
||
|
[
|
||
|
"RO",
|
||
|
[
|
||
|
8,
|
||
|
"8882ab223e0da8ca"
|
||
|
]
|
||
|
],
|
||
|
[
|
||
|
"RF",
|
||
|
[
|
||
|
2,
|
||
|
"0x03e8"
|
||
|
],
|
||
|
8,
|
||
|
true,
|
||
|
0,
|
||
|
true,
|
||
|
"ab223e0d"
|
||
|
]
|
||
|
]
|
||
|
}
|