tomerz
6 years agoVisitor
run testcase from groovy with runner arguments
hi
I want to run testcase from other file with the argument -M -a -r -A -f c:\soapuiReport
I run my project with
testrunner.sh -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 = commonCase.run(new com.eviware.soapui.support.types.StringToObjectMap(), 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?
thx