nim-websock/client_tls/websock_secure_client_case_5_19.json

376 lines
7.1 KiB
JSON
Raw Normal View History

2021-07-16 08:05:39 +07:00
{
"agent": "websock-secure-client",
"behavior": "OK",
"behaviorClose": "OK",
"case": 63,
"closedByMe": true,
"createStats": true,
"createWirelog": true,
"description": "A fragmented text message is sent in multiple frames. After\n sending the first 2 frames of the text message, a Ping is sent. Then we wait 1s,\n then we send 2 more text fragments, another Ping and then the final text fragment.\n Everything is legal.",
"droppedByMe": true,
"duration": 1001,
2021-07-16 08:05:39 +07:00
"expectation": "The peer immediately answers the first Ping before\n it has received the last text message fragment. The peer pong's back the Ping's\n payload exactly, and echo's the payload of the fragmented message back to us.",
"expected": {
"OK": [
[
"pong",
"pongme 1!"
],
[
"pong",
"pongme 2!"
],
[
"message",
"fragment1fragment2fragment3fragment4fragment5",
false
]
]
},
"expectedClose": {
"closeCode": [
1000
],
"closedByMe": true,
"requireClean": true
},
"failedByMe": false,
"httpRequest": "GET /runCase?case=63&agent=websock-secure-client HTTP/1.1\r\nSec-Websocket-Extensions: permessage-deflate; client_max_window_bits=15\r\nUpgrade: websocket\r\nHost: 127.0.0.1:9002\r\nConnection: Upgrade\r\nSec-Websocket-Version: 13\r\nSec-Websocket-Key: Pk75dLLcbi9p3Oumlc+0Sw==\r\nCache-Control: no-cache\r\n\r\n",
"httpResponse": "HTTP/1.1 101 Switching Protocols\r\nServer: AutobahnTestSuite/0.8.2-0.10.9\r\nX-Powered-By: AutobahnPython/0.10.9\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: Gd6Bz+pQjTOvmdPUeFyUSndJk+8=\r\n\r\n",
2021-07-16 08:05:39 +07:00
"id": "5.19",
"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,
"294": 1
},
"started": "2024-02-16T18:34:27.830Z",
2021-07-16 08:05:39 +07:00
"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",
[
294,
"474554202f72756e436173653f636173653d3633266167656e743d776562736f636b2d7365637572652d636c69656e7420485454502f312e310d0a5365632d57 ..."
]
],
[
"TO",
[
206,
"485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e5465737453756974652f302e382e ..."
],
false
],
[
"TF",
[
9,
"fragment1"
],
1,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"0109667261676d656e7431"
],
false
],
[
"TF",
[
9,
"fragment2"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"0009667261676d656e7432"
],
false
],
[
"TF",
[
9,
"pongme 1!"
],
9,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"8909706f6e676d65203121"
],
false
],
[
"CT",
1,
null
],
[
"RO",
[
15,
"8a89bdbfeacccdd084abd0dacafd9c"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
9,
"pongme 1!"
],
10,
true,
0,
true,
"bdbfeacc"
2021-07-16 08:05:39 +07:00
],
[
"CTE",
null
],
[
"TF",
[
9,
"fragment3"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"0009667261676d656e7433"
],
false
],
[
"TF",
[
9,
"fragment4"
],
0,
false,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"0009667261676d656e7434"
],
false
],
[
"TF",
[
9,
"pongme 2!"
],
9,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"8909706f6e676d65203221"
],
false
],
[
"TF",
[
9,
"fragment5"
],
0,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
11,
"8009667261676d656e7435"
],
false
],
[
"TI",
1
],
[
"RO",
[
15,
"8a89a6ae1e71d6c17016cbcb3e4387"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
9,
"pongme 2!"
],
10,
true,
0,
true,
"a6ae1e71"
2021-07-16 08:05:39 +07:00
],
[
"RO",
[
51,
"81ad055df199632f90fe68389fed343b83f8623094f7716f97eb643a9cfc6b29c2ff773c96f4603385ad632f90fe68389fed30"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
45,
"fragment1fragment2fragment3fragment4fragment5"
],
1,
true,
0,
true,
"055df199"
2021-07-16 08:05:39 +07:00
],
[
"TF",
[
2,
"0x03e8"
],
8,
true,
0,
null,
null,
null,
false
],
[
"TO",
[
4,
"880203e8"
],
false
],
[
"RO",
[
8,
"8882cf4ac05ccca2"
2021-07-16 08:05:39 +07:00
]
],
[
"RF",
[
2,
"0x03e8"
],
8,
true,
0,
true,
"cf4ac05c"
2021-07-16 08:05:39 +07:00
]
]
}