tar xzvf OpenAMQ-1.3d1.tar.gz cd OpenAMQ-1.3d1 IBASE=$PWD/ibase sh build.sh
We need to install archives and headers to system directories
sudo mkdir /usr/local/openamq sudo mkdir /usr/local/openamq/lib sudo mkdir /usr/local/openamq/include sudo cp ibase/lib/*.a /usr/local/openamq/lib sudo cp ibase/include/*.h /usr/local/openamq/include
tar xzvf json-c-0.9.tar.gz cd json-c-0.9 ./configure make sudo make install sudo ldconfig
Testrunner-lite using OpenAMQ and JSON for event messaging can be found from a testrunner-lite clone in branch multidut.
In this proof of concepts, a separate testrunner-lite processes are used to run tests on each DUT. This produces multiple result XML files and requires a tool which is able to combine the results.
Testrunner-lite is able to send and receive events through OpenAMQ message broker. Event data is serialized in JSON format and data is carried in the body of AMQP message.
Currently special test steps (ones with event attribute) can be used to send an event or wait for an event. This way execution of two distinct test runs can be synchronized. Also test steps run on DUT may generate/receive events, thus enabling communication between testrunner-lite or other DUTs.