Autobahn WebSocket Testsuite Report
Autobahn WebSocket

SAMD21 / W5100 / Ethernet - Case 5.20 : Pass - 1011 ms @ 2020-06-03T17:02:46.387Z

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.183:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: nxdtnOKyACdG59UH3EZUwA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: i34GD1VF2bdmArWP36FgHJW7G5c=


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
155
224
313
414
9218
34134
39139
45145
50150
Total15202

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: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a
002 RX OCTETS: 557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a2055706772616465
003 RX OCTETS: 0d0a
004 RX OCTETS: 5365632d576562536f636b65742d4163636570743a2069333447443156463262646d4172575033364667484a57374735633d
005 RX OCTETS: 0d0a0d0a
006 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=70e9e0cf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment1
007 TX OCTETS: 018970e9e0cf169b81a81d8c8ebb41
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=ec73043b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment2
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9fa3a5e5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 1!
010 DELAY 1.000000 sec for TAG None
011 TX OCTETS: 0089ec73043b8a01655c81166a4fde
012 TX OCTETS: 89899fa3a5e5efcccb82f2c685d4be
013 RX OCTETS: 8a09
014 RX OCTETS: 706f6e676d65203121
015 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 1!
016 DELAY TIMEOUT on TAG None
017 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=32b830df, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment3
018 TX OCTETS: 008932b830df54ca51b85fdd5eab01
019 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=52fcc20d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment4
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=58d1ac23, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 2!
021 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=592549bb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment5
022 CLOSE CONNECTION AFTER 1.000000 sec
023 TX OCTETS: 008952fcc20d348ea36a3f99ac7966
024 TX OCTETS: 898958d1ac2328bec24435b48c1179
025 TX OCTETS: 8089592549bb3f5728dc344027cf6c
026 RX OCTETS: 8a
027 RX OCTETS: 09
028 RX OCTETS: 706f6e676d65203221
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 2!
030 RX OCTETS: 81
031 RX OCTETS: 2d
032 RX OCTETS: 667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e7434667261676d656e7435
033 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=False, MASK=None
               fragment1fragment2fragment3fragment4fragment5
034 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=e88911b6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
035 TX OCTETS: 8882e88911b6eb61
036 RX OCTETS: 88
037 RX OCTETS: 0203e8
038 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
039 TCP DROPPED BY PEER