0
我需要将相关链接设置为证书。但在WS-Security配置 - 密钥库中,我只能设置绝对路径。我如何使用脚本来做到这一点?如何使用Groovy脚本设置Keystore
我需要将相关链接设置为证书。但在WS-Security配置 - 密钥库中,我只能设置绝对路径。我如何使用脚本来做到这一点?如何使用Groovy脚本设置Keystore
import com.eviware.soapui.settings.SSLSettings
import com.eviware.soapui.SoapUI
// set
SoapUI.settings.setString(SSLSettings.KEYSTORE, pathToKeystore)
SoapUI.settings.setString(SSLSettings.KEYSTORE_PASSWORD, keystorePassword)
// get
SoapUI.settings.getString(SSLSettings.KEYSTORE, "value to return if there is no such setting set")
https://www.soapui.org/scripting-properties/tips-tricks.html
可能是你想要添加更多的细节问题?相关链接是什么意思?您也可以添加屏幕截图。 – Rao
相对路径像/graphics/image.png – Happy