socket-flow - Case 2.11 : Pass - 65 ms @ 2024-10-24T17:09:05.784Z
Case Description
Send 10 Pings with payload. Send out octets in octet-wise chops.
Case Expectation
Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}
Observed:
[('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]
Case Closing Behavior
Connection was properly closed (OK)
GET /runCase?case=27&agent=socket-flow HTTP/1.1 Host: 127.0.0.1:9001 Connection: Upgrade Upgrade: websocket Sec-WebSocket-Key: hIhHhlrY1Mdde4nrfIGbjA== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.8.2-0.10.9 X-Powered-By: AutobahnPython/0.10.9 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: uVWlIsAitcZAy6rooE261IFuK04=
Key | Value | Description |
isServer | True | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
droppedByMe | True | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | None | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
1 | 11 | 11 |
5 | 1 | 5 |
14 | 10 | 140 |
186 | 1 | 186 |
Total | 23 | 342 |
Chop Size | Count | Octets |
1 | 110 | 110 |
4 | 1 | 4 |
206 | 1 | 206 |
Total | 112 | 320 |
Opcode | Count |
8 | 1 |
10 | 10 |
Total | 11 |
Opcode | Count |
8 | 1 |
9 | 10 |
Total | 11 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3237266167656e743d736f636b65742d666c6f7720485454502f312e310d0a48
6f73743a203132372e302e302e31 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e382e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 09
015 TX OCTETS: 70
016 TX OCTETS: 61
017 TX OCTETS: 79
018 TX OCTETS: 6c
019 TX OCTETS: 6f
020 TX OCTETS: 61
021 TX OCTETS: 64
022 TX OCTETS: 2d
023 TX OCTETS: 30
024 TX OCTETS: 89
025 RX OCTETS: 8a
026 TX OCTETS: 09
027 RX OCTETS: 896ae620291a875945058744045a
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3661653632303239
payload-0
029 TX OCTETS: 70
030 TX OCTETS: 61
031 TX OCTETS: 79
032 TX OCTETS: 6c
033 TX OCTETS: 6f
034 TX OCTETS: 61
035 TX OCTETS: 64
036 TX OCTETS: 2d
037 TX OCTETS: 31
038 TX OCTETS: 89
039 RX OCTETS: 8a
040 TX OCTETS: 09
041 RX OCTETS: 897ddaa1ae0dbbd8c212bbc5834c
042 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3764646161316165
payload-1
043 TX OCTETS: 70
044 TX OCTETS: 61
045 TX OCTETS: 79
046 TX OCTETS: 6c
047 TX OCTETS: 6f
048 TX OCTETS: 61
049 TX OCTETS: 64
050 TX OCTETS: 2d
051 TX OCTETS: 32
052 TX OCTETS: 89
053 RX OCTETS: 8a
054 TX OCTETS: 09
055 RX OCTETS: 898db14d93fdd034ffe2d029bebf
056 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3864623134643933
payload-2
057 TX OCTETS: 70
058 TX OCTETS: 61
059 TX OCTETS: 79
060 TX OCTETS: 6c
061 TX OCTETS: 6f
062 TX OCTETS: 61
063 TX OCTETS: 64
064 TX OCTETS: 2d
065 TX OCTETS: 33
066 TX OCTETS: 89
067 RX OCTETS: 8a
068 TX OCTETS: 09
069 RX OCTETS: 891d249d4d6d45e4217245f9602e
070 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3164323439643464
payload-3
071 TX OCTETS: 70
072 TX OCTETS: 61
073 TX OCTETS: 79
074 TX OCTETS: 6c
075 TX OCTETS: 6f
076 TX OCTETS: 61
077 TX OCTETS: 64
078 TX OCTETS: 2d
079 TX OCTETS: 34
080 TX OCTETS: 89
081 RX OCTETS: 8a
082 TX OCTETS: 09
083 RX OCTETS: 89d610ff2aa6718646b9719b07e2
084 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6436313066663261
payload-4
085 TX OCTETS: 70
086 TX OCTETS: 61
087 TX OCTETS: 79
088 TX OCTETS: 6c
089 TX OCTETS: 6f
090 TX OCTETS: 61
091 TX OCTETS: 64
092 TX OCTETS: 2d
093 TX OCTETS: 35
094 TX OCTETS: 89
095 RX OCTETS: 8a
096 TX OCTETS: 09
097 RX OCTETS: 8984d55ce8f4b42584ebb438c5b1
098 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3834643535636538
payload-5
099 TX OCTETS: 70
100 TX OCTETS: 61
101 TX OCTETS: 79
102 TX OCTETS: 6c
103 TX OCTETS: 6f
104 TX OCTETS: 61
105 TX OCTETS: 64
106 TX OCTETS: 2d
107 TX OCTETS: 36
108 TX OCTETS: 89
109 RX OCTETS: 8a
110 TX OCTETS: 09
111 RX OCTETS: 8963c7bf5713a6c63b0ca6db7a55
112 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3633633762663537
payload-6
113 TX OCTETS: 70
114 TX OCTETS: 61
115 TX OCTETS: 79
116 TX OCTETS: 6c
117 TX OCTETS: 6f
118 TX OCTETS: 61
119 TX OCTETS: 64
120 TX OCTETS: 2d
121 TX OCTETS: 37
122 TX OCTETS: 89
123 RX OCTETS: 8a
124 TX OCTETS: 09
125 RX OCTETS: 89e0889d3d90e9e4518fe9f910d7
126 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6530383839643364
payload-7
127 TX OCTETS: 70
128 TX OCTETS: 61
129 TX OCTETS: 79
130 TX OCTETS: 6c
131 TX OCTETS: 6f
132 TX OCTETS: 61
133 TX OCTETS: 64
134 TX OCTETS: 2d
135 TX OCTETS: 38
136 TX OCTETS: 89
137 RX OCTETS: 8a
138 TX OCTETS: 09
139 RX OCTETS: 8981c41ca5f1a565c9eea57888b9
140 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3831633431636135
payload-8
141 TX OCTETS: 70
142 TX OCTETS: 61
143 TX OCTETS: 79
144 TX OCTETS: 6c
145 TX OCTETS: 6f
146 TX OCTETS: 61
147 TX OCTETS: 64
148 TX OCTETS: 2d
149 TX OCTETS: 39
150 RX OCTETS: 8a
151 RX OCTETS: 890be6d6317b87af5d6487b21c32
152 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3062653664363331
payload-9
153 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
154 TX OCTETS: 880203e8
155 RX OCTETS: 88
156 RX OCTETS: 809f5150ed
157 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=True, MASK=3966353135306564
158 TCP DROPPED BY ME