summaryrefslogtreecommitdiff
path: root/java/testkit/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-041-180/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* This is related to rev 1032640Rajith Muditha Attapattu2010-11-085-962/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032733 13f79535-47bb-0310-9956-ffa450edef68
* The receiver was only counting messages if dups check was on.Rajith Muditha Attapattu2010-10-061-0/+5
| | | | | | | Therefore added logic to count messages even when we are not checking for dups. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005024 13f79535-47bb-0310-9956-ffa450edef68
* A connection listener is set to all connections, to catch any connection ↵Rajith Muditha Attapattu2010-09-301-2/+10
| | | | | | level exceptions and report them via the error handler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002927 13f79535-47bb-0310-9956-ffa450edef68
* Modified the Sender and Receiver to work with the new addressing strings.Rajith Muditha Attapattu2010-09-293-130/+103
| | | | | | | | | | | You could now invoke the sender or receiver by passing an addressing string as a program argument. The sender and receiver could now be utilised more easily as a building block for scripting test cases. Modified the TestLauncher to also work with addressing strings. The Receiver was also modified to work as a durable subscriber if specified via a JVM arg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-123-43/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996393 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-121-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
* Added log4j config to the test launcherRajith Muditha Attapattu2009-11-181-0/+23
| | | | | | | | | Added shell script to run testkit.py Removed brokertest.py, instead using the version checked in under python/qpid folder by Alan. The shell scripts and the setup is work in progress, checking in now to help Alan reproduce an issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881896 13f79535-47bb-0310-9956-ffa450edef68
* Moved MessageFactory to the tools module.Rajith Muditha Attapattu2009-11-116-64/+877
| | | | | | | | | | Added a Generic Sender and a Receiver. They can be run standalone or used as a building block to create more complex tests. TestLauncher is a utility to start a sender or receiver in multiple threads with some added plumbing. Please refer to each class to see the full set of options available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834724 13f79535-47bb-0310-9956-ffa450edef68
* Removed the following files as they will be replaced by a generic Sender and ↵Rajith Muditha Attapattu2009-11-1111-1982/+51
| | | | | | | | | Receiver. The bin files and the files under o/a/qpid/teskit/perf are moved under tools. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834721 13f79535-47bb-0310-9956-ffa450edef68
* Removed extra system out statements from PerfProducer.javaRajith Muditha Attapattu2009-05-271-4/+0
| | | | | | | | Added more test cases to the perf report Uncommented and added clientid and subscription props to the testTopicD destination. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779212 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor bug in pre-creating the payload array used in random msg size ↵Rajith Muditha Attapattu2009-05-241-1/+5
| | | | | | | | | test. It now creates an array of payloads starting from zero bytes (empty payload) to msg_size-1 bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778150 13f79535-47bb-0310-9956-ffa450edef68
* The default value for message cache is set to false.Rajith Muditha Attapattu2009-05-232-6/+52
| | | | | | | | | Added the functionality to support variable message sizes using -Drandom_msg_size=true. This will create an array of payloads from 1 byte to x bytes where x is configured by -Dmsg_size=x (default is 1024). The Random number generator works of the same seed so different test runs can be compared properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777922 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 - I missed the default value for ↵Rajith Muditha Attapattu2009-05-071-1/+1
| | | | | | the system property in the previous commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772492 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 bytesRajith Muditha Attapattu2009-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772491 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1479Rajith Muditha Attapattu2009-01-138-26/+153
| | | | | | | This commit contains themodifications done to the perf test classes to use the thread abstraction patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734212 13f79535-47bb-0310-9956-ffa450edef68
* Appologies for the sudden checkin without notice, close to the release cycle.Rajith Muditha Attapattu2008-11-218-153/+26
| | | | | | | Reverting the changes back. Will attach a patch and commit after the release. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719657 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1479.Rajith Muditha Attapattu2008-11-218-26/+153
| | | | | | | | | | | | | | | For starters I have changed the IoSender.java IoReceiver.java and AMQSession.java#Dispatcher to use the Thread factory to create the threads they require. The ThreadFactory has two implimentations, the default being the java.lang.Threads. The other is the RealtimeThreadFactory which uses reflection to create threads with a specific priority. -Dqpid.thread_factory=<thread_factory_class> will decide which thread factory should be loaded. -Dqpid.rt_thread_priority=<int> specifies the gloabl real time thread priority and defaults to 20. You could also set individual thread priorities by adding the nessacery config+code changes. I have also changed the Testkit and QpidBench to use the Thread factory so you could use them for testing/benchmarking work on RT JVMs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719628 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1161Rajith Muditha Attapattu2008-10-231-0/+332
| | | | | | | | | | | The objective of the latency test is to get latency sample after the system achives steady state. It sends X messages in warmup mode (and waits for confirmation) before sending Y messages which it uses to takes measurements. It measures std dev, min, max and avg latency. The value for X should be sufficiently large to ensure that the system is in steady state to get a more acurate representation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707232 13f79535-47bb-0310-9956-ffa450edef68
* Add ASL to everywhere, to everything.Aidan Skinner2008-08-281-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@689937 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1162Rajith Muditha Attapattu2008-07-072-2/+6
| | | | | | | | Added a README file to describe what the tests are and how they can be run. Modified to consumers to print the iteration number instead of the message id. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674622 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPId-1161.Rajith Muditha Attapattu2008-07-076-11/+58
| | | | | | | | | | | Modified the soak tests to print latency samples and throughput rates for every iteration. Added run_soak_client.sh soak_report.sh as an example of how to use soak test and produce a report. Modified other scripts to add comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674569 13f79535-47bb-0310-9956-ffa450edef68
* This commit is related to QPID-1161.Rajith Muditha Attapattu2008-06-3011-0/+1598
Please refer to the JIRA for complete details. In Summary this contains a simple test kit comprising of perf and soak tests. The focus is on producing a packaged set of tests that can be easily deployed on target environment. For Quick perf report for a particular release, please run perf_report.sh which will show results for 8 common use cases in a tabular format. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672810 13f79535-47bb-0310-9956-ffa450edef68