Response code: 503 Response message: Http Upgrade failed with status code 503
I'm sending reqest with wss in Open Connection Sampler. I recive response: Sample Start: 2018-10-11 14:40:03 CEST Load time: 214 Connect Time: 0 Latency: 0 Size in bytes: 0 Sent bytes:0 Headers size in bytes: 0 Body size in bytes: 0 Sample Count: 1 Error Count: 1 Data type ("text"|"bin"|""): Response code: 503 Response message: Http Upgrade failed with status code 503
SampleResult fields: ContentType: DataEncoding: null
Comments (8)
-
repo owner -
repo owner - marked as task
-
What could be the cause of this error?
-
repo owner I don't know. Please note that your server sends this error. A websocket connection starts with a HTTP request and your server responds with 503. See https://httpstatuses.com/503
-
Yes, but in servers logs doesn't exist any reqest from jmeter. Yes, I have reqest https eearlier and I recive login cookies in my websocket request.
-
repo owner - changed status to closed
-
what is the solution on this issue, is there some setup to be done?, actually I experience the same thing. using jmeter 5.1.1. the websocket failed to connect. if I using chrome extension the websocket is just fine.
-
repo owner The issue is that you don’t know how to access your server correctly. Use wireshark to capture the websocket communcation for a successful connect with some other client and then model your test plan exactly according to the captured flow.
- Log in to comment
What is your question exactly?