Forum Discussion
calandale
13 years agoOccasional Contributor
Behavioral difference that I'm seeing is that the plugin does not appear to have a context
def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
SoapUI.settings.setString( SSLSettings.KEYSTORE, groovyUtils.projectPath + "/PT_mystore.p12" )
SoapUI.settings.setString( SSLSettings.KEYSTORE_PASSWORD, "myPass" )
log.info("path to keystore: " + SoapUI.settings.getString(SSLSettings.KEYSTORE,"missing"))
is logging JUST /PT_mystore.p12
From the command line, it is able to determine context.
def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
SoapUI.settings.setString( SSLSettings.KEYSTORE, groovyUtils.projectPath + "/PT_mystore.p12" )
SoapUI.settings.setString( SSLSettings.KEYSTORE_PASSWORD, "myPass" )
log.info("path to keystore: " + SoapUI.settings.getString(SSLSettings.KEYSTORE,"missing"))
is logging JUST /PT_mystore.p12
From the command line, it is able to determine context.