From 56ae5b5536cd437278fe50339f02993fcadf6980 Mon Sep 17 00:00:00 2001 From: Phil Harvey Date: Wed, 30 Jan 2013 09:15:18 +0000 Subject: QPID-4533: Modified perftests to support writing results to a database, and enhanced visualisation-jfc to allow it to read these results. Previously only CSV output/input was supported by these modules respectively. Also modified files in perftests/etc/ to allow convenient running of perftests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440312 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/perftests/example/perftests-jndi.properties | 3 +++ qpid/java/perftests/example/run.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'qpid/java/perftests/example') diff --git a/qpid/java/perftests/example/perftests-jndi.properties b/qpid/java/perftests/example/perftests-jndi.properties index 04a8ad9101..1c0fd57663 100644 --- a/qpid/java/perftests/example/perftests-jndi.properties +++ b/qpid/java/perftests/example/perftests-jndi.properties @@ -24,3 +24,6 @@ java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextF connectionfactory.connectionfactory = amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672' destination.controllerqueue = direct://amq.direct//controllerqueue?autodelete='true' + +driverName=org.apache.derby.jdbc.EmbeddedDriver +jdbcUrl=jdbc:derby:/tmp/perftestResultsDb;create=true diff --git a/qpid/java/perftests/example/run.sh b/qpid/java/perftests/example/run.sh index cb68c52853..31124a060a 100755 --- a/qpid/java/perftests/example/run.sh +++ b/qpid/java/perftests/example/run.sh @@ -18,5 +18,5 @@ # under the License. # -java -cp ".:${QPID_HOME}/lib/*" -Dqpid.dest_syntax=BURL org.apache.qpid.disttest.ControllerRunner jndi-config=perftests-jndi.properties test-config=$1 distributed=false +java -cp ".:${QPID_HOME}/lib/*" -Dqpid.dest_syntax=BURL org.apache.qpid.disttest.ControllerRunner jndi-config=perftests-jndi.properties test-config=$1 distributed=false writeToDb=true -- cgit v1.2.1