Unable to connect SignalR websocket using "WebSocket Open Connection sampler".

Issue #6 resolved
Chitta Ranjan created an issue

@Peter Doornbosch

My application is using SignalR websocket. I am using your "WebSocket Open Connection sampler" to connect to the websocket. I have downloaded all your available JMX & try run on my machine all working fine from my end. Great work.

My application URL : http://52.41.112.232/Webi2i/ uname : webi2i pass: 123

My scenario is very simple login to the application & logout.

After login I observe a /signalr/connect websocket request. Hence try both "WebSocket Open Connection sampler" & "WebSocket request-response Sampler".

Result : Response code: 404 Response message: Http Upgrade failed

I also attached my jmx & data file to this issue, please take a look into both and let me know am I doing any thing wrong here.

I also tryed "JMeter WebSocket Sampler by Maciej Zaleski" available in GitHub, but that also not help me please suggest me some idea to overcome this issue.

Thanks in advance Chitta Ranjan

Comments (3)

  1. Peter Doornbosch repo owner

    Your server is returning a HTTP status (error code) 404. This might not have been clear to you, because this status code was not mentioned in the exception text; i fixed that (version 0.7.1). 404 means "not found" and the result is that there is no websocket connection.

  2. Log in to comment