Forum Discussion
I am using the below snippet to create entity in keystores.
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, "Test SSL")
however, entity is not created successfully, and code is does not through any issues.
requirement is to create keystores with .jks file and use the same file while sending the request to server..
Any thoughts / workarounds.
- nmrao9 years agoChampion Level 3Is it a different question for the original topic?
- harinadha9 years agoOccasional Contributor
Okay fine. i still trying on this, please share your thought/inputs.
- harinadha9 years agoOccasional Contributor
Hi All,
I have done the following snippet which would help in creating entity in outgoing WS-Security configuration...
log.info "Start"
def project = testRunner.testCase.testSuite.project;
def WssC = project.getWssContainer();
if (!WssC.getOutgoingWssList().contains("TestAutomation-Layer7")) {
def owss = WssC.addOutgoingWss("TestAutomation-Layer7");
owss.setActor("TestAutomation");
owss.setPassword("TestAutomation");
owss.setUsername("TestAutomation");
owss.setMustUnderstand(true);
log.info "end"now, I wanted to extend it to have PasswordType as passwordtext and also want to have entity for timestamp.
Any thoughts around this?
Sorry for the confusion on the Key stores that I posted earlier. I will post update on key store once this WSS outgoing is done.
Related Content
- 4 years ago
- 5 years ago
Recent Discussions
- 15 years ago