Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi!
You can only initialize the holder with a property-reference if that property is in scope (ie if you could get at it with context.expand), in your case the property is in another testsuite/testcase which will require you to
Hope this helps!
regards,
/Ole
eviware.com
You can only initialize the holder with a property-reference if that property is in scope (ie if you could get at it with context.expand), in your case the property is in another testsuite/testcase which will require you to
def holder = groovyUtils.getXmlHolder( testStep.testRequest.requestContent )
.. modify ..
testStep.testRequest.requestContent = holder.xml
Hope this helps!
regards,
/Ole
eviware.com