<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/qpid-python.git/java/testkit, 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>This is the first attempt at fixing QPID-2283</title>
<updated>2009-12-16T20:25:58+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-12-16T20:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=b2d71ba7bf6ea959b8c1cdf8396f4102c4c37960'/>
<id>b2d71ba7bf6ea959b8c1cdf8396f4102c4c37960</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891416 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@891416 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-2253 -  Cluster node shuts down with inconsistent error.</title>
<updated>2009-12-09T16:58:51+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2009-12-09T16:58:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=c87bce67ac12ee37f8257efd02ab62fe19336b32'/>
<id>c87bce67ac12ee37f8257efd02ab62fe19336b32</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<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>Modified the script to use absoulte paths when creating the classpath as relative paths could create issues when running the script in automated build environments.</title>
<updated>2009-12-01T00:38:28+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-12-01T00:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=5ed8423e696661ca3d68bd8cae03108e408d26c9'/>
<id>5ed8423e696661ca3d68bd8cae03108e408d26c9</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885633 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@885633 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>
<entry>
<title>Moved MessageFactory to the tools module.</title>
<updated>2009-11-11T00:21:27+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-11-11T00:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=01322ff7f9771a249bce5eb18810f09fcf9bee57'/>
<id>01322ff7f9771a249bce5eb18810f09fcf9bee57</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Added the LatencyTest and PerfTest kit under the tools modules alongside QpidBench.</title>
<updated>2009-11-11T00:17:29+00:00</updated>
<author>
<name>Rajith Muditha Attapattu</name>
<email>rajith@apache.org</email>
</author>
<published>2009-11-11T00:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=85f88d56dcdc5f49e1c63245f5d0e3e96da5d3f3'/>
<id>85f88d56dcdc5f49e1c63245f5d0e3e96da5d3f3</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
