Forum Discussion

Liberty_Informa's avatar
Liberty_Informa
Regular Contributor
14 years ago

soapui-settings file

Hi Ole

I extracted zip file for soapui-pro-4.5.1.1.-SNAPSHOT version downloaded from you site, into /opt directory. I am using Red Hat Enterprise Linux machine.

By default soapui-settings.xml file has been created under /home directory of the user who downloaded and extracted the .zip file. I moved that file from /home/ into /opt directory.

When I run my tests from the command line, I can see that soapui-settings file has been freshly created and updated with global properties.

How can I direct soapUI to use settings file from /opt and not from /user directory? Where is that setting?

I wanted to do that because many developers will share the tests and I do not want setting file tied with any specific user.

Also I could see the traces of log in the soapui.log file which proves that soapui pro is using setting file from /home directory.

Thanks in advance.

3 Replies

  • Hi!

    Unfortunately, the settings file is user based, and must be located in the home folder of the user running soapUI.
    A non recommended way to get around this is to redefine the user.home system property before running soapUI to point at the folder
    where you have moved your soapui-settings.xml file. However this can have nasty side effects since all references to your home folder will be redirected
    to this new folder in soapUI, so use it with caution.

    --
    Regards

    Erik
    SmartBear Sweden
  • Liberty_Informa's avatar
    Liberty_Informa
    Regular Contributor
    Hi

    Thanks for the reply.

    Don't you see this as a drawback with the soap UI? In the operating systems like Unix, one user might not have access on other user's space or it may not be secure to give such access.

    Definitely I do not want to go with non recommended option.

    However I am sure before installing soapUI pro, we were using core soapUI on the same machine and that soapUI use to update soapui-settings.xml file in the /opt folder. That time also we had moved default created file from /user into /opt directory. Similar action with soapUI pro is not working. It created a fresh file under /user space and updated global properties. It is not at all using the same file which is at /opt folder.

    From your answer I can understand that soapui-settings.xml file is user based but the question remains how it was working for us with core version of the soapUI.

    Thanks