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.
 
 
tungstenite-rs/autobahn/client/tungstenite_case_6_4_3.json

176 lines
4.0 KiB

{
"agent": "Tungstenite",
"behavior": "NON-STRICT",
"behaviorClose": "OK",
"case": 76,
"closedByMe": false,
"createStats": true,
"createWirelog": true,
"description": "Same as Case 6.4.1, but we send message not in 3 frames, but in 3 chops of the same message frame.\n<br><br>MESSAGE PARTS:<br>\nPART1 = cebae1bdb9cf83cebcceb5<br>\nPART2 = f4908080<br>\nPART3 = 656469746564<br>\n",
"droppedByMe": false,
"duration": 2003,
"expectation": "The first chop is accepted, we expect to timeout on the first wait. The 2nd chop should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then, since the complete message payload is not valid UTF-8.",
"expected": {
"NON-STRICT": [
[
"timeout",
"A"
],
[
"timeout",
"B"
]
],
"OK": [
[
"timeout",
"A"
]
]
},
"expectedClose": {
"closeCode": [
1007
],
"closedByMe": false,
"closedByWrongEndpointIsFatal": true,
"requireClean": false
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=76&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: St+Ldp27bTDsN1W/YPNtgw==\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: sNE7Jdbl7t4apPjtYYsM0NerDfc=\r\n\r\n",
"id": "6.4.3",
"isServer": true,
"localCloseCode": null,
"localCloseReason": null,
"received": [
[
"timeout",
"A"
],
[
"timeout",
"B"
]
],
"remoteCloseCode": null,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {},
"rxOctetStats": {
"256": 1
},
"started": "2020-09-07T18:43:57.995Z",
"trafficStats": null,
"txFrameStats": {
"0": 1
},
"txOctetStats": {
"2": 2,
"4": 1,
"6": 1,
"11": 1,
"206": 1
},
"wasClean": false,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": "peer dropped the TCP connection without previous WebSocket closing handshake",
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
256,
"474554202f72756e436173653f636173653d3736266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f7374 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TO",
[
2,
"0115"
],
false
],
[
"TO",
[
11,
"cebae1bdb9cf83cebcceb5"
],
false
],
[
"CT",
1,
"A"
],
[
"CTE",
"A"
],
[
"TO",
[
4,
"f4908080"
],
false
],
[
"CT",
1,
"B"
],
[
"CTE",
"B"
],
[
"TO",
[
6,
"656469746564"
],
false
],
[
"TF",
[
0,
""
],
0,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
2,
"8000"
],
false
],
[
"KL",
1
]
]
}