From 19d23d9e5882d8a487fa03d561b80513c5c0b71d Mon Sep 17 00:00:00 2001 From: Robert Greig Date: Mon, 22 Jan 2007 17:30:29 +0000 Subject: (Patch submitted by Rupert Smith) Added configurations for all performance test setups to the pom. Commented out to not break build. Waiting on junit-toolkit-maven-plugin being added to maven repository. Create a throttle utility class and tests for it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498720 13f79535-47bb-0310-9956-ffa450edef68 --- java/perftests/pom.xml | 72 ++++++++++++++++--- .../org/apache/qpid/ping/AbstractPingProducer.java | 3 +- .../main/java/org/apache/qpid/ping/Throttle.java | 66 +++++++++++++++++ .../java/org/apache/qpid/ping/PingTestPerf.java | 83 ++++++++++++++-------- .../org/apache/qpid/ping/ThrottleTestPerf.java | 63 ++++++++++++++++ .../apache/qpid/requestreply/PingPongTestPerf.java | 58 +++++++++------ 6 files changed, 283 insertions(+), 62 deletions(-) create mode 100644 java/perftests/src/main/java/org/apache/qpid/ping/Throttle.java create mode 100644 java/perftests/src/test/java/org/apache/qpid/ping/ThrottleTestPerf.java (limited to 'java/perftests') diff --git a/java/perftests/pom.xml b/java/perftests/pom.xml index 1799b30790..e200212a61 100644 --- a/java/perftests/pom.xml +++ b/java/perftests/pom.xml @@ -87,7 +87,7 @@ To run from the command line (after doing assembly:assembly goal): - java -cp target/test_jar-jar-with-dependencies.jar uk.co.thebadgerset.junit.extensions.OldTKTestRunner -s 1 -r 100000 -o target org.apache.qpid.requestreply.PingPongTestPerf + java -cp target/test_jar-jar-with-dependencies.jar uk.co.thebadgerset.junit.extensions.TKTestRunner -s 1 -r 100000 -o target org.apache.qpid.requestreply.PingPongTestPerf To generate the scripts do: @@ -99,23 +99,73 @@ These scripts can find everything in the 'all test dependencies' jar created by the assembly:assembly goal. --> -