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

199 lines
4.1 KiB

{
"agent": "Tungstenite",
"behavior": "OK",
"behaviorClose": "OK",
"case": 25,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "Send unsolicited pong with payload. Send ping with payload. Verify pong for ping is received.",
"droppedByMe": true,
"duration": 0,
"expectation": "Nothing in reply to own Pong, but Pong with payload echo'ed in reply to Ping. Clean close with normal code.",
"expected": {
"OK": [
[
"pong",
"ping payload"
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=25&agent=Tungstenite HTTP/1.1\r\nHost: localhost:9001\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: r/qdPv2FuY2KvDtT2stxgg==\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: EfuwnvnBdi/rRdQvxdj4Nc7adFQ=\r\n\r\n",
"id": "2.9",
"isServer": true,
"localCloseCode": 1000,
"localCloseReason": null,
"received": [
[
"pong",
"ping payload"
]
],
"remoteCloseCode": 1000,
"remoteCloseReason": null,
"reportCompressionRatio": false,
"reportTime": false,
"result": "Actual events match at least one expected.",
"resultClose": "Connection was properly closed",
"rxFrameStats": {
"8": 1,
"10": 1
},
"rxOctetStats": {
"8": 1,
"18": 1,
"256": 1
},
"started": "2020-09-07T18:43:53.922Z",
"trafficStats": null,
"txFrameStats": {
"8": 1,
"9": 1,
"10": 1
},
"txOctetStats": {
"4": 1,
"14": 1,
"26": 1,
"206": 1
},
"wasClean": true,
"wasCloseHandshakeTimeout": false,
"wasNotCleanReason": null,
"wasOpenHandshakeTimeout": false,
"wasServerConnectionDropTimeout": false,
"wirelog": [
[
"RO",
[
256,
"474554202f72756e436173653f636173653d3235266167656e743d54756e677374656e69746520485454502f312e310d0a486f73743a206c6f63616c686f7374 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
24,
"unsolicited pong payload"
],
10,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
26,
"8a18756e736f6c69636974656420706f6e67207061796c6f6164"
],
false
],
[
"TF",
[
12,
"ping payload"
],
9,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
14,
"890c70696e67207061796c6f6164"
],
false
],
[
"TI",
1
],
[
"RO",
[
18,
"8a8c6d7585cd1d1cebaa4d05e4b4011ae4a9"
]
],
[
"RF",
[
12,
"ping payload"
],
10,
true,
0,
true,
"6d7585cd"
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882d63617fcd5de"
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"d63617fc"
]
]
}