summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/src
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 506439 via svnmerge from Robert Greig2007-02-122-84/+242
| | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r506439 | rgreig | 2007-02-12 13:25:36 +0000 (Mon, 12 Feb 2007) | 3 lines (Patch submitted by Rupert Smith) Qpid-360 fixes. Message type defaults to ByteMessage when not specified. Unknown destination type is used as default when not specified. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/perftesting_persistent@506483 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 501413-503717 via svnmerge from Martin Ritchie2007-02-0618-3575/+2075
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r501448 | kpvdr | 2007-01-30 16:27:47 +0000 (Tue, 30 Jan 2007) | 1 line Fixed codegen bug in which fields added by second XML file duplicate ordinal values. ........ r501455 | rgreig | 2007-01-30 16:40:20 +0000 (Tue, 30 Jan 2007) | 1 line (Submitted by Rupert Smith) Ping tests refactored. Unused ping test classes removed. JUnit-toolkit 0.5-SNAPSHOT added to the build. ........ r501457 | rgreig | 2007-01-30 16:42:37 +0000 (Tue, 30 Jan 2007) | 1 line (Submitted by Rupert Smith) Added PingClient.java which was forgotten from last commit. ........ r501465 | rgreig | 2007-01-30 16:53:41 +0000 (Tue, 30 Jan 2007) | 1 line (Submitted by Rupert Smith) Updated the README.txt to give a fuller explanation for the creation of the temporary local maven repository. ........ r501472 | kpvdr | 2007-01-30 16:59:38 +0000 (Tue, 30 Jan 2007) | 1 line Small codegen code tidy-up ........ r501804 | rgreig | 2007-01-31 11:29:33 +0000 (Wed, 31 Jan 2007) | 3 lines (Patch submitted by Rupert Smith) Added a ping latency test. Uploaded new junit-toolkit snapshot for self timed tests. ........ r501914 | ritchiem | 2007-01-31 17:25:42 +0000 (Wed, 31 Jan 2007) | 3 lines QPID-334 WeakReferenceMessageHandle uses a singleton so when body is purged by gc it cannot be reset Changed to use an Arraylist of size 1 as per JIRA entry. ........ r501917 | ritchiem | 2007-01-31 17:31:04 +0000 (Wed, 31 Jan 2007) | 6 lines QPID-333 Message Properties on non Qpid Messages are not preserved Updated MessageConverter to have a constructor that takes a Message type. Updated MessageConverterTest to use the new NonQpidMessage to test it out. JMSHeaderAdapter.java - whitespace changes and comment noting that null return is required. ........ r501920 | ritchiem | 2007-01-31 17:43:45 +0000 (Wed, 31 Jan 2007) | 1 line Unused so removing ........ r501945 | vinoski | 2007-01-31 19:00:26 +0000 (Wed, 31 Jan 2007) | 1 line patch from Jonathan Anstey for QPID-332 ........ r502172 | ritchiem | 2007-02-01 09:37:39 +0000 (Thu, 01 Feb 2007) | 3 lines QPID-333 Committed test class rename to stop it being picked up by Surefire AMQTopic.java - whitespace ........ r502178 | bhupendrab | 2007-02-01 10:01:32 +0000 (Thu, 01 Feb 2007) | 1 line virtual host string corrected ........ r502179 | rgreig | 2007-02-01 10:13:21 +0000 (Thu, 01 Feb 2007) | 1 line (Submitted by Rupert Smith) Added comments as a reminder of improvements to be made to the tests. ........ r502180 | bhupendrab | 2007-02-01 10:13:55 +0000 (Thu, 01 Feb 2007) | 2 lines QPID-331 and setting operation parameters to default values after executing the operation once. ........ r502182 | rgreig | 2007-02-01 10:18:36 +0000 (Thu, 01 Feb 2007) | 1 line (Submitted by Rupert Smith) Added comments as a reminder of improvements to be made to the tests. ........ r502248 | ritchiem | 2007-02-01 15:47:17 +0000 (Thu, 01 Feb 2007) | 7 lines QPID-339 Java client hangs when starting up (intermittently) Patched the problem where the dispatcher would hang. The previous logic was flawed. Patch worked on by Robert Godfrey and Martin Ritchie. Added test to ensure that the connection is not automatically started. ........ r502249 | ritchiem | 2007-02-01 15:50:52 +0000 (Thu, 01 Feb 2007) | 3 lines QPID-330 Clients occasionally fail to notice connect The AMQConnection.java constructor now deals with the full connection process. The failover thread should not be started. This allows the connection method to be simplified and not Thread.sleep waiting for the connection. ........ r502253 | ritchiem | 2007-02-01 16:01:14 +0000 (Thu, 01 Feb 2007) | 11 lines QPID-339 Java client hangs when starting up (intermittently) Patched the problem where the dispatcher would hang. The previous logic was flawed. Patch worked on by Robert Godfrey and Martin Ritchie. Added test to ensure that the connection is not automatically started. (Only added the test last time by mistake. This is the actual fix) With a test for the DispatcherTest ........ r502261 | ritchiem | 2007-02-01 16:25:57 +0000 (Thu, 01 Feb 2007) | 2 lines QPID-339 DispatcherTest.java was broker now it actually tests correctly. Added test to Check changing message listeners ........ r502268 | ritchiem | 2007-02-01 16:32:56 +0000 (Thu, 01 Feb 2007) | 1 line Increased logging on a failure to attain state ........ r502269 | bhupendrab | 2007-02-01 16:34:21 +0000 (Thu, 01 Feb 2007) | 1 line some part commented, so that it lets users copy paste the host details on the new connection window ........ r502271 | ritchiem | 2007-02-01 16:36:54 +0000 (Thu, 01 Feb 2007) | 3 lines QPID-341 When using Queues and Topics defined via JNDI settings are not preserved. Removed extraction of destination/queue name and used BindingURL directly to create Destination. ........ r502273 | ritchiem | 2007-02-01 16:38:45 +0000 (Thu, 01 Feb 2007) | 2 lines Added more intelij files to the ignore list ........ r502576 | ritchiem | 2007-02-02 11:13:13 +0000 (Fri, 02 Feb 2007) | 4 lines QPID-343 Performance test suite doesn't output missing message count on failure. Updated PingAsyncTestPerf to output missing messsage count. Updated PingPongProducer so it doesn't use AMQShortStringx. ........ r502610 | bhupendrab | 2007-02-02 14:26:32 +0000 (Fri, 02 Feb 2007) | 2 lines QPID-84 tests for FSContextFactory deleted.fscontext.jar is not part of apache svn. ........ r502620 | rgreig | 2007-02-02 15:09:08 +0000 (Fri, 02 Feb 2007) | 3 lines (Submitted by Rupert Smith) Perftests improved with better timeout handling. Shared/unique destinations to ping now an option. TestRunner now runs all per-thread setups, synchs all threads, then runs tests, synchas all threads, then runs tear downs. ........ r502627 | rgreig | 2007-02-02 15:31:30 +0000 (Fri, 02 Feb 2007) | 2 lines (Submitted by Rupert Smith) Fixed problem with losing message results. Was not passing in self generated message correlation id in the async test, to match up replies with. ........ r502655 | rgreig | 2007-02-02 16:59:14 +0000 (Fri, 02 Feb 2007) | 1 line (Submitted by Rupert Smith) Options moved to top of contructor. Were at bottom and not being used! ........ r503593 | ritchiem | 2007-02-05 08:58:30 +0000 (Mon, 05 Feb 2007) | 1 line Fixed bug in stop(). If a connection is opened not start()ed then closed a NullPointerException will be thrown as the Dispatcher has not been created. ........ r503604 | rgreig | 2007-02-05 09:40:04 +0000 (Mon, 05 Feb 2007) | 1 line QPID-326 : Patch supplied by Rob Godfrey - add oldest message on queue notification, and log notifications in log file ........ r503609 | ritchiem | 2007-02-05 09:49:59 +0000 (Mon, 05 Feb 2007) | 1 line Update to performance testing to allow the use of shared destinations. This allows topics to have multiple consumers and the total message counts updated correctly. ........ r503637 | rgreig | 2007-02-05 11:17:08 +0000 (Mon, 05 Feb 2007) | 2 lines (Submitted by Rupert Smith) Junit-toolkit has now fully migrated onto sourceforge. Snapshot repository location updated. ........ r503646 | rgreig | 2007-02-05 11:28:57 +0000 (Mon, 05 Feb 2007) | 2 lines (Submitted by Rupert Smith) This local repository is no longer needed. JUnit-Toolkit snapshot repository is now hosted on sourceforge: http://junit-toolkit.svn.sourceforge.net/svnroot/junit-toolkit/. A release is also in progress to the central maven repository. ........ r503706 | bhupendrab | 2007-02-05 14:45:18 +0000 (Mon, 05 Feb 2007) | 2 lines QPID-213 Also the parameter selection of boolean type is made as check-boxes instead of a drop-down. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/perftesting_persistent@504056 13f79535-47bb-0310-9956-ffa450edef68
* Updated script details and added guard for trafficlight being null.Martin Ritchie2007-01-262-14/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@500284 13f79535-47bb-0310-9956-ffa450edef68
* Fixed race condition that would cause duplicate batch data to be logged.Martin Ritchie2007-01-252-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499781 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Class has been documented.Robert Greig2007-01-252-75/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499764 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Class has been documented.Robert Greig2007-01-251-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499757 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Class has been documented.Robert Greig2007-01-251-36/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499756 13f79535-47bb-0310-9956-ffa450edef68
* Refactored to use CountDownLatch as using local count was wrong in multi ↵Martin Ritchie2007-01-251-283/+268
| | | | | | threaded case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499733 13f79535-47bb-0310-9956-ffa450edef68
* Race condition fixed fro AsyncTestPerfMartin Ritchie2007-01-252-295/+332
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499716 13f79535-47bb-0310-9956-ffa450edef68
* Changed default MessageSize to 1024Martin Ritchie2007-01-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499468 13f79535-47bb-0310-9956-ffa450edef68
* added some constant valuesBhupendra Bhusman Bhardwaj2007-01-242-45/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499461 13f79535-47bb-0310-9956-ffa450edef68
* Changed default BatchSize to 1000.Martin Ritchie2007-01-241-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499456 13f79535-47bb-0310-9956-ffa450edef68
* QPID-50 : Patch supplied by Rob Godfrey - Virtual Host implementationRobert Greig2007-01-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499446 13f79535-47bb-0310-9956-ffa450edef68
* Added commit calls for the received messages.Martin Ritchie2007-01-242-126/+156
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499429 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Cleans up the countdown latch used to ↵Robert Greig2007-01-241-119/+118
| | | | | | count expected number of messages. Not clearing it from the map of countdowns by message correlation id causes a memory leak as the map is long lived over many tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499427 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499426 ↵Bhupendra Bhusman Bhardwaj2007-01-243-35/+95
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* Updated Async Test for destinations and for signalling completed runs when ↵Martin Ritchie2007-01-246-102/+123
| | | | | | there is only 1 queue. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499392 13f79535-47bb-0310-9956-ffa450edef68
* updated the test classes to be used with Topics as well as QueuesBhupendra Bhusman Bhardwaj2007-01-249-179/+308
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499356 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to code not yet available via mvnMartin Ritchie2007-01-231-241/+241
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499170 13f79535-47bb-0310-9956-ffa450edef68
* Updated perftests to include an Asynchronous ping senderMartin Ritchie2007-01-236-125/+438
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499166 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Added the ability to limit the rate at ↵Robert Greig2007-01-239-345/+415
| | | | | | which messages are sent by the ping tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499083 13f79535-47bb-0310-9956-ffa450edef68
* updated the test for testing with multiple threadsBhupendra Bhusman Bhardwaj2007-01-233-102/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499036 13f79535-47bb-0310-9956-ffa450edef68
* FailOver added flag FAIL_ONCE so that only the first call is stopped for ↵Martin Ritchie2007-01-236-46/+85
| | | | | | | | failover.. the default. Updated POM with Failover Tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@498984 13f79535-47bb-0310-9956-ffa450edef68
* Test modified to take arguments with - optionsBhupendra Bhusman Bhardwaj2007-01-232-58/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@498974 13f79535-47bb-0310-9956-ffa450edef68
* Added addtional loggers for testingMartin Ritchie2007-01-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@498970 13f79535-47bb-0310-9956-ffa450edef68
* Added ability to cause failover before/after commit/sendsMartin Ritchie2007-01-238-219/+704
| | | | | | Added batch size ability. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@498965 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Added configurations for all performance ↵Robert Greig2007-01-225-51/+222
| | | | | | | | 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@498720 13f79535-47bb-0310-9956-ffa450edef68
* performance Ping tests modified for scalability test. Now tests with ↵Bhupendra Bhusman Bhardwaj2007-01-224-35/+172
| | | | | | multiple queues can be performed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@498687 13f79535-47bb-0310-9956-ffa450edef68
* Added class to ping itself and a junit test for it.Bhupendra Bhusman Bhardwaj2007-01-193-53/+184
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497878 13f79535-47bb-0310-9956-ffa450edef68
* JMSException logged as error Marnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497786 13f79535-47bb-0310-9956-ffa450edef68
* JMSException logged as errorMarnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497784 13f79535-47bb-0310-9956-ffa450edef68
* Upgraded logging for JMSException to error as we always want to know afaikMarnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497781 13f79535-47bb-0310-9956-ffa450edef68
* refactored the constructor to allow subclasses use the super constructorBhupendra Bhusman Bhardwaj2007-01-191-17/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497766 13f79535-47bb-0310-9956-ffa450edef68
* (Pacth by Rupert Smith) Fixed mistake in PingPongProducer, it was creating ↵Robert Greig2007-01-184-28/+37
| | | | | | | | its message counter after sending messages, so sometimes the onMessage loop had already received mesages before the counter was created. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497498 13f79535-47bb-0310-9956-ffa450edef68
* (Build fix - Rupert Smith)Robert Greig2007-01-181-21/+32
| | | | | | Sorry, I checked in a file with a missing dependency. Fixed now. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497482 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith)Robert Greig2007-01-189-510/+893
| | | | | | Restructured the ping tests, they now share common base classes to avoid cut and paste coding. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@497425 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496996 ↵Bhupendra Bhusman Bhardwaj2007-01-171-3/+2
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* added timer for callbackHandler to wait for next message before exitingBhupendra Bhusman Bhardwaj2007-01-171-33/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496991 13f79535-47bb-0310-9956-ffa450edef68
* Fix to broken build due to missing file.Robert Greig2007-01-161-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496833 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Refactored the test ping classes to share ↵Robert Greig2007-01-167-254/+1230
| | | | | | | | common code. Made them runnable from the command line (the same as they already were). Also made it possible to instantiate them in other code more easily. A unit test class has been added that performs a ping. This is so that it can be run with the TKTestRunner to scale it up and take performance measurements. Junit-toolkit added as a dependency to the maven build system. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496753 13f79535-47bb-0310-9956-ffa450edef68
* Tests under this directory are actually ping testsBhupendra Bhusman Bhardwaj2007-01-164-0/+0
| | | | | | -Comment from Rupert git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496731 13f79535-47bb-0310-9956-ffa450edef68
* checking for the AMQ MessageID of received message in ↵Bhupendra Bhusman Bhardwaj2007-01-153-32/+33
| | | | | | ServiceRequestingClient.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@496260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-283Martin Ritchie2007-01-122-11/+23
| | | | | | | | | | Documented topic test Updated perftests.log4j to include log level in output to make it clear when there is a non test output Fixed bug in Publisher where batches of 2 would result in a div by zero error. scripts created and edited to use the amqj.test.logging.level. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-278Martin Ritchie2007-01-123-28/+62
| | | | | | | | | | | | | | broker distribution - modified to allow assembly:directory builds broker/pom.xml - moved slf4j to common/pom.xml QPID-283 Provided better feedback from shell scripts. Provided QuickTest shell script that runs the RequestReply tests. perftests distribution - modified to allow assembly:directory builds Moved Resource Readme content relating to Tests to RunningPerformanceTests.txt git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495554 13f79535-47bb-0310-9956-ffa450edef68
* Adding a volume test script(volumetestServiceRequestingClient.sh) Bhupendra Bhusman Bhardwaj2007-01-123-39/+41
| | | | | | This script checks if all the messages were sent received back successfully. ServiceRequestingClient.java and ServiceProvidingClient.java modified to add a message identifier to match the request and response message. log4j file modified to create a log file git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-282Martin Ritchie2007-01-121-1/+1
| | | | | | Updated AMQConnection and AMQBrokerDetails to check the host:port and add tcp:// if there is no protocol specified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-32: fixed test not to use string properties on the messages with timestampsRobert Greig2007-01-112-14/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-32 : Add option to run tests with persistent messagesRobert Greig2007-01-102-18/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495020 13f79535-47bb-0310-9956-ffa450edef68
* amended ping tests to allow variation of message sizesBhupendra Bhusman Bhardwaj2007-01-103-13/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-278 Add PerfTests into build and distributionMartin Ritchie2007-01-106-2/+718
| | | | | | | | | | perftests are now built as part of the main build. The resulting jar contains both class and java files. The binary distribution also includes a perftests folder in the bin directory which contains scripts to run the tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494861 13f79535-47bb-0310-9956-ffa450edef68