Autobahn WebSocket Testsuite Report
Autobahn WebSocket

node-v8.17.0 - Case 2.11 : Pass - 4 ms @ 2023-09-07T20:06:54.476Z

Case Description

Send 10 Pings with payload. Send out octets in octet-wise chops.

Case Expectation

Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}

Observed:
[('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET /runCase?case=27&agent=node-v8.17.0 HTTP/1.1
Host: 0.0.0.0:9001
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: CjhDtCL62K2rFKwP23DqnA==
Sec-WebSocket-Version: 13
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
HTTP/1.1 101 Switching Protocols
Server: AutobahnTestSuite/0.8.2-0.10.9
X-Powered-By: AutobahnPython/0.10.9
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: iOMeM1x72u7Ysq/RWGypgEu+ZvE=


Closing Behavior

KeyValueDescription
isServerTrueTrue, 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.
droppedByMeTrueTrue, 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
818
15115
1351135
2551255
Total4413

Octets Transmitted by Chop Size

Chop SizeCountOctets
1110110
414
2061206
Total112320

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d3237266167656e743d6e6f64652d76382e31372e3020485454502f312e310d0a
               486f73743a20302e302e302e303a ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f302e382e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 09
015 TX OCTETS: 70
016 TX OCTETS: 61
017 TX OCTETS: 79
018 TX OCTETS: 6c
019 TX OCTETS: 6f
020 TX OCTETS: 61
021 TX OCTETS: 64
022 TX OCTETS: 2d
023 TX OCTETS: 30
024 TX OCTETS: 89
025 TX OCTETS: 09
026 RX OCTETS: 8a89aed73e01deb6476dc1b65a2c9e
027 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6165643733653031
               payload-0
028 TX OCTETS: 70
029 TX OCTETS: 61
030 TX OCTETS: 79
031 TX OCTETS: 6c
032 TX OCTETS: 6f
033 TX OCTETS: 61
034 TX OCTETS: 64
035 TX OCTETS: 2d
036 TX OCTETS: 31
037 TX OCTETS: 89
038 TX OCTETS: 09
039 TX OCTETS: 70
040 TX OCTETS: 61
041 TX OCTETS: 79
042 TX OCTETS: 6c
043 TX OCTETS: 6f
044 TX OCTETS: 61
045 TX OCTETS: 64
046 TX OCTETS: 2d
047 TX OCTETS: 32
048 TX OCTETS: 89
049 TX OCTETS: 09
050 TX OCTETS: 70
051 TX OCTETS: 61
052 TX OCTETS: 79
053 TX OCTETS: 6c
054 TX OCTETS: 6f
055 TX OCTETS: 61
056 TX OCTETS: 64
057 TX OCTETS: 2d
058 TX OCTETS: 33
059 TX OCTETS: 89
060 TX OCTETS: 09
061 TX OCTETS: 70
062 TX OCTETS: 61
063 TX OCTETS: 79
064 TX OCTETS: 6c
065 TX OCTETS: 6f
066 TX OCTETS: 61
067 TX OCTETS: 64
068 TX OCTETS: 2d
069 TX OCTETS: 34
070 TX OCTETS: 89
071 TX OCTETS: 09
072 TX OCTETS: 70
073 TX OCTETS: 61
074 TX OCTETS: 79
075 TX OCTETS: 6c
076 TX OCTETS: 6f
077 TX OCTETS: 61
078 TX OCTETS: 64
079 TX OCTETS: 2d
080 TX OCTETS: 35
081 TX OCTETS: 89
082 TX OCTETS: 09
083 TX OCTETS: 70
084 TX OCTETS: 61
085 TX OCTETS: 79
086 TX OCTETS: 6c
087 TX OCTETS: 6f
088 TX OCTETS: 61
089 TX OCTETS: 64
090 TX OCTETS: 2d
091 TX OCTETS: 36
092 TX OCTETS: 89
093 TX OCTETS: 09
094 TX OCTETS: 70
095 TX OCTETS: 61
096 TX OCTETS: 79
097 TX OCTETS: 6c
098 TX OCTETS: 6f
099 TX OCTETS: 61
100 TX OCTETS: 64
101 TX OCTETS: 2d
102 TX OCTETS: 37
103 TX OCTETS: 89
104 TX OCTETS: 09
105 TX OCTETS: 70
106 TX OCTETS: 61
107 TX OCTETS: 79
108 TX OCTETS: 6c
109 TX OCTETS: 6f
110 TX OCTETS: 61
111 TX OCTETS: 64
112 TX OCTETS: 2d
113 TX OCTETS: 38
114 TX OCTETS: 89
115 TX OCTETS: 09
116 TX OCTETS: 70
117 TX OCTETS: 61
118 TX OCTETS: 79
119 TX OCTETS: 6c
120 TX OCTETS: 6f
121 TX OCTETS: 61
122 TX OCTETS: 64
123 TX OCTETS: 2d
124 TX OCTETS: 39
125 RX OCTETS: 8a8901f5ee027194976e6e948a2f308a8915355135655428597a543518278a893565eb48450492245a048f65068a8934e8da
               054489a3695b89be28008a89c58a ...
126 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3031663565653032
               payload-1
127 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3135333535313335
               payload-2
128 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3335363565623438
               payload-3
129 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3334653864613035
               payload-4
130 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6335386133356330
               payload-5
131 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6562323432393935
               payload-6
132 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=6237633465386164
               payload-7
133 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3331366630323738
               payload-8
134 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=True, MASK=3539656630323139
               payload-9
135 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
136 TX OCTETS: 880203e8
137 RX OCTETS: 88825bfc7dc35814
138 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=3562666337646333
               0x03e8
139 TCP DROPPED BY ME