27792: Failed to connect to server "server:443": [10061] Connection refused

Hello Guys,

I'm having an error message while replaying the VUGen script.

The error occure after this code frame:

 

web_submit_data("acs", 
        "Action=https://{url}/samlsps/acs", 
        "Method=POST", 
        "RecContentType=text/html", 
        "Referer=">iam-authentication-{url}/.../idpSSOInit.jsp
        "Snapshot=t5.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=SAMLResponse", "Value=PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6\r\ncHJvdG9jb2wiIElEPSJzMmU4ZGU2MTA2NWJmMzFiODA3M2U0YjY0N2FjYTg1YzAwZWRlZDQwYjMi\r\nIFZlcnNpb249IjIuMCIgSXNzdWVJbnN0YW50PSIyMDE2LTEwLTE4VDEzOjUyOjAxWiIgRGVzdGlu\r\nYXRpb249Im......
LAST);

below is the errco message I'm having:

 

Action.c(78): web_submit_data("acs") started [MsgId: MMSG-26355]
Action.c(78): Redirecting "https://{url}/samlsps/acs" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(78): To location "https://{server}/samlacserror.html" [MsgId: MMSG-26693]
Action.c(78): Error -27792: Failed to connect to server "{server}:443": [10061] Connection refused [MsgId: MERR-27792]
Action.c(78): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s) [MsgId: MWAR-26200]

Could someone help me?

Thanks in advance

Merick

  • Hello Guys,

    I investigate about my question and I guess the problem could be on the value  of  SAMLResponse.

    How could I paramtrerize this value with the weg_reg_save_param_ex. 

    Here is what I'm trying, but unfortunately

    web_reg_save_param_ex("samlResponse", "LB=name=\"SAMLResponse\" value=\"", "RB=\">" , "Ord=1", "NOTFOUND=WARNING", LAST);

    Below here is the code frame for it:

    	web_submit_data("acs",
    		"Action=https://{url}/samlsps/acs",
    		"Method=POST",
    		"RecContentType=text/html",
    		"Referer=https://{authentication}/opensso/saml2/jsp/idpSSOInit.jsp?metaAlias=/internal/idp&spEntityID=https://{url}/samlsps/acs&binding={samlbind}&NameIDFormat=urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified&RelayState=https://{url}/portal//index.faces",
    		"Snapshot=t9.inf",
    		"Mode=HTML",
    		ITEMDATA,
    		"Name=SAMLResponse", "Value=PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6\r\n"
    		"cHJvdG9jb2wiIElEPSJzMmE3NDMyYzViN2EyM2YyN2I0MzRjOTA5NTViMjNkYTc2ZDBiMDNkZTci\r\n"
    		"IFZlcnNpb249IjIuMCIgSXNzdWVJbnN0YW50PSIyMDE2LTEwLTE5VDE2OjQ2OjM1WiIgRGVzdGlu\r\n"
    		"YXRpb249Imh0dHBzOi8vc2FmaXItdGEuYm5nZi5sb2NhbC9zYW1sc3BzL2FjcyI PHNhbWw6SXNz\r\n"
    		"dWVyIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPmh0\r\n"
    		"dHBzOi8vaWFtLWF1dGhlbnRpY2F0aW9uLXRhLnJlcy5ibmdmLmxvY2FsOjQ0My9vcGVuc3NvL2lu\r\n"
    		"dGVybmFsPC9zYW1sOklzc3Vlcj48c2FtbHA6U3RhdHVzIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6\r\n"
    		"bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiPgo8c2FtbHA6U3RhdHVzQ29kZSAgeG1sbnM6c2Ft\r\n"
    		"bHA9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpwcm90b2NvbCIKVmFsdWU9InVybjpvYXNp\r\n"
    		"czpuYW1lczp0YzpTQU1MOjIuMDpzdGF0dXM6U3VjY2VzcyI Cjwvc2FtbHA6U3RhdHVzQ29kZT4K\r\n"
    		"PC9zYW1scDpTdGF0dXM PHNhbWw6QXNzZXJ0aW9uIHhtbG5zOnNhbWw9InVybjp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Y2M3YWFiMGI0NjE2ZGEwODhhMGNiNmE2ZGViZWI4\r\n"
    		"YTdiNmU3MjEzMSI PHNhbWw6QXV0aG5Db250ZXh0PjxzYW1sOkF1dGhuQ29udGV4dENsYXNzUmVm\r\n"
    		"PnVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphYzpjbGFzc2VzOlBhc3N3b3JkUHJvdGVjdGVk\r\n"
    		"VHJhbnNwb3J0PC9zYW1sOkF1dGhuQ29udGV4dENsYXNzUmVmPjwvc2FtbDpBdXRobkNvbnRleHQ \r\n"
    		"PC9zYW1sOkF1dGhuU3RhdGVtZW50PjxzYW1sOkF0dHJpYnV0ZVN0YXRlbWVudD48c2FtbDpBdHRy\r\n"
    		"aWJ1dGUgTmFtZT0ic2hvcnRpZCIgTmFtZUZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6\r\n"
    		"Mi4wOmF0dHJuYW1lLWZvcm1hdDp1cmkiPjxzYW1sOkF0dHJpYnV0ZVZhbHVlIHhtbG5zOnhzPSJo\r\n"
    		"dHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3Lncz\r\n"
    		"Lm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnR5cGU9InhzOnN0cmluZyI bmRqZTAw\r\n"
    		"Mjwvc2FtbDpBdHRyaWJ1dGVWYWx1ZT48L3NhbWw6QXR0cmlidXRlPjwvc2FtbDpBdHRyaWJ1dGVT\r\n"
    		"dGF0ZW1lbnQ PC9zYW1sOkFzc2VydGlvbj48L3NhbWxwOlJlc3BvbnNlPg==\r\n", ENDITEM,

    hier the error aftre:

    Action.c(61): Error -35049: No match found for the requested parameter "samlResponse". Check whether the requested regular expression exists in the response data [MsgId: MERR-35049]

     

    Could you please help me? I'm new in LR

     

    Thanks

  • Hello, 

    The error message happens at when LR trying to setup socket connection with remote Server, and [10061] means Server actively refused the connection.  I suppose the request has not been send at this time point, so it should not relate to correlation. 

    May I confirm whether it’s happen on VuGen or LG? And could you check that the URL is accessible forms your VuGen/LG machine, and whether Proxy setting in Runtime settings is correct?

    Regards,

    Bingle(LoadRunner R&D)

  • Hello Merick,

    Even i have come across this situation, as always SAML response is huge in size

    Try using  web_set_max_html_param_len("9999999"); above the correlation function

    Hope this resolves the issue.

    Thanks,

    Ganesh

     

  • Hi Bingle,

    I have the same issue. For me, the "Failed to connect to server "ipaddress": [10061] Connection refused" only appears intemittently during the run. 

    - No proxy is used by the application, hence the runtime settings option is set to "no proxy"

    5% of the failed transactions are due to this error.

    Note: I am trying to run 1000 users with 1 load generator. The LG machine has good specs that can sufficiently run the 1k users. 

    Any advise on what might cause this issue? Is it due to Max connections on server or network limitations?(not sure)