Forum Discussion

themacoz's avatar
themacoz
New Contributor
14 years ago

requires authentication with the realm

Getting "requires authentication with the realm" reported with each soapUI request initiated by the remote loadUI agent. In soapUI on the box where I developed the test, I can check the "Authenticate Preemptively" box to eliminate this warning. However, on the agent it persists.

When I deploy the test case to the agent, I see a message in the agent session:

[DefaultSoapUICore] Importing preferences from [/root/.loadui/fileStorage/16efde5955b532b97f736b22d219bb27]

In viewing the contents of /root/.loadui/fileStorage/16efde5955b532b97f736b22d219bb27 ... I see:

="HttpSettings@authenticate-preemptively">false</con:setting>

However, I can't get it to stop loading SoapUICore from that file and even if I alter the content of that file to set authenticate-preemptively to true, it gets turned back to false somewhere along the way.

How can I rectify this condition?
  • themacoz's avatar
    themacoz
    New Contributor
    Only way I was able to correct this condition was to delete and reconstruct my test case in the loadUI. This caused a new file to be used within /root/.loadui/fileStorage/97a229b6a8a08f0605e8748fc7852912 for: [DefaultSoapUICore] Importing preferences.

    After that it picked up the appropriate preference for "Authenticate Preemptively".

    In this case my test case was not elaborate and therefore this was no big deal. However, it would have been much more painful if I had a more elaborate test case.

    Please let me know if there is a more elegant solution.