Forum Discussion
KrishnaReddy_YV
17 years agoNew Contributor
Hi Ole,
Thanks for the prompt reply. As you suggested I have installed the Soap UI 2.5 version and executed code as below -
def openrequest = testRunner.testCase.getTestStepByName( "getCasesBySubject - Request Transformation Failure -101" );
def property = openrequest.getProperty( "response" );
def count = 0;
while(count <10 && property.value == null){
testRunner.runTestStep( testRunner.testCase.testSteps["getCasesBySubject - Request Transformation Failure -101"], true, true )
count ++;
}
But I got an exception as below mentioned -
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner.runTestStep() is applicable for argument types: (com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep, java.lang.Boolean, java.lang.Boolean) values: {com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep@453dd5, true, true}
For you reference here I'm attaching the structure of the TestSuit.


what could be going wrong here..
thanks
krish
Thanks for the prompt reply. As you suggested I have installed the Soap UI 2.5 version and executed code as below -
def openrequest = testRunner.testCase.getTestStepByName( "getCasesBySubject - Request Transformation Failure -101" );
def property = openrequest.getProperty( "response" );
def count = 0;
while(count <10 && property.value == null){
testRunner.runTestStep( testRunner.testCase.testSteps["getCasesBySubject - Request Transformation Failure -101"], true, true )
count ++;
}
But I got an exception as below mentioned -
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner.runTestStep() is applicable for argument types: (com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep, java.lang.Boolean, java.lang.Boolean) values: {com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep@453dd5, true, true}
For you reference here I'm attaching the structure of the TestSuit.


what could be going wrong here..
thanks
krish