http upgrade failed with status code 400 in jmeter(4.0) websocket open connection

Issue #152 new
Former user created an issue

Hi,

I used the websocket request-response sampler and websocket open connection sampler but i am getting the http upgrade failed with status code 400 as response message.

The logging message:

2020-03-20 18:02:46,208 INFO o.a.j.p.h.s.LazySchemeSocketFactory: Setting up HTTPS TrustAll Socket Factory 2020-03-20 18:02:46,209 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS 2020-03-20 18:02:46,209 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread 2020-03-20 18:02:46,211 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS 2020-03-20 18:02:46,211 INFO o.a.j.u.SSLManager: KeyStore created OK 2020-03-20 18:02:46,211 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore

Please help me!!!!

Comments (1)

  1. Peter Doornbosch repo owner

    https://en.wikipedia.org/wiki/List_of_HTTP_status_codes:

    400 Bad Request

    The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).[31]

    https://airbrake.io/blog/http-errors/400-bad-request:

    On the other hand, since a 400 Bad Request Error indicates that the request sent by the client was invalid for one reason or another, it’s entirely possible the issue steps from the client. Your client may be trying to send a file that’s too big, the request could be malformed in some way, the request HTTP headers could be invalid, and so forth. 

  2. Log in to comment