Add new tests

We can extend the set of tests that is supplied with IBM MQ Explorer to include your own custom tests.


The set of tests that is supplied with IBM MQ Explorer can be extended to include your own custom tests so that we can teach the IBM MQ Explorer to provide feedback that is directly relevant to your uses of IBM MQ.

The following topics provide more information about how to write your own tests:

Some sample source code is provided to assist with writing tests for IBM MQ Explorer:

  • Sample 1. A skeleton test that returns static data, as an example of the WMQTest interface.
  • Sample 2. A sample test that checks queue names against a defined naming convention, outputting errors if any queues are found that do not meet the standard.
  • Sample 3. A sample test that shows an asynchronous approach to requesting and processing data.
  • Sample 4. A diagnostic tool. Use this code in place of real test code to write to the console the objects that will be accessed by the real test code.