Pass (2011-09-22T21:49:18Z - 18 ms)
Description
Send small text message, then send frame with reserved non-control Opcode = 5, then send Ping.
Expectation
Echo for first message is received, but then connection is failed immediately, since reserved opcode frame is used. A Pong is not received.
Actual events match at least one expected.
Expected = {'NON-STRICT': [], 'OK': [('message', 'Hello, world!', False)]}
Actual = [('message', 'Hello, world!', False)]
OK: Connection was properly closed
Chop Size | Count | Octets |
19 | 1 | 19 |
129 | 1 | 129 |
Total | 2 | 148 |
Chop Size | Count | Octets |
6 | 2 | 12 |
8 | 1 | 8 |
19 | 1 | 19 |
212 | 1 | 212 |
Total | 5 | 251 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
Opcode | Count |
1 | 1 |
5 | 1 |
8 | 1 |
9 | 1 |
Total | 4 |
Key | Value |
isServer | 0 |
closedByMe | 0 |
failedByMe | 0 |
droppedByMe | 0 |
wasClean | 1 |
localCloseCode | 1000 |
remoteCloseCode | 1002 |
remoteCloseReason | None |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
742d4b65793a2054304379456d5535714b4b48544958565848527469773d3d0d0a5365632d576562536f636b65742d566572
73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a204f7878
34723342636c6e4138713335414c32747543585a2b44726f3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, MASK=1b173eb1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Hello, world!
003 TX OCTETS: 818d1b173eb1537252dd743b1ec6746552d53a
004 TX FRAME : OPCODE=5, FIN=True, RSV=0, MASK=4b5de60b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
005 TX OCTETS: 85804b5de60b
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=fbd4971a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
007 TX OCTETS: 8980fbd4971a
008 KILL AFTER 1.000000 sec
009 RX OCTETS: 810d48656c6c6f2c20776f726c6421880203ea
010 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
Hello, world!
011 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
ê
012 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=5d882afc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
013 TX OCTETS: 88825d882afc5e60
014 TCP CLOSED BY PEER