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.
177 lines
3.7 KiB
177 lines
3.7 KiB
{
|
|
"agent": "Tungstenite",
|
|
"behavior": "OK",
|
|
"behaviorClose": "OK",
|
|
"case": 210,
|
|
"closedByMe": true,
|
|
"createStats": true,
|
|
"createWirelog": true,
|
|
"description": "Send a message followed by a close frame",
|
|
"droppedByMe": true,
|
|
"duration": 0,
|
|
"expectation": "Echoed message followed by clean close with normal code.",
|
|
"expected": {
|
|
"OK": [
|
|
[
|
|
"message",
|
|
"Hello World!",
|
|
false
|
|
]
|
|
]
|
|
},
|
|
"expectedClose": {
|
|
"closeCode": [
|
|
1000
|
|
],
|
|
"closedByMe": true,
|
|
"requireClean": true
|
|
},
|
|
"failedByMe": false,
|
|
"httpRequest": "GET /runCase?case=210&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: 9Jk6W3UeSgdLjgdMSTuyiw==\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: DjcDJd2FiZf97KAdbRXf6u4O8is=\r\n\r\n",
|
|
"id": "7.1.1",
|
|
"isServer": true,
|
|
"localCloseCode": 1000,
|
|
"localCloseReason": null,
|
|
"received": [
|
|
[
|
|
"message",
|
|
"Hello World!",
|
|
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
|
|
},
|
|
"rxOctetStats": {
|
|
"8": 1,
|
|
"18": 1,
|
|
"257": 1
|
|
},
|
|
"started": "2020-09-07T18:44:02.111Z",
|
|
"trafficStats": null,
|
|
"txFrameStats": {
|
|
"1": 1,
|
|
"8": 1
|
|
},
|
|
"txOctetStats": {
|
|
"4": 1,
|
|
"14": 1,
|
|
"206": 1
|
|
},
|
|
"wasClean": true,
|
|
"wasCloseHandshakeTimeout": false,
|
|
"wasNotCleanReason": null,
|
|
"wasOpenHandshakeTimeout": false,
|
|
"wasServerConnectionDropTimeout": false,
|
|
"wirelog": [
|
|
[
|
|
"RO",
|
|
[
|
|
257,
|
|
"474554202f72756e436173653f636173653d323130266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f73 ..."
|
|
]
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
206,
|
|
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
12,
|
|
"Hello World!"
|
|
],
|
|
1,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
14,
|
|
"810c48656c6c6f20576f726c6421"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"KL",
|
|
1
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
18,
|
|
"818c4031407f08542c132f111710325d245e"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
12,
|
|
"Hello World!"
|
|
],
|
|
1,
|
|
true,
|
|
0,
|
|
true,
|
|
"4031407f"
|
|
],
|
|
[
|
|
"TF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
null,
|
|
null,
|
|
null,
|
|
false
|
|
],
|
|
[
|
|
"TO",
|
|
[
|
|
4,
|
|
"880203e8"
|
|
],
|
|
false
|
|
],
|
|
[
|
|
"RO",
|
|
[
|
|
8,
|
|
"88826a438a0c69ab"
|
|
]
|
|
],
|
|
[
|
|
"RF",
|
|
[
|
|
2,
|
|
"0x03e8"
|
|
],
|
|
8,
|
|
true,
|
|
0,
|
|
true,
|
|
"6a438a0c"
|
|
]
|
|
]
|
|
} |