java.lang.AssertionError: Response Status Code Expected: is <400> but: was <405>

GitHub | joakime | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Invalid WebSocket Upgrade should result in error 400, not 405

    GitHub | 7 months ago | joakime
    java.lang.AssertionError: Response Status Code Expected: is <400> but: was <405>

    Root Cause Analysis

    1. java.lang.AssertionError

      Response Status Code Expected: is <400> but: was <405>

      at org.eclipse.jetty.websocket.server.WebSocketInvalidVersionTest.testRequestVersion29()
    2. Jetty
      WebSocketInvalidVersionTest.testRequestVersion29
      1. org.eclipse.jetty.websocket.server.WebSocketInvalidVersionTest.testRequestVersion29(WebSocketInvalidVersionTest.java:64)
      1 frame