Forum Discussion

tomerz's avatar
5 years ago

run testcase from groovy with runner arguments


I want to run testcase from other file with the argument -M -a -r -A -f c:\soapuiReport


I run my project with -M -a -r -A -f c:\soapuiReport c:\mySoapuiProj.xml >> c:\soapuiReport\mySoapuiProj.log

mySoapuiProj have below groovy step

import com.eviware.soapui.impl.wsdl.WsdlProject
project = new WsdlProject("c:\commonSoapuiProj.xml")
def commonCase = project.getTestSuiteByName("aaa").getTestSuiteByName("commonSuite").getTestCaseByName("commonCase")
runner =, false);

after run i see in c:\soapuiReport file for each step in c:\mySoapuiProj.xml

but i don’t see file for any step in c:\commonSoapuiProj.xml(commonSuite)(commonCase)


how i can run the external testcase with -M -a -r -A -f c:\soapuiReport?

how can i see file for each step in the external testcase?



No RepliesBe the first to reply