<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/qpid-python.git/java/testkit/testkit.py, branch rajith_tmp</title>
<subtitle>git.apache.org: qpid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/'/>
<entry>
<title>Added improved error handling</title>
<updated>2009-12-01T00:41:44+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-12-01T00:41:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=ab4f5a70d1b6a0e00cb5bbc9edc1d3215e77cf5d'/>
<id>ab4f5a70d1b6a0e00cb5bbc9edc1d3215e77cf5d</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Uncommented the other two tests</title>
<updated>2009-11-19T23:02:07+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-11-19T23:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=3c9a8fdd71d8d1e29de4da3126cf35e1a88a069b'/>
<id>3c9a8fdd71d8d1e29de4da3126cf35e1a88a069b</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Added log4j config to the test launcher</title>
<updated>2009-11-18T19:36:38+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-11-18T19:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=6a87d58f628d6939b894f55d031025bb3950f8b8'/>
<id>6a87d58f628d6939b894f55d031025bb3950f8b8</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>changed address syntax to permit more complex subjects, added escaping, improved error reporting</title>
<updated>2009-11-13T15:33:04+00:00</updated>
<author>
<name>Rafael H. Schloming</name>
<email>rhs@apache.org</email>
</author>
<published>2009-11-13T15:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=4e476344c551c4c25e27047316690ee5b80dcefb'/>
<id>4e476344c551c4c25e27047316690ee5b80dcefb</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>testkit.py provides the plumbing for running longer duration tests using the multi-broker framework defined in brokertest.py</title>
<updated>2009-11-11T03:28:39+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-11-11T03:28:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=aeec92612398e5d55f42168d54bd0d80a49a134e'/>
<id>aeec92612398e5d55f42168d54bd0d80a49a134e</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
