Forum Discussion
Bob_K
16 years agoOccasional Contributor
Thanks Robert, I've already gone over that page and I've been able to use the sample:
to retrieve properties at the testStep and testCase level but still can't figure out how to access the properties set at the project level. I recently tried moving the properties down to the testSuite level but still haven't been able to accees the properties. I've tried:
but I get the error:
// get request property
def request = testRunner.testCase.getTestStepByName( "Request 1" );
def property = request.getProperty( "request" );
to retrieve properties at the testStep and testCase level but still can't figure out how to access the properties set at the project level. I recently tried moving the properties down to the testSuite level but still haven't been able to accees the properties. I've tried:
def hTestSuite = testRunner.getTestSuiteByName("My TestSuite");
but I get the error:
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner.getTestSuiteByName() is applicable for argument types: (java.lang.String) values: {"My TestSuite"}
Related Content
Recent Discussions
- 4 days agoemoya