Forum Discussion
JHunt
7 years agoCommunity Hero
I notice you're using a SoapUIProTestCaseRunner. I couldn't find documentation about it online (Google's link to www.soapui.org/apidocs/pro/com/eviware/soapui/SoapUIProTestCaseRunner.html wouldn't load).
Here's how I'd do it in the SoapUI Open Source world - it might give you some things to try:
import com.eviware.soapui.impl.wsdl.WsdlProject
import com.eviware.soapui.support.types.StringToObjectMap
WsdlProject project = new WsdlProject("/project.xml")
project.setPropertyValue("currencyCode", "xxx")
boolean async = false
StringToObjectMap context = new StringToObjectMap()
project.testSuites["TestSuite 1"].testCases["TESTCASE1"].run(context, async)
Related Content
- 12 years ago
Recent Discussions
- 15 years ago