Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5500 / Ethernet - Case 5.19 : Pass - 1013 ms @ 2020-06-03T17:01:35.743Z

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)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.0-0.10.9
Host: 192.168.46.181:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: fmV/vI+7J/5//mcjpoHX+A==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: T8WfFIfQspQLFfQiKXn4tMdsViA=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, 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.
droppedByMeFalseTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1000The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
12929
21122
3515
428
5210
10110
11111
45145
52152
Total53202

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
157105
2451245
Total9358

Frames Received by Opcode

OpcodeCount
11
81
102
Total4

Frames Transmitted by Opcode

OpcodeCount
04
11
81
92
Total8


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 48
002 RX OCTETS: 54
003 RX OCTETS: 54
004 RX OCTETS: 50
005 RX OCTETS: 2f312e31
006 RX OCTETS: 20
007 RX OCTETS: 31
008 RX OCTETS: 303120
009 RX OCTETS: 53
010 RX OCTETS: 7769
011 RX OCTETS: 74
012 RX OCTETS: 6368
013 RX OCTETS: 696e67
014 RX OCTETS: 20
015 RX OCTETS: 50726f746f
016 RX OCTETS: 63
017 RX OCTETS: 6f
018 RX OCTETS: 6c
019 RX OCTETS: 73
020 RX OCTETS: 0d0a55
021 RX OCTETS: 70
022 RX OCTETS: 6772616465
023 RX OCTETS: 3a2077
024 RX OCTETS: 65
025 RX OCTETS: 62736f63
026 RX OCTETS: 6b
027 RX OCTETS: 6574
028 RX OCTETS: 0d0a43
029 RX OCTETS: 6f6e
030 RX OCTETS: 6e
031 RX OCTETS: 65
032 RX OCTETS: 63
033 RX OCTETS: 74
034 RX OCTETS: 696f
035 RX OCTETS: 6e
036 RX OCTETS: 3a
037 RX OCTETS: 20
038 RX OCTETS: 55
039 RX OCTETS: 70
040 RX OCTETS: 67
041 RX OCTETS: 7261
042 RX OCTETS: 64
043 RX OCTETS: 65
044 RX OCTETS: 0d0a5365632d576562536f636b65742d4163636570743a2054385766464966517370514c466651694b586e34744d64735669
               413d
045 RX OCTETS: 0d0a
046 RX OCTETS: 0d0a
047 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=abe05aec, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment1
048 TX OCTETS: 0189abe05aeccd923b8bc68534989a
049 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=37e2a8a2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment2
050 TX OCTETS: 008937e2a8a25190c9c55a87c6d605
051 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=58a74405, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               pongme 1!
052 TX OCTETS: 898958a7440528c82a6235c2643479
053 DELAY 1.000000 sec for TAG None
054 RX OCTETS: 8a09706f6e676d65203121
055 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 1!
056 DELAY TIMEOUT on TAG None
057 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=173cbbc3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment3
058 TX OCTETS: 0089173cbbc3714edaa47a59d5b724
059 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=6370f26a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment4
060 TX OCTETS: 00896370f26a0502930d0e159c1e57
061 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=eb828e2a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               pongme 2!
062 TX OCTETS: 8989eb828e2a9bede04d86e7ae18ca
063 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9b9a55c5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment5
064 TX OCTETS: 80899b9a55c5fde834a2f6ff3bb1ae
065 CLOSE CONNECTION AFTER 1.000000 sec
066 RX OCTETS: 8a
067 RX OCTETS: 09706f6e676d65203221
068 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 2!
069 RX OCTETS: 812d
070 RX OCTETS: 667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e7434667261676d656e7435
071 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=False, MASK=None
               fragment1fragment2fragment3fragment4fragment5
072 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=ed32c2d6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
073 TX OCTETS: 8882ed32c2d6eeda
074 RX OCTETS: 8802
075 RX OCTETS: 03e8
076 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
077 TCP DROPPED BY PEER