IBM Integration Bus, Version 10.0.0.17 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Testing a message flow that has WebSphere MQ nodes

You can configure settings in the Test Client for testing message flows that have WebSphere® MQ nodes.

Before you begin

Open the Test Client by following the instructions in Opening the Test Client editor.

About this task

To test a message flow that uses WebSphere MQ nodes, complete the following steps.

Procedure

  1. Right-click a message flow and click Test Message Flow. The Test Client opens with the settings from the selected message flow.
  2. Click the Configuration tab to display the Test Client configuration settings.
  3. Click MQ Settings and select the appropriate options for your test.
  4. Click MQ Message Header "Default Header" to view the settings for the message header that is used for the test message. You can edit the options for the default header, or you can create a new header to edit by completing the following steps.
    1. Click MQ Message Headers.
    2. Click Add and enter a unique name for the header.
    3. Optional: Select Include RFH V2 Header to define an MQRFH2 header; for further information, see Test Client Configuration tab.
    4. Edit the header settings.
    5. Click the Events tab, and select the appropriate header for your message from the Header list.
  5. You can use the Test Client to create WebSphere MQ queues that are used in nodes in your message flow. To configure the Test Client to create the queues, complete the following steps.
    1. Click Window > Preferences > Integration Development.
    2. Click Integration Bus Test Client
    3. Ensure that Create queues of input and output nodes of message flows when host name is localhost is selected and click OK.
  6. Optional: Save the Test Client configuration in a .mbtest file by completing the following steps.
    1. Click File > Save. The Save Execution Trace wizard opens.
    2. Enter a name for the file, and select a project in which to save the file.
    3. Click Finish to save the file.
  7. Create a test message to test your message flow by following the instructions in Creating and editing a test message.

af52230_.htm | Last updated 2019-07-13 08:12:46