Forum Discussion
elnreum
New Contributor
Super, Rupert. Thanks that works indeed !!
Test case scripting:
com.eviware.soapui.SoapUI.globalProperties.setPropertyValue("csi-iamp", "someresponse")
Mock response scripting:
def response = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue("csi-iamp")
log.info("response = " + response)
if (response != null) {
mockOperation.setDefaultResponse(response);
}
rupert_anderson
9 years agoValued Contributor
No problem, happy to help :-)
Related Content
Recent Discussions
- 15 years ago