tag | e447b2a8b62e0203b51189483eecc324b136e722 | |
---|---|---|
tagger | Kim van der Riet <kpvdr@apache.org> | Fri Sep 07 11:59:29 2018 -0400 |
object | 1ab2fd1d87ff009fedf7ef175c69b6f5c98fc4c8 |
QIT released version 0.2.0
commit | 1ab2fd1d87ff009fedf7ef175c69b6f5c98fc4c8 | [log] [tgz] |
---|---|---|
author | Kim van der Riet <kpvdr@apache.org> | Fri Aug 10 11:19:02 2018 -0400 |
committer | Kim van der Riet <kpvdr@apache.org> | Fri Aug 10 11:19:02 2018 -0400 |
tree | 6d4cf64debe41765b576ac463e77166995c1d833 | |
parent | b20d8ca103d8f5b16ad6d491d61935b16afa6110 [diff] |
QPIDIT-136: Fix python2.7 site package path in PYTHON3PATH issue
This directory contains the Qpid Proton Client API test suite.
All files in this directory are under the Apache License - see LICENSE for details.
Source code may be obtained from Apache git server https://git-wip-us.apache.org/repos/asf/qpid-interop-test.git
A quickstart guide for building and using this test suite is contained in QUICKSTART. Detailed documentation for adding tests and using them are contained in the docs directory.
Issues are tracked in the Apache JIRA at https://issues.apache.org/jira/browse/QPIDIT
Support may be obtained from the qpid-users mailing list users@qpid.apache.org.
See the QUICKSTART file for building, installing and running instructions.
A detailed description of this process is contained in the docs directory. The very short version of this is as follows:
Write a pair of client programs using the client API under test. The first is a sender which reads the following from the command-line:
<broker address> <amqp type> <JSON string: test values> ...
and is responsible for sending messages containing the test values each in a single message in the appropriate AMQP type format.
The second client program is a receiver, and must read the following from the command-line
<broker address> <amqp type> <JSON string: num messages>
and is responsible for receiving messages from the broker and printing the bodies of the received messages appropriately decoded for type . The printed output will be a JSON string containing the identical structure to that sent to the send shim, but containing the received values.
Add a subclass for this client in src/py/qpid-interop-test/types/simple_type_test.py
derived from class Shim
and which overrides NAME
, ENV
(as needed), SHIM_LOC
, SEND
and RECEIVE
. SEND
and RECEIVE
must point to the two clients written in step 1 above.
Add an instance of your new shim class to SHIM_MAP
keyed against its name.
That's it!