Forum Discussion

DDS__Inc__Suppo's avatar
DDS__Inc__Suppo
Occasional Contributor
12 years ago

Relative path for custom reports location

Should you be able to use a relative path for the custom report library in preferences? I tried to do this using the resource root but it did not work. It also doesn't work with property expansion. It only works with an absolute path.

I have a custom report that's not being created during a CI process because of this. Any suggestions or workarounds would be appreciated.

Thanks,

Jeff

1 Reply

  • Hi,

    The custom report library path you have saved in preferences is saved in the settings file in the user folder named as soapui-settings.xml. When you run continuous integration make sure you have settings.xml file and the location set.
    In the pom.xml add a plugin to specify the settings file to use,
    settingsFile : Specifies SoapUI settings file to use
    http://www.soapui.org/Test-Automation/maven-2x.html

    To set the location in groovy.

    com.eviware.soapui.SoapUI.settings.setString( "Custom Report Library", "C:\\");

    Thanks,
    Jeshtha