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


Testing a message flow that uses JMS nodes

You can configure settings in the Test Client for testing message flows that uses JMS 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 JMS 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 JMS Settings and select the appropriate options for your test. You can add references to the client JAR files used to create the JMS connection.

    To add a reference to these JAR files into your test configurations, complete the following steps.

    1. Click Configure preference settings. The Test Client preferences are displayed.
    2. Click Add and locate the JAR files in your file system.
    3. Click OK to add the reference to the JAR files.
    4. Ensure that Use preference settings is selected on the Configuration tab.
  4. To create a JMS header, click JMS Message Headers, then complete the following steps.
    1. Click Add and enter a unique name for the header.
    2. Edit the header settings.
    3. Click the Events tab and select the appropriate header for your message from the Header list.
  5. 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.
  6. Create a test message to test your message flow by following the instructions in Creating and editing a test message.

af52121_.htm | Last updated 2017-07-17 12:45:27