Unanswered question

Does NeoLoad support direct WebSocket connection using ws:// in URL?

I am trying to make a simple Websocket connection from NeoLoad. But it looks like the WebSocket request only accepts http:// urls. It relies on user to pass Upgrade and Connection headers in the connection request so that the server could upgrade the connection from http to websocket.

https://en.wikipedia.org/wiki/HTTP/1.1_Upgrade_header

Above only works if the application actually supports connection upgrading on server side. In my case, the application expects clients to make direct connection using ws:// protocol and upgrading is not supported.

Is there a workaround for this or any way we can make direct connection with ws:// url.

Attached is the screenshot of error seen when making the request from NeoLoad.

Ahsan B.
Ahsan B.

Ahsan B.

Level
0
1 / 100
point

No answers