Forum Discussion
anallagundla
Contributor
I though i can try try this in soapui 4.0.0
I just need to know if I can select Global Project property to SSLKeystore present in the REST step, something like this ${#Project#...
image host
Am not able to edit SSLKeystore property in REST Step, is it possible to edit or pull project property?
image hosting jpg
Please let me know
Thanks
Abhinav
I just need to know if I can select Global Project property to SSLKeystore present in the REST step, something like this ${#Project#...
image host
Am not able to edit SSLKeystore property in REST Step, is it possible to edit or pull project property?
image hosting jpg
Please let me know
Thanks
Abhinav
Luffy
7 years agoOccasional Contributor
SSL Keystore aint a property to set, so it wont work that way.
Below has worked for me.
import com.eviware.soapui.settings.SSLSettings import com.eviware.soapui.SoapUI SoapUI.settings.setString( SSLSettings.KEYSTORE, pathToKeystore ) SoapUI.settings.setString( SSLSettings.KEYSTORE_PASSWORD, keystorePassword )
def KeyStore = SoapUI.settings.getString( SSLSettings.KEYSTORE, "SSL KeyStore is not stored, Please set it" )
testRunner.testCase.getTestStepByName('StateDetails').setPropertyValue("SSLKeystore", "$KeyStore")
You like the reply. How to give a Kudos / Accept as solution?
Related Content
- 9 years ago
Recent Discussions
- 22 days ago