You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
180 lines
4.0 KiB
180 lines
4.0 KiB
{
|
|
"agent": "Tungstenite",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 38,
|
|
"closedByMe": false,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send small text message, then send frame with reserved non-control <b>Opcode = 6</b> and non-empty payload, then send Ping.",
|
|
"droppedByMe": false,
|
|
"duration": 0,
|
|
"expectation": "Echo for first message is received, but then connection is failed immediately, since reserved opcode frame is used. A Pong is not received.",
|
|
"expected": {
|
|
"NON-STRICT": [],
|
|
"OK": [
|
|
[
|
|
"message",
|
|
"Hello, world!",
|
|
false
|
|
]
|
|
]
|
|
},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1002
|
|
],
|
|
"closedByMe": false,
|
|
"requireClean": false
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=38&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: HU64gJPXtqQfWR/4eHbN7g==\r\nsec-websocket-extensions: permessage-deflate; client_max_window_bits\r\n\r\n",
|
|
"httpResponse": "HTTP/1.1 101 Switching Protocols\r\nServer: AutobahnTestSuite/0.8.1-0.10.9\r\nX-Powered-By: AutobahnPython/0.10.9\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: E/2j8+BMbb1/wy0kMgRwpJf7OR0=\r\n\r\n",
|
|
"id": "4.1.4",
|
|
"isServer": true,
|
|
"localCloseCode": null,
|
|
"localCloseReason": null,
|
|
"received": [
|
|
[
|
|
"message",
|
|
"Hello, world!",
|
|
false
|
|
]
|
|
],
|
|
"remoteCloseCode": null,
|
|
"remoteCloseReason": null,
|
|
"reportCompressionRatio": false,
|
|
"reportTime": false,
|
|
"result": "Actual events match at least one expected.",
|
|
"resultClose": "Connection was properly closed",
|
|
"rxFrameStats": {
|
|
"1": 1
|
|
},
|
|
"rxOctetStats": {
|
|
"19": 1,
|
|
"256": 1
|
|
},
|
|
"started": "2020-09-07T18:43:53.938Z",
|
|
"trafficStats": null,
|
|
"txFrameStats": {
|
|
"1": 1,
|
|
"6": 1,
|
|
"9": 1
|
|
},
|
|
"txOctetStats": {
|
|
"2": 1,
|
|
"15": 2,
|
|
"206": 1
|
|
},
|
|
"wasClean": false,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": "peer dropped the TCP connection without previous WebSocket closing handshake",
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
256,
|
|
"474554202f72756e436173653f636173653d3338266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f7374 ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
206,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
13,
|
|
"Hello, world!"
|
|
],
|
|
1,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
15,
|
|
"810d48656c6c6f2c20776f726c6421"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
13,
|
|
"Hello, world!"
|
|
],
|
|
6,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
15,
|
|
"860d48656c6c6f2c20776f726c6421"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
0,
|
|
""
|
|
],
|
|
9,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
2,
|
|
"8900"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"KL",
|
|
1
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
19,
|
|
"818d6241f38e2a249fe20d6dd3f90d339fea43"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
13,
|
|
"Hello, world!"
|
|
],
|
|
1,
|
|
true,
|
|
0,
|
|
true,
|
|
"6241f38e"
|
|
]
|
|
]
|
|
} |