Forum Discussion
M_McDonald
14 years agoSuper Contributor
Does this work?
def requestTestCase = testRunner.testCase.testSuite.project.getTestSuiteByName('TestSuite2').getTestCaseByName('TestCaseTwo')
def myContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(requestTestCase, null).runContext
def requestContent = requestTestCase.getTestStepByName('TestStepTwo').httpRequest.requestContent
return myContext.expand(requestContent)