Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5500 / Ethernet - Case 5.20 : Pass - 1014 ms @ 2020-06-03T17:01:36.800Z

Case Description

Same as Case 5.19, but send all frames with SYNC = True. Note, this does not change the octets sent in any way, only how the stream is chopped up on the wire.

Case Expectation

Same as Case 5.19. Implementations must be agnostic to how octet stream is chopped up on wire (must be TCP clean).

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: gWOb7ESp8JolksiYhpppQw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: LN8gfNc3yX/ahmZYie2lOfV2AjY=


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
13939
21632
326
414
515
919
10110
45145
52152
Total63202

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: 5454
003 RX OCTETS: 50
004 RX OCTETS: 2f
005 RX OCTETS: 312e
006 RX OCTETS: 31
007 RX OCTETS: 20
008 RX OCTETS: 31
009 RX OCTETS: 30
010 RX OCTETS: 31
011 RX OCTETS: 20
012 RX OCTETS: 53
013 RX OCTETS: 77
014 RX OCTETS: 6974
015 RX OCTETS: 63
016 RX OCTETS: 68
017 RX OCTETS: 69
018 RX OCTETS: 6e
019 RX OCTETS: 6720
020 RX OCTETS: 5072
021 RX OCTETS: 6f
022 RX OCTETS: 74
023 RX OCTETS: 6f63
024 RX OCTETS: 6f
025 RX OCTETS: 6c
026 RX OCTETS: 73
027 RX OCTETS: 0d0a55
028 RX OCTETS: 70
029 RX OCTETS: 677261
030 RX OCTETS: 64
031 RX OCTETS: 65
032 RX OCTETS: 3a
033 RX OCTETS: 20
034 RX OCTETS: 776562736f
035 RX OCTETS: 636b
036 RX OCTETS: 65
037 RX OCTETS: 74
038 RX OCTETS: 0d0a
039 RX OCTETS: 43
040 RX OCTETS: 6f6e
041 RX OCTETS: 6e65
042 RX OCTETS: 63
043 RX OCTETS: 74
044 RX OCTETS: 69
045 RX OCTETS: 6f
046 RX OCTETS: 6e3a2055
047 RX OCTETS: 70
048 RX OCTETS: 67
049 RX OCTETS: 72
050 RX OCTETS: 61
051 RX OCTETS: 6465
052 RX OCTETS: 0d0a5365632d576562536f636b65742d4163636570743a204c4e3867664e633379582f61686d5a596965326c4f665632416a
               593d
053 RX OCTETS: 0d0a
054 RX OCTETS: 0d0a
055 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=7616962d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment1
056 TX OCTETS: 01897616962d1064f74a1b73f85947
057 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=be3bf6d8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment2
058 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b8d414b0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 1!
059 DELAY 1.000000 sec for TAG None
060 TX OCTETS: 0089be3bf6d8d84997bfd35e98ac8c
061 TX OCTETS: 8989b8d414b0c8bb7ad7d5b1348199
062 RX OCTETS: 8a09
063 RX OCTETS: 706f6e676d65203121
064 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 1!
065 DELAY TIMEOUT on TAG None
066 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=44e34cde, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment3
067 TX OCTETS: 008944e34cde22912db9298622aa77
068 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=5bb066ca, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment4
069 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=735e150b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 2!
070 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=fe53627d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment5
071 CLOSE CONNECTION AFTER 1.000000 sec
072 TX OCTETS: 00895bb066ca3dc207ad36d508be6f
073 TX OCTETS: 8989735e150b03317b6c1e3b353952
074 TX OCTETS: 8089fe53627d9821031a93360c09cb
075 RX OCTETS: 8a
076 RX OCTETS: 09706f6e676d65203221
077 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 2!
078 RX OCTETS: 812d
079 RX OCTETS: 667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e7434667261676d656e7435
080 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=False, MASK=None
               fragment1fragment2fragment3fragment4fragment5
081 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=bbe2f37b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
082 TX OCTETS: 8882bbe2f37bb80a
083 RX OCTETS: 88
084 RX OCTETS: 02
085 RX OCTETS: 03e8
086 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
087 TCP DROPPED BY PEER