WebSocketProtocolHandlerTest

3

tests

0

failures

0

ignored

0.217s

duration

100%

successful

Tests

Test Method name Duration Result
핸드셰이크에 실패하면 연결을 닫아야 한다 accept_should_close_channel_when_handshake_fails() 0.209s passed
핸드셰이크 성공 시 WebSocket 세션을 생성하고 등록해야 한다 accept_should_establish_session_on_successful_handshake() 0.006s passed
supports 메서드는 'WEBSOCKET' 프로토콜을 지원해야 한다 supports_should_return_true_for_websocket_protocol() 0.002s passed

Standard output

WebSocket handshake request received for path: /chat. Trying to find matching endpoint.
WebSocket handshake failed. Closing socket.
WebSocket handshake request received for path: /chat. Trying to find matching endpoint.