diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2006-09-22 16:27:13 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2006-09-22 16:27:13 +0000 |
| commit | b958e0992bfe956553676e571c9dd932ae49172d (patch) | |
| tree | 6e4fe8710d988daf12a96e8a9a07872e41a6eae0 /java/client/test/bin | |
| parent | 488beb5a2a072afe2be0c7a1f679a5049f3b2e19 (diff) | |
| download | qpid-python-b958e0992bfe956553676e571c9dd932ae49172d.tar.gz | |
Updated Performance tests to use "." rather than "/" i.e. "amq.ConnectionFactory"
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/test/bin')
| -rw-r--r-- | java/client/test/bin/IBM-JNDI-Setup.bat | 10 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-JNDI-Setup.sh | 12 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-Publisher.bat | 2 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-Publisher.sh | 2 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-PutGet.bat | 2 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-PutGet.sh | 2 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-README.txt | 5 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-Receiver.bat | 2 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-Receiver.sh | 2 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-Sender.bat | 2 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-Sender.sh | 2 | ||||
| -rw-r--r-- | java/client/test/bin/IBM-Subscriber.bat | 2 | ||||
| -rwxr-xr-x | java/client/test/bin/IBM-Subscriber.sh | 2 |
13 files changed, 28 insertions, 19 deletions
diff --git a/java/client/test/bin/IBM-JNDI-Setup.bat b/java/client/test/bin/IBM-JNDI-Setup.bat index 72c0395014..c167398859 100644 --- a/java/client/test/bin/IBM-JNDI-Setup.bat +++ b/java/client/test/bin/IBM-JNDI-Setup.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-JNDI-Setup.bat"
-set JAVACLASS=org.apache.qpid.IBMPerfTest.JNDIBindConnectionFactory
+set JAVACLASS=
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
@@ -52,7 +52,13 @@ goto exit set CLIENT_TEST_CLASSES=%QPID_HOME%\lib\client-test-launch.jar
echo on
-"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" %JAVACLASS%
+"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" org.apache.qpid.IBMPerfTest.JNDIBindConnectionFactory
+"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" org.apache.qpid.IBMPerfTest.JNDIBindQueue amq.Queue direct://amq.direct//IBMPerfQueue1
+"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic1 topic://amq.topic/IBMPerfTopic1/
+"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic2 topic://amq.topic/IBMPerfTopic2/
+"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%CLIENT_TEST_CLASSES%" org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic3 topic://amq.topic/IBMPerfTopic3/
+
+
:end
diff --git a/java/client/test/bin/IBM-JNDI-Setup.sh b/java/client/test/bin/IBM-JNDI-Setup.sh index e27f062c13..b0f5cd0315 100755 --- a/java/client/test/bin/IBM-JNDI-Setup.sh +++ b/java/client/test/bin/IBM-JNDI-Setup.sh @@ -15,9 +15,9 @@ # limitations under the License. # -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindConnectionFactory -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindQueue amq/Queue direct://amq.direct//IBMPerfQueue1 -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq/Topic1 topic://amq.topic/IBMPerfTopic1/ -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq/Topic2 topic://amq.topic/IBMPerfTopic2/ -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq/Topic3 topic://amq.topic/IBMPerfTopic3/ -qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq/Topic4 topic://amq.topic/IBMPerfTopic4/
\ No newline at end of file +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindConnectionFactory amq.ConnectionFactorty +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindQueue amq.Queue direct://amq.direct//IBMPerfQueue1 +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic1 topic://amq.topic/IBMPerfTopic1/ +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic2 topic://amq.topic/IBMPerfTopic2/ +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic3 topic://amq.topic/IBMPerfTopic3/ +qpid-run org.apache.qpid.IBMPerfTest.JNDIBindTopic amq.Topic4 topic://amq.topic/IBMPerfTopic4/
\ No newline at end of file diff --git a/java/client/test/bin/IBM-Publisher.bat b/java/client/test/bin/IBM-Publisher.bat index fbff36e5b2..878ebd638a 100644 --- a/java/client/test/bin/IBM-Publisher.bat +++ b/java/client/test/bin/IBM-Publisher.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-Publisher.bat"
-set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Topic -db 1 -dx 4 -tc jms.r11.Publisher -nt 4 %*
+set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Topic -db 1 -dx 4 -tc jms.r11.Publisher -nt 4 %*
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
diff --git a/java/client/test/bin/IBM-Publisher.sh b/java/client/test/bin/IBM-Publisher.sh index 320b2c2804..c66c889e38 100755 --- a/java/client/test/bin/IBM-Publisher.sh +++ b/java/client/test/bin/IBM-Publisher.sh @@ -16,4 +16,4 @@ # export MSGSIZE=100 -qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Topic -db 1 -dx 4 -tc jms.r11.Publisher -nt 4 $*
\ No newline at end of file +qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Topic -db 1 -dx 4 -tc jms.r11.Publisher -nt 4 $*
\ No newline at end of file diff --git a/java/client/test/bin/IBM-PutGet.bat b/java/client/test/bin/IBM-PutGet.bat index f37a819147..8ae7376013 100644 --- a/java/client/test/bin/IBM-PutGet.bat +++ b/java/client/test/bin/IBM-PutGet.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-PutGet.bat"
-set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.PutGet -nt 6 %*
+set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.PutGet -nt 6 %*
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
diff --git a/java/client/test/bin/IBM-PutGet.sh b/java/client/test/bin/IBM-PutGet.sh index b44d7f3e6a..40492039a7 100755 --- a/java/client/test/bin/IBM-PutGet.sh +++ b/java/client/test/bin/IBM-PutGet.sh @@ -15,4 +15,4 @@ # limitations under the License. # -qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.PutGet -nt 6 $*
\ No newline at end of file +qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.PutGet -nt 6 $*
\ No newline at end of file diff --git a/java/client/test/bin/IBM-README.txt b/java/client/test/bin/IBM-README.txt index 1d5b2fe96e..b076f3b3ca 100644 --- a/java/client/test/bin/IBM-README.txt +++ b/java/client/test/bin/IBM-README.txt @@ -3,6 +3,9 @@ The IBM JMS Performance Harness scripts have take the following additional param -tx : Enable transactions -pp : Enable persistent messaging +-ms 1000 : Set message size (default 1000 bytes) +-cc 1 : Number of messages to per commit (default 1) Only applies to Sender/Subscriber + The IBM JMS Performance Harness will need to be downloaded and the library added to client/test/lib. The Library can be found here: @@ -13,4 +16,4 @@ Before running the required test the IBM JNDI Setup script should be run. This will create a filesystem based JNDI Context located at: -/temp/IBMPerfTestsJNDI/
\ No newline at end of file +System.properties{java.io.tmpdir}/IBMPerfTestsJNDI/
\ No newline at end of file diff --git a/java/client/test/bin/IBM-Receiver.bat b/java/client/test/bin/IBM-Receiver.bat index 769406b374..4c0adc2dc7 100644 --- a/java/client/test/bin/IBM-Receiver.bat +++ b/java/client/test/bin/IBM-Receiver.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-Receiver.bat"
-set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.Receiver %*
+set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.Receiver %*
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
diff --git a/java/client/test/bin/IBM-Receiver.sh b/java/client/test/bin/IBM-Receiver.sh index 60ee3a9d98..896e1b2103 100755 --- a/java/client/test/bin/IBM-Receiver.sh +++ b/java/client/test/bin/IBM-Receiver.sh @@ -16,4 +16,4 @@ # export MSGSIZE=100 -qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.Receiver $*
\ No newline at end of file +qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.Receiver $*
\ No newline at end of file diff --git a/java/client/test/bin/IBM-Sender.bat b/java/client/test/bin/IBM-Sender.bat index 0fe295a93f..9887d34511 100644 --- a/java/client/test/bin/IBM-Sender.bat +++ b/java/client/test/bin/IBM-Sender.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-Sender.bat"
-set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.Sender -ms $MSGSIZE -mg 1000000 %*
+set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.Sender -ms $MSGSIZE -mg 1000000 %*
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
diff --git a/java/client/test/bin/IBM-Sender.sh b/java/client/test/bin/IBM-Sender.sh index 4e7d4880e3..3e8600ed81 100755 --- a/java/client/test/bin/IBM-Sender.sh +++ b/java/client/test/bin/IBM-Sender.sh @@ -16,4 +16,4 @@ # export MSGSIZE=100 -qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Queue -tc jms.r11.Sender -ms $MSGSIZE -mg 1000000 $*
\ No newline at end of file +qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Queue -tc jms.r11.Sender -ms $MSGSIZE -mg 1000000 $*
\ No newline at end of file diff --git a/java/client/test/bin/IBM-Subscriber.bat b/java/client/test/bin/IBM-Subscriber.bat index d231af943c..87cde15727 100644 --- a/java/client/test/bin/IBM-Subscriber.bat +++ b/java/client/test/bin/IBM-Subscriber.bat @@ -18,7 +18,7 @@ REM Script to run the Qpid Java Broker
set CMD="IBM-Subscriber.bat"
-set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Topic -db 1 -dx 4 -tc jms.r11.Subscriber -nt 4 %*
+set JAVACLASS=JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Topic -db 1 -dx 4 -tc jms.r11.Subscriber -nt 4 %*
rem Guess QPID_HOME if not defined
set CURRENT_DIR=%cd%
diff --git a/java/client/test/bin/IBM-Subscriber.sh b/java/client/test/bin/IBM-Subscriber.sh index d12955254b..57a4969146 100755 --- a/java/client/test/bin/IBM-Subscriber.sh +++ b/java/client/test/bin/IBM-Subscriber.sh @@ -16,4 +16,4 @@ # export MSGSIZE=100 -qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq/ConnectionFactory -d amq/Topic -db 1 -dx 4 -tc jms.r11.Subscriber -nt 4 $*
\ No newline at end of file +qpid-run JMSPerfHarness -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:/C:/temp/IBMPerfTestsJNDI/ -cf amq.ConnectionFactory -d amq.Topic -db 1 -dx 4 -tc jms.r11.Subscriber -nt 4 $*
\ No newline at end of file |
