Forum Discussion
pteichner
13 years agoOccasional Contributor
I've found the solution:
Basically createa WsdlProjectPro object with the Project location, so it will have all it's parameters. Also create a runner object (SoapUIProTestCaseRunner) with a name. That object has a procedure runProject. This can also be done on the test suite or the test case level if you use WsdlProjectPro to read through the suites/testcases.
def currentProject = new com.eviware.soapui.impl.wsdl.WsdlProjectPro("$projectFullLocation")
def projectRunner=new com.eviware.soapui.SoapUIProTestCaseRunner('ProjectRunner')
def status = projectRunner.runProject(currentProject)
Basically createa WsdlProjectPro object with the Project location, so it will have all it's parameters. Also create a runner object (SoapUIProTestCaseRunner) with a name. That object has a procedure runProject. This can also be done on the test suite or the test case level if you use WsdlProjectPro to read through the suites/testcases.
Related Content
- 13 years ago
- 10 months ago
- 2 years ago
Recent Discussions
- 15 years ago