Forum Discussion
Okay fine. i still trying on this, please share your thought/inputs.
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.
- ramnaresh9 years agoOccasional Visitor
I have WS-Security Configurations (secured xml request with jks certificate and key stores). I have manually sent one request and its working fine but when we parameterize for multiple requests it does not work.
http://pglezen.github.io/was-config/html/soapui.html. This whole process we would like to automate using groovy script in soapui. How I can do this using scripts? Can any body help me to resolve this issue. Thanks
- HimanshuTayal7 years agoCommunity Hero
Related Content
- 4 years ago
- 5 years ago
Recent Discussions
- 15 years ago