Autobahn WebSocket Testsuite Report
Autobahn WebSocket

SAMD21 / W5100 / Ethernet - Case 5.8 : Pass - 10 ms @ 2020-06-03T17:02:45.169Z

Case Description

Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in octet-wise chops.

Case Expectation

A pong is received, then the message is echo'ed back to us.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('pong', u'ping payload'), ('message', u'fragment1fragment2', False)]}

Observed:
[('pong', u'ping payload'), ('message', u'fragment1fragment2', 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: nD+4YwtQmT/fSQ9OylEAoQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: dhL7BG3dv4Adfs5LxfPtTKnlEFs=


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
122
248
414
12112
18118
19119
50150
54154
Total12167

Octets Transmitted by Chop Size

Chop SizeCountOctets
14848
818
2451245
Total50301

Frames Received by Opcode

OpcodeCount
11
81
101
Total3

Frames Transmitted by Opcode

OpcodeCount
01
11
81
91
Total4


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a
002 RX OCTETS: 436f6e6e656374696f6e3a2055706772616465
003 RX OCTETS: 0d0a
004 RX OCTETS: 5365632d576562536f636b65742d4163636570743a2064684c3742473364763441646673354c78665074544b6e6c4546733d
005 RX OCTETS: 0d0a0d0a
006 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=84bfa38d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment1
007 TX OCTETS: 01
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=8761e182, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               ping payload
009 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=bf746b7c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment2
010 CLOSE CONNECTION AFTER 1.000000 sec
011 TX OCTETS: 89
012 TX OCTETS: 84
013 TX OCTETS: bf
014 TX OCTETS: a3
015 TX OCTETS: 8d
016 TX OCTETS: e2
017 TX OCTETS: cd
018 TX OCTETS: c2
019 TX OCTETS: ea
020 TX OCTETS: e9
021 TX OCTETS: da
022 TX OCTETS: cd
023 TX OCTETS: f9
024 TX OCTETS: b5
025 TX OCTETS: 89
026 TX OCTETS: 8c
027 TX OCTETS: 87
028 TX OCTETS: 61
029 TX OCTETS: e1
030 TX OCTETS: 82
031 TX OCTETS: f7
032 TX OCTETS: 08
033 TX OCTETS: 8f
034 TX OCTETS: e5
035 TX OCTETS: a7
036 TX OCTETS: 11
037 TX OCTETS: 80
038 TX OCTETS: fb
039 TX OCTETS: eb
040 TX OCTETS: 0e
041 TX OCTETS: 80
042 TX OCTETS: e6
043 TX OCTETS: 80
044 TX OCTETS: 89
045 TX OCTETS: bf
046 TX OCTETS: 74
047 TX OCTETS: 6b
048 TX OCTETS: 7c
049 TX OCTETS: d9
050 TX OCTETS: 06
051 TX OCTETS: 0a
052 TX OCTETS: 1b
053 TX OCTETS: d2
054 TX OCTETS: 11
055 TX OCTETS: 05
056 TX OCTETS: 08
057 TX OCTETS: 8d
058 RX OCTETS: 8a0c
059 RX OCTETS: 70696e67207061796c6f6164
060 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=12, MASKED=False, MASK=None
               ping payload
061 RX OCTETS: 8112
062 RX OCTETS: 667261676d656e7431667261676d656e7432
063 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=18, MASKED=False, MASK=None
               fragment1fragment2
064 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=8d00e0ab, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
065 TX OCTETS: 88828d00e0ab8ee8
066 RX OCTETS: 88
067 RX OCTETS: 02
068 RX OCTETS: 03e8
069 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
070 TCP DROPPED BY PEER