| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032733 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
I will be moving the source also into the tools module in subsequent commit.
The goal is to have all tools in a single location.
The perftest script and the testkit script are very good tools for release testing.
These scripts will also be used in downstream packages for the same purpose.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032640 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1004496 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
explicitly specified location.
Moved common functionality into base class and helper methods.
Added several test cases for the ConcurrencyTest class.
(Temporarily removed the FailoverTests.)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002928 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002448 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
address string when invoking a receiver or a sender.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002447 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996393 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
gentools/README.txt, which described Velocity.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957201 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952509 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
and Consumer are now housed under the tools module.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918790 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891416 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Add a missing memberUpdate on the transition to CATCHUP mode.
The inconsistent error was caused because the newly updated member
did not have its membership updated and so was missing an failover
update message that the existing members sent to a new client.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888874 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Modified the script to adapt to changes made by Alan in brokertest.py
The testkit can now receive and handle errors published by the JMS sender or receiver via an error queue.
For example if the test detects and out of order message it will notify the test framework and it will use that information to throw an exception with the captured java stack trace.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885635 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
relative paths could create issues when running the script in automated build environments.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885633 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Modified the scripts to work out the errors.
It's now in a reasonable state to start expanding the tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882346 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multi-broker framework defined in brokertest.py
For the time being testkit is carrying it's own copy of brokertest.py. The goal is to use the one available under the /python folder asap.
Testkit is intended run as,
1) an ant target via "ant testkit" (to allow automated testing)
2) standalone against a release
If running standalone you need to have the qpid/python files in the python path and $QP_CP should be set to the classpath that contains the qpid jars.Assuming $PYTHON_DIR points to the python folder you could run it as follows.
$PYTHON_DIR/qpid-python-test -m testkit
The ant target is currently not operational as there seems to be a few issues when running under jython.
Tests
=========
Currently only 3 tests are added.
1. test_multiplexing_con
2. test_multiplexing_con_tx
3. test_failover
All tests are using the generic Sender and Receiver via the TestLauncher checked under the testkit module.
Currently there are occasional test failures for test_multiplexing_con_tx
The 'test_failover' test is currently failing due to a known bug.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834754 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
QpidBench.
Modified the testkit build.xml to add tools as build dependency as some of the classes in testkit will be using MessageFactory
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834722 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777927 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772491 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@689937 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680803 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Added the ability to pass in JVM ARGs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674976 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Added the absolute path to setevn.sh, so that the following scripts can be called from any location.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674392 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Made minor modifications to the scripts and added a log4j file for the tests.
The scripts are now modified to use the JAVA_HOME.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674391 13f79535-47bb-0310-9956-ffa450edef68
|
|
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
|