mmethod
10 years agoNew Contributor
An easy question related to the 'context' of my test step :)
Dear Experts, I am new to this forum! I had no other choice than registering as I am completely lost :) I have been trying for days now to get test steps properly executed using a SoapUI Gro...
- 10 years ago
Michael,
Not sure the below script helps your need; Please try and let us know,
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ); def testCase = testRunner.testCase; testRunner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(testCase, null); def reusableActionTestCaseSteps = reusableActionTestCase.getTestStepList() reusableActionTestCaseSteps.each { testStep-> testStepContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext(testStep); testStep.run(testRunner, testStepContext); }
Thanks,
Samy
- 10 years ago
Hello,
Thanks a lot for your reply!
I'll directly give it a try...
Hope it will work as I am working with WADL's and not WSDL's.
Kind Regards,
Michael
- 10 years ago
This would work irrespectiveof WADL/ WSDL. I guess you got confused on seeing the name - WsdlTestCaseRunner. Please share if this works or if you found any other work around.
Thanks,
Samy