Forum Discussion

emilien's avatar
emilien
Occasional Contributor
15 years ago

Authenticate preemptively through testrunner command line

Hi,

I have been trying to get a project tested using the command line testrunner. Our tests requires the setting: Authenticate preemptively to be true. Which I have set via the preferences. This works if I run the testrunner myself. However when running it through our automated test environment, which i believe uses a different user, I am pretty sure its system, the settings doesn't seem to be set and fails every test (Except the one where it is expecting the 401 ).

I am wondering how I would be able to get Authenticate preemptively set for my purpose?
Maybe set it on the project itself or pass it as an argument to testrunner? Not sure if either are possible.
  • emilien's avatar
    emilien
    Occasional Contributor
    After more investigation it seems you use "soapui-settings.xml" for all those settings. However I can't seem to find much references for it. Except for how to load it into the testrunner "-t". Is there any more information on this settings file?
  • emilien's avatar
    emilien
    Occasional Contributor
    Solved. After reading a few forum post with "soapui-settings.xml". They mention where it is. "C:\Program Files\{username}\soapui-setings.xml.