summaryrefslogtreecommitdiff
path: root/java/testkit/testkit.py
Commit message (Collapse)AuthorAgeFilesLines
* made minor changes to get testkit running again.Rajith Muditha Attapattu2010-06-081-26/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952509 13f79535-47bb-0310-9956-ffa450edef68
* Added improved error handlingRajith Muditha Attapattu2009-12-011-13/+16
| | | | | | | | | 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
* Uncommented the other two testsRajith Muditha Attapattu2009-11-191-2/+2
| | | | | | | | 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 log4j config to the test launcherRajith Muditha Attapattu2009-11-181-8/+6
| | | | | | | | | 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
* changed address syntax to permit more complex subjects, added escaping, ↵Rafael H. Schloming2009-11-131-2/+2
| | | | | | improved error reporting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
* testkit.py provides the plumbing for running longer duration tests using the ↵Rajith Muditha Attapattu2009-11-111-0/+215
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