1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <?xml version="1.0" encoding="UTF-8"?> <project name="soapui" basedir="."> <!-- define properties in the build.properties file --> <property file="build.properties"/> <!-- e.g. soapUI-4.0.0/bin --> <property name="SOAPUI_HOME" location="${soapui.location}" /> <!-- soapui project file location--> <property name="soapui-project-xml-location" location="${soapui.project.location}" /> <!-- junit reports location --> <property name="reports" location="${build.dir}/junitreports" /> <target name="run.soapui"> <echo message="soapui location: ${SOAPUI_HOME}"/> <!-- test.suite is the name of test suite to run --> <java fork="true" failonerror="false" classname="com.eviware.soapui.tools.SoapUITestCaseRunner"> <arg line="-j -f${reports} -r -s${test.suite} -a ${soapui-project-xml-location}" /> <jvmarg value="-Xms128m" /> <jvmarg value="-Xmx1024m" /> <jvmarg value="-Dsoapui.properties=soapui.properties" /> <jvmarg value="-Dsoapui.home=%SOAPUI_HOME%" /> <jvmarg value="-Dsoapui.ext.libraries=${SOAPUI_HOME}/ext " /> <jvmarg value="-Dsoapui.ext.listeners=${SOAPUI_HOME}/listeners" /> <jvmarg value="-Dsoapui.ext.actions=${SOAPUI_HOME}/actions " /> <classpath> <pathelement location="${SOAPUI_HOME}/soapui-4.0.0.jar" /> <pathelement location="${SOAPUI_HOME}" /> <fileset dir="${SOAPUI_HOME}/../lib"> <include name="*.jar"/> </fileset> </classpath> </java> </target> </project> |
Direct link: https://paste.plurk.com/show/848526