Ramiz1234
7 years agoRegular Visitor
Looking for groovy script for updating SSL Keystore in RestTestREquest Properties.
Hi,
I am looking for updating the SSL KEystore in REST TestRequest Properties using groovy.
The groovy which i have is updating the WS-Security Configurations > Keystore.
But, I need t...
- 7 years ago
Hi Ramiz1234,
Try
// YourStepName def request = testRunner.testCase.testSteps["YourStepName"].testRequest request.setSslKeystore("") // input your string // if you want to update Rest test step, try below def request = testRunner.testCase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.class).each{teststep - > teststep.testRequest.setSslKeystore("") // input your string }
Regards,
/Aaron