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

253 lines
4.9 KiB

{
"agent": "Tungstenite",
"behavior": "OK",
"behaviorClose": "OK",
"case": 51,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in frame-wise chops.",
"droppedByMe": true,
"duration": 1,
"expectation": "A pong is received, then the message is echo'ed back to us.",
"expected": {
"OK": [
[
"pong",
"ping payload"
],
[
"message",
"fragment1fragment2",
false
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=51&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: 0l53PLvkqGpYizuR9/vcyg==\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: GV8kQGv44ulS9DFK7Iyu5iZfxpc=\r\n\r\n",
"id": "5.7",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"pong",
"ping payload"
],
[
"message",
"fragment1fragment2",
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": 1
},
"rxOctetStats": {
"8": 1,
"18": 1,
"24": 1,
"256": 1
},
"started": "2020-09-07T18:43:53.949Z",
"trafficStats": null,
"txFrameStats": {
"0": 1,
"1": 1,
"8": 1,
"9": 1
},
"txOctetStats": {
"4": 1,
"11": 2,
"14": 1,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
256,
"474554202f72756e436173653f636173653d3531266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f7374 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
9,
"fragment1"
],
1,
false,
0,
null,
null,
null,
true
],
[
"TO",
[
11,
"0109667261676d656e7431"
],
true
],
[
"TF",
[
12,
"ping payload"
],
9,
true,
0,
null,
null,
null,
true
],
[
"TF",
[
9,
"fragment2"
],
0,
true,
0,
null,
null,
null,
true
],
[
"TI",
1
],
[
"TO",
[
14,
"890c70696e67207061796c6f6164"
],
true
],
[
"TO",
[
11,
"8009667261676d656e7432"
],
true
],
[
"RO",
[
18,
"8a8cb1e893f3c181fd949198f28add87f297"
]
],
[
"RF",
[
12,
"ping payload"
],
10,
true,
0,
true,
"b1e893f3"
],
[
"RO",
[
24,
"8192e53d27ec834f468b88584998d45b558d82504282910f"
]
],
[
"RF",
[
18,
"fragment1fragment2"
],
1,
true,
0,
true,
"e53d27ec"
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"88827ff359807c1b"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"7ff35980"
]
]
}