Forum Discussion
nmrao
Champion Level 3
Are those are properties set in that test case? or do you need to pass them from here?
ravibabu_it
8 years agoOccasional Contributor
I am creating and setting properties values in the test case during run time..I checked and those properties are set correctly. Manually I have refereed those values in rest method as ${#TestCase#userid} .Please let me know if you need any more information. Thanks once again for looking into the issue.
myTestCase.setPropertyValue(inputtagList,inputValueList)
def x = myTestCase.getPropertyValue(inputtagList)
log.info " x: $x"
Thanks,
Ravindra
- nmrao8 years agoChampion Level 3Hmm..
Is it possible for you to use "Run Test Case" step instead? Just to see if that is working?- ravibabu_it8 years agoOccasional Contributor
I am not sure how to do that one. Let me research on the syntax and get back to you. Incase if you have syntax handy, please share. Appreciate your support.
- ravibabu_it8 years agoOccasional Contributor
After I followed the suggestion provided by another user i the forum , it worked like charm. Thank you Rao.
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def testCase = testRunner.testCase;
def testStep = testCase.getTestStepAt(0);
//def testStep = testCase.getTestStepByName("Delay");
//def testStep = testCase.testSteps["Delay"];
testRunner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(testCase, null);
testStepContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext(testStep);
testStep.run(testRunner, testStepContext);
Related Content
- 2 years ago
Recent Discussions
- 3 days ago