+

Search Tips | Advanced Search

Testing your object definitions for problems

We can use the IBM MQ Explorer tests to check your object definitions for errors and potential problems.


About this task

When you define objects in IBM MQ Explorer, certain properties of the objects are mandatory and we cannot create the objects without defining those properties. However, there are several properties that are not mandatory but which we should define so that the IBM MQ configuration works, so that the configuration is easier to maintain, or for audit purposes.

The IBM MQ Explorer tests check your object definitions for errors and potential problems. Each area of IBM MQ that can be checked is defined as a discrete test; for example, there is a test to check that we have defined matching channel pairs, a test to check that we do not have more than one TCP listener trying to listen on the same port, and a test to check that multiple queue managers on the same system are not using the same or similar names. The problems found by the core tests do not always indicate a serious error and sometimes just indicate where there is potential for confusion and mistakes when administering the objects; for example, two queue managers on the same system with similar names could cause problems.

A set of tests is supplied to check the main IBM MQ object definitions (for example, queues and channels); for the complete list of IBM MQ tests, see IBM MQ tests. There are also other tests available that are supplied with other parts of IBM MQ Explorer, such as JMS administered objects.

Test results are displayed in the Test Results view, as shown in the following figure, which opens the first time that you run the tests.

We can extend the supplied set of tests to include your own custom tests so that IBM MQ Explorer can provide feedback that is directly relevant to how we use IBM MQ. For instructions and sample custom tests, see Adding new tests.

  • Running tests
    The tests in IBM MQ Explorer are run as test configurations. A test configuration contains a selection of tests and a list of objects (or types of object) against which the tests are run when you run the test configuration.
  • View test results
    We can view test results in the Test Results view, which shows the results of the last test configuration run. We can filter or sort the test results that are displayed in the Test Results view.
  • IBM MQ supplied tests
    Tests used to check the IBM MQ object definitions for problems are supplied with IBM MQ Explorer.
  • Adding new tests
    We can extend the set of tests that is supplied with IBM MQ Explorer to include your own custom tests.

Parent topic: Configure IBM MQ using IBM MQ Explorer


Related tasks

Last updated: 2020-10-04