Hi All,

I have checked in a skeleton for a longer running test suite for the
java client at rev 834754 in Qpid trunk.
The test-suite is utilizing the new multi-broker test framework
developed by Alan.
The multi-broker framework is based on the python test framework (for
more details please see Alan Conways email on "Python framework for
cluster (and other multi-broker) tests".

The goal of the test suite is to facilitate more longer duration
soak/stress style tests utilizing JMS clients, running in different
VM's against a multiple brokers.

How to run the tests
=================
The test suite could be run as,
1). An ant target.  Ex "ant testkit" -- currently not operation due to
some issues under jython.
2)  A standalone script.

Method 1 is to enable these tests to run in an automated build environment.
This target is not run by default.

Method 2 is to run these tests in a standalone mode.

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 from
the testkit dir 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.

There are a lot of things that needs to be improved.
Your suggestions/criticisms are equally welcomed.

Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to