Forum Discussion

Liberty_Informa's avatar
Liberty_Informa
Regular Contributor
12 years ago

soapui-settings file copy

As you say soapui-settings file is specific to the user. Please tell us how should we handle the situation like following:

We added few global properties through groovy script on local machine and checked in the changes. The same code is downloaded and executed on a separate Unix box where we run nightly tests.

Due to some reasons we had to delete those global properties on the local machine. Since soapui-settings file is not part of the package or not maintained in the source control tool, how can I carry the changes that were done in the local machine on to the Unix box? Normally in the Unix box, we do not run soapUI through the GUI. It is purely used to run tests through scripts.

I do not think copying soapui-settings file is advisable due to OS difference and many more differences between these two boxes many be soapUI version differences as well.

Is that you recommend I fire up soaui .sh file and make same changes manually in the Unix box?

I hope you understood what I am trying to convey.

Thanks.

2 Replies

  • Hi,

    You are correct in the assumption that it is not always advisable to straight up copy the settings file between operating systems, especially if you might have different versions of SoapUI installed.

    You could do as redfish4ktc2 suggests and specify an external properties file to use. That way, you could keep that property file included in source control and refer to it from both instances of SoapUI.

    If you just want to change the properties on the Unix machine, you could either fire it up and change it in the GUI, or simply edit the soapui-settings.xml on that machine and remove the properties you no longer want (they should be easy to find).

    Regards,
    Arian
    SmartBear Sweden