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_5_20.json

376 lines
6.8 KiB

{
"agent": "Tungstenite",
"behavior": "OK",
"behaviorClose": "OK",
"case": 64,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Same as Case 5.19, but send all frames with SYNC = True.\n Note, this does not change the octets sent in any way, only how the stream\n is chopped up on the wire.",
"droppedByMe": true,
"duration": 1004,
"expectation": "Same as Case 5.19. Implementations must be agnostic to how\n octet stream is chopped up on wire (must be TCP clean).",
"expected": {
"OK": [
[
"pong",
"pongme 1!"
],
[
"pong",
"pongme 2!"
],
[
"message",
"fragment1fragment2fragment3fragment4fragment5",
false
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=64&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: jnMNEB0RO93//ukXawIyuQ==\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: lQHBtIj9LufCUPKfXe4t4noGcV0=\r\n\r\n",
"id": "5.20",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"pong",
"pongme 1!"
],
[
"pong",
"pongme 2!"
],
[
"message",
"fragment1fragment2fragment3fragment4fragment5",
false
]
],
"remoteCloseCode": 1000,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {
"1": 1,
"8": 1,
"10": 2
},
"rxOctetStats": {
"8": 1,
"15": 2,
"51": 1,
"256": 1
},
"started": "2020-09-07T18:43:54.966Z",
"trafficStats": null,
"txFrameStats": {
"0": 4,
"1": 1,
"8": 1,
"9": 2
},
"txOctetStats": {
"4": 1,
"11": 7,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
256,
"474554202f72756e436173653f636173653d3634266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f7374 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
9,
"fragment1"
],
1,
false,
0,
null,
null,
null,
true
],
[
"TO",
[
11,
"0109667261676d656e7431"
],
true
],
[
"TF",
[
9,
"fragment2"
],
0,
false,
0,
null,
null,
null,
true
],
[
"TF",
[
9,
"pongme 1!"
],
9,
true,
0,
null,
null,
null,
true
],
[
"CT",
1,
null
],
[
"TO",
[
11,
"0009667261676d656e7432"
],
true
],
[
"TO",
[
11,
"8909706f6e676d65203121"
],
true
],
[
"RO",
[
15,
"8a891285d2f362eabc947fe0f2c233"
]
],
[
"RF",
[
9,
"pongme 1!"
],
10,
true,
0,
true,
"1285d2f3"
],
[
"CTE",
null
],
[
"TF",
[
9,
"fragment3"
],
0,
false,
0,
null,
null,
null,
true
],
[
"TO",
[
11,
"0009667261676d656e7433"
],
true
],
[
"TF",
[
9,
"fragment4"
],
0,
false,
0,
null,
null,
null,
true
],
[
"TF",
[
9,
"pongme 2!"
],
9,
true,
0,
null,
null,
null,
true
],
[
"TF",
[
9,
"fragment5"
],
0,
true,
0,
null,
null,
null,
true
],
[
"TI",
1
],
[
"TO",
[
11,
"0009667261676d656e7434"
],
true
],
[
"TO",
[
11,
"8909706f6e676d65203221"
],
true
],
[
"TO",
[
11,
"8009667261676d656e7435"
],
true
],
[
"RO",
[
15,
"8a89f82ec7a68841a9c1954be794d9"
]
],
[
"RF",
[
9,
"pongme 2!"
],
10,
true,
0,
true,
"f82ec7a6"
],
[
"RO",
[
51,
"81ad413177c0274316a72c5419b4705705a1265c12ae350311b220561aa52f4544a6335010ad245f03f4274316a72c5419b474"
]
],
[
"RF",
[
45,
"fragment1fragment2fragment3fragment4fragment5"
],
1,
true,
0,
true,
"413177c0"
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882ec225bbeefca"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"ec225bbe"
]
]
}