AVR / W5100 / Ethernet - Case 5.19 : Pass - 1028 ms @ 2020-06-03T10:51:41.492Z
Case Description
A fragmented text message is sent in multiple frames. After
sending the first 2 frames of the text message, a Ping is sent. Then we wait 1s,
then we send 2 more text fragments, another Ping and then the final text fragment.
Everything is legal.
Case Expectation
The peer immediately answers the first Ping before
it has received the last text message fragment. The peer pong's back the Ping's
payload exactly, and echo's the payload of the fragmented message back to us.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('pong', u'pongme 1!'), ('pong', u'pongme 2!'), ('message', u'fragment1fragment2fragment3fragment4fragment5', False)]}
Observed:
[('pong', u'pongme 1!'), ('pong', u'pongme 2!'), ('message', u'fragment1fragment2fragment3fragment4fragment5', False)]
Case Closing Behavior
Connection was properly closed (OK)
GET /runCase?case=63&agent=AVR%20/%20W5100%20/%20Ethernet HTTP/1.1 Host: 192.168.46.31:9001 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: xxp1SFYk0qKxtrWToD7RfA== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.8.0-0.10.9 X-Powered-By: AutobahnPython/0.10.9 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: B5wvlJKOp1QqOTGkYmaoSRQagiI=
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 | 1000 | 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 | 29 | 29 |
2 | 16 | 32 |
3 | 4 | 12 |
4 | 6 | 24 |
5 | 2 | 10 |
8 | 1 | 8 |
14 | 1 | 14 |
26 | 1 | 26 |
32 | 1 | 32 |
45 | 1 | 45 |
66 | 1 | 66 |
Total | 63 | 298 |
Chop Size | Count | Octets |
4 | 1 | 4 |
11 | 7 | 77 |
206 | 1 | 206 |
Total | 9 | 287 |
Opcode | Count |
1 | 1 |
8 | 1 |
10 | 2 |
Total | 4 |
Opcode | Count |
0 | 4 |
1 | 1 |
8 | 1 |
9 | 2 |
Total | 8 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3633266167656e743d4156522532302f25323057353130302532302f25323045
746865726e657420485454502f31 ...
001 RX OCTETS: 0d0a
002 RX OCTETS: 486f73743a203139322e3136382e34362e33313a393030310d0a
003 RX OCTETS: 55
004 RX OCTETS: 706772
005 RX OCTETS: 6164653a20
006 RX OCTETS: 776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a
007 RX OCTETS: 5365632d576562536f636b65742d4b65793a20787870315346596b30714b78747257546f44375266413d3d0d0a
008 RX OCTETS: 53
009 RX OCTETS: 65632d576562536f
010 RX OCTETS: 63
011 RX OCTETS: 6b6574
012 RX OCTETS: 2d566572
013 RX OCTETS: 7369
014 RX OCTETS: 6f
015 RX OCTETS: 6e3a
016 RX OCTETS: 2031
017 RX OCTETS: 33
018 RX OCTETS: 0d0a
019 RX OCTETS: 0d0a
020 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e382e ...
021 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
fragment1
022 TX OCTETS: 0109667261676d656e7431
023 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
fragment2
024 TX OCTETS: 0009667261676d656e7432
025 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
pongme 1!
026 TX OCTETS: 8909706f6e676d65203121
027 DELAY 1.000000 sec for TAG None
028 RX OCTETS: 8a
029 RX OCTETS: 89
030 RX OCTETS: 581fbad4
031 RX OCTETS: 2870d4
032 RX OCTETS: b3
033 RX OCTETS: 357a
034 RX OCTETS: 9a
035 RX OCTETS: e5
036 RX OCTETS: 79
037 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3538316662616434
pongme 1!
038 DELAY TIMEOUT on TAG None
039 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
fragment3
040 TX OCTETS: 0009667261676d656e7433
041 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
fragment4
042 TX OCTETS: 0009667261676d656e7434
043 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
pongme 2!
044 TX OCTETS: 8909706f6e676d65203221
045 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
fragment5
046 TX OCTETS: 8009667261676d656e7435
047 CLOSE CONNECTION AFTER 1.000000 sec
048 RX OCTETS: 8a89
049 RX OCTETS: 3f5f84d44f
050 RX OCTETS: 30
051 RX OCTETS: eab3
052 RX OCTETS: 523aa4e6
053 RX OCTETS: 1e81ad
054 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3366356638346434
pongme 2!
055 RX OCTETS: c71a7548a168142faa7f1b3cf67c
056 RX OCTETS: 07
057 RX OCTETS: 29
058 RX OCTETS: a0771026
059 RX OCTETS: b3
060 RX OCTETS: 28
061 RX OCTETS: 133a
062 RX OCTETS: a6
063 RX OCTETS: 7d18
064 RX OCTETS: 2d
065 RX OCTETS: a9
066 RX OCTETS: 6e
067 RX OCTETS: 46
068 RX OCTETS: 2eb5
069 RX OCTETS: 7b
070 RX OCTETS: 1225
071 RX OCTETS: a2
072 RX OCTETS: 74017ca1
073 RX OCTETS: 68
074 RX OCTETS: 142f
075 RX OCTETS: aa
076 RX OCTETS: 7f
077 RX OCTETS: 1b
078 RX OCTETS: 3c
079 RX OCTETS: f2
080 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=True, MASK=6337316137353438
fragment1fragment2fragment3fragment4fragment5
081 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
082 TX OCTETS: 880203e8
083 RX OCTETS: 8882
084 RX OCTETS: 3f5f84d4
085 RX OCTETS: 3cb7
086 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=3366356638346434
0x03e8
087 TCP DROPPED BY ME