[jboss-cvs] JBossRemoting ...
Ron Sigal
rsigal at belmont.prod.atl2.jboss.com
Wed Aug 30 21:35:47 EDT 2006
User: rsigal
Date: 06/08/30 21:35:47
Modified: JBossRemoting build.xml
Log:
JBREM-595: Added tests.performance.sequence.spring_http target.
Revision Changes Path
1.84 +47 -4 JBossRemoting/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/build.xml,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- build.xml 29 Aug 2006 16:02:16 -0000 1.83
+++ build.xml 31 Aug 2006 01:35:47 -0000 1.84
@@ -9,7 +9,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.83 2006/08/29 16:02:16 telrod Exp $ -->
+<!-- $Id: build.xml,v 1.84 2006/08/31 01:35:47 rsigal Exp $ -->
<project default="most" name="JBossRemoting">
@@ -1241,7 +1241,19 @@
<param name="remoting.metadata.key" value="remoting.metadata"/>
<param name="metadata" value=""/>
<param name="jboss-junit-configuration" value="spring_rmi_${perf.seq.numofcalls}_${perf.seq.numofclients}_${perf.seq.payloadsize}"/>
+ </antcall>
+ </target>
+ <target name="tests.performance.sequence.spring_http" depends="configure">
+ <antcall target="tests.performance.spring.http.run.single" inheritrefs="true">
+ <param name="remoting.host" value="localhost"/>
+ <param name="transport" value="spring_http"/>
+ <param name="numofcalls" value="${perf.seq.numofcalls}"/>
+ <param name="numofclients" value="${perf.seq.numofclients}"/>
+ <param name="payloadsize" value="${perf.seq.payloadsize}"/>
+ <param name="remoting.metadata.key" value="remoting.metadata"/>
+ <param name="metadata" value=""/>
+ <param name="jboss-junit-configuration" value="spring_http_${perf.seq.numofcalls}_${perf.seq.numofclients}_${perf.seq.payloadsize}"/>
</antcall>
</target>
@@ -1820,7 +1832,38 @@
<batchtest fork="yes" todir="${output.tests.performance}"
haltonfailure="no">
<fileset dir="${tests.compile.dir}">
- <include name="**/remoting/performance/spring/**/rmi/**/SpringRMIPerformanceTestCase.class"/>
+ <include name="**/remoting/performance/spring/rmi/SpringRMIPerformanceTestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+
+ </target>
+
+
+ <target name="tests.performance.spring.http.run.single" depends="tests.jars">
+ <echo>Running performance tests for protocol: ${transport}
+ number of clients: ${numofclients}, payload size: ${payloadsize}, number of calls: ${numofcalls}</echo>
+ <mkdir dir="${output.tests.performance}"/>
+ <echo>jboss-junit-configuration = ${jboss-junit-configuration}</echo>
+ <junit printsummary="true" fork="yes" includeantruntime="true">
+ <jvmarg value="-Dremoting.transport=${transport}"/>
+ <jvmarg value="-Dremoting.number_of_clients=${numofclients}"/>
+ <jvmarg value="-Dremoting.number_of_calls=${numofcalls}"/>
+ <jvmarg value="-Dremoting.payload.size=${payloadsize}"/>
+ <jvmarg value="-Dremoting.serialization=${serialization}"/>
+ <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
+ <jvmarg value="-Dremoting.host=${remoting.host}"/>
+ <classpath>
+ <path refid="tests.classpath"/>
+ <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
+ </classpath>
+ <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+ extension="-${jboss-junit-configuration}.xml"/>
+ <batchtest fork="yes" todir="${output.tests.performance}"
+ haltonfailure="no">
+ <fileset dir="${tests.compile.dir}">
+ <include name="**/remoting/performance/spring/http/client/SpringHttpPerformanceTestCase.class"/>
</fileset>
</batchtest>
</junit>
More information about the jboss-cvs-commits
mailing list