Autobahn WebSocket Testsuite Report
Autobahn WebSocket

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

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


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
14848
21326
326
428
919
10110
45145
50150
Total69202

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: 5454502f
003 RX OCTETS: 312e
004 RX OCTETS: 31
005 RX OCTETS: 20
006 RX OCTETS: 31
007 RX OCTETS: 30
008 RX OCTETS: 31
009 RX OCTETS: 20
010 RX OCTETS: 53
011 RX OCTETS: 77
012 RX OCTETS: 69
013 RX OCTETS: 74
014 RX OCTETS: 63
015 RX OCTETS: 68
016 RX OCTETS: 69
017 RX OCTETS: 6e
018 RX OCTETS: 67
019 RX OCTETS: 20
020 RX OCTETS: 50
021 RX OCTETS: 72
022 RX OCTETS: 6f
023 RX OCTETS: 74
024 RX OCTETS: 6f
025 RX OCTETS: 636f
026 RX OCTETS: 6c
027 RX OCTETS: 73
028 RX OCTETS: 0d0a
029 RX OCTETS: 55
030 RX OCTETS: 70
031 RX OCTETS: 67
032 RX OCTETS: 72
033 RX OCTETS: 61
034 RX OCTETS: 64
035 RX OCTETS: 65
036 RX OCTETS: 3a
037 RX OCTETS: 2077
038 RX OCTETS: 65
039 RX OCTETS: 62
040 RX OCTETS: 736f
041 RX OCTETS: 636b
042 RX OCTETS: 6574
043 RX OCTETS: 0d0a
044 RX OCTETS: 43
045 RX OCTETS: 6f
046 RX OCTETS: 6e
047 RX OCTETS: 6e
048 RX OCTETS: 65
049 RX OCTETS: 63
050 RX OCTETS: 7469
051 RX OCTETS: 6f
052 RX OCTETS: 6e3a20
053 RX OCTETS: 55
054 RX OCTETS: 7067
055 RX OCTETS: 72
056 RX OCTETS: 61
057 RX OCTETS: 64
058 RX OCTETS: 650d0a
059 RX OCTETS: 5365632d576562536f636b65742d4163636570743a20735a4374735753467976567a2f57354730526d3263664a6456596b3d
060 RX OCTETS: 0d0a0d0a
061 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=76b85916, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment1
062 TX OCTETS: 018976b8591610ca38711bdd376247
063 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=aff0356e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment2
064 TX OCTETS: 0089aff0356ec9825409c2955b1a9d
065 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=51341aaa, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               pongme 1!
066 TX OCTETS: 898951341aaa215b74cd3c513a9b70
067 DELAY 1.000000 sec for TAG None
068 RX OCTETS: 8a
069 RX OCTETS: 09
070 RX OCTETS: 706f6e676d65203121
071 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 1!
072 DELAY TIMEOUT on TAG None
073 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=8c0d6442, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment3
074 TX OCTETS: 00898c0d6442ea7f0525e1680a36bf
075 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=4454dd6b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment4
076 TX OCTETS: 00894454dd6b2226bc0c2931b31f70
077 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=1944191b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               pongme 2!
078 TX OCTETS: 89891944191b692b777c7421392938
079 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=db036420, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment5
080 TX OCTETS: 8089db036420bd710547b6660a54ee
081 CLOSE CONNECTION AFTER 1.000000 sec
082 RX OCTETS: 8a
083 RX OCTETS: 09706f6e676d65203221
084 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 2!
085 RX OCTETS: 812d
086 RX OCTETS: 667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e7434667261676d656e7435
087 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=False, MASK=None
               fragment1fragment2fragment3fragment4fragment5
088 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=2a8dbda5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
089 TX OCTETS: 88822a8dbda52965
090 RX OCTETS: 8802
091 RX OCTETS: 03e8
092 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
093 TCP DROPPED BY PEER