Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Questions about websockets and authentication

$
0
0

Hello All!

I am new with websockets and the logic to use them on the HTTP protocol. I was able to record them and I see the custom API's created by the recording.

However, when the first web_sockect_connect is attempted, the error I got is completely unrelated (or it is what I think): "Error -26547: Authentication required, please use 'web_set_user....' "

I tried to do the simplest connection, but is not reaching any of the OnOpenCB, OnMessageCB or OnErrorCB functions.

Usually, these errors are related with proxy. However, I reviewed the browser setup and there is nothing related to proxy or vpn. It's a direct conneciton.

Finally, I just wanted to check if the script was dependent of those calls. I commented them out and the script works without problems. Therefore, not sure why this errors pops up. I just know is related with the websocket call.

Could someone give me a hint on what is going on?

I appreciate the help!

Regards

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>