Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Error -27792: Failed to connect to server "server name": [10061] Connection refused

$
0
0

Hello,

I am using windows server 2012 r2, loadrunner version 12.53 and Web-HTTP/HTML.

I am having a REST API code. When I am trying to replay the “REST API code”, it’s giving error

“Error -27792: Failed to connect to server "server name": [10061] Connection refused”

Can anyone tell me, how to fix this error?

I would also like to know, how to capture the token to be passed into the request?

 

REST API code:

web_set_sockets_option("SSL_VERSION","TLS");                       

web_rest("GET:URL",

"URL=URL?context=TAG&contextValue=1",

"Method=GET",

"Snapshot=t131653.inf",

HEADERS,

"Name=Accept", "Value=application/json", ENDHEADER,

LAST);

Thanks


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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