Apache Qpid Interop Test

Clone this repo:
  1. 5007672 QPIDIT-125: Minor addition to QUICKSTART.md file by Kim van der Riet · 5 days ago master
  2. 774f256 QPIDIT-128: Changed construction of JAVA_HOME to be compliant with Java norms, also added warning when shim jar file is not found at start of JMS tests. by Kim van der Riet · 5 days ago
  3. 0c12806 QPIDIT-133: Removed float test values 'inf', '-inf' from amqp-complex-types-test becasue of Proton bug by Kim van der Riet · 5 days ago
  4. 3e79769 QPIDIT-127: also override up to surefire 2.21.0 to resolve Java 10 compatibility issue by Robbie Gemmell · 9 days ago
  5. 0dee2b3 QPIDIT-125: try adding a sub-heading for visibility and separation by Robbie Gemmell · 9 days ago

Qpid Interop Test Suite

This directory contains the Qpid Interop Test suite.

Documentation

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

Issues are tracked in the Apache JIRA at https://issues.apache.org/jira/browse/QPIDIT

Support

Support may be obtained from the qpid-users mailing list users@qpid.apache.org.

Installing and Running

See the QUICKSTART file for building, installing and running instructions.

Writing new shims for a test

A detailed description of this process is contained in the docs directory. The very short version of this is as follows:

  1. 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.

  2. 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.

  3. Add an instance of your new shim class to SHIM_MAP keyed against its name.

That's it!