Forum Discussion

Liberty_Informa's avatar
Liberty_Informa
Regular Contributor
10 years ago

[Resolved] 407 Proxy Authentication Required error

Hi Support

We are facing following issue from yesterday. Before that all tests were working OK. We run around 2000 tests in a headless manner however only few of them are failing due to following error. The same tests are passing in soapUI tool on local machine.

07:15:15,723 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
07:15:15,736 DEBUG [HttpClientSupport$SoapUIHttpClient] Proxy requested authentication
07:15:15,743 DEBUG [HttpClientSupport$SoapUIHttpClient] Authorization challenge processed
07:15:15,744 DEBUG [HttpClientSupport$SoapUIHttpClient] Authentication scope: NTLM <any realm>@xxxxxxxxxxx:80
07:15:15,745 DEBUG [HttpClientSupport$SoapUIHttpClient] Credentials not found


We do use proxy to connect to the internet in our organization however we never did any configurations in the global preferences in soapUI.

We are using soapUI Pro 5.0.0 and headless tests are running on Linux machine.

Could you help? Do you need any other information?

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Based off the log there is NTLM authentication required. Are all your requests have NTLM authentication challenge or is it just a few requests? Do you have the proxy information in SoapUI Pro preferences set? Are you running testrunner with the -t option to specify the soapui settings file?



    Regards,
    Marcus
    SmartBear Support
  • Liberty_Informa's avatar
    Liberty_Informa
    Regular Contributor
    I am closing this as we could crack this by updating soapUI-settings.xml file to change following flags to "false"

    <con:setting id="ProxySettings@autoProxy">false</con:setting><con:setting id="ProxySettings@enableProxy">false</con:setting>


    Later we included groovy code in the setup project to make proxy setting as "none".