rf
10 years agoOccasional Contributor
open wsdlproject using groovy
Hello! Is it possible to open a project using groovy code (in Ready API/SoapUI NG)? E.g. testRunner.testCase.testSuite.project.open = true. (This obviously doesn't work, the open-attribute is read-...
- 10 years ago
Yes you can refer the other project with the project path,
import com.eviware.soapui.impl.wsdl.WsdlProjectPro WsdlProjectPro project = new WsdlProjectPro("SoapUIWorkspace/Sample-soapui-project.xml");
https://www.soapui.org/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html
To get the interface list refer this API,
https://www.soapui.org/apidocs/com/eviware/soapui/model/project/Project.html
project.
getInterfaceList()
Thanks