You can configure settings in the Test
Client for testing message flows
that uses JMS nodes.
To test a message flow that uses JMS
nodes, complete the following steps.
- Right-click a message flow and click Test Message
Flow. The Test
Client opens with the settings
from the selected message flow.
- Click the Configuration tab to display
the Test
Client configuration
settings.
- 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.
- Click Configure preference settings. The Test
Client preferences
are displayed.
- Click Add and locate the JAR
files in your file system.
- Click OK to add the reference
to the JAR files.
- Ensure that Use preference settings is
selected on the Configuration tab.
- To create a JMS header, click JMS Message Headers,
then complete the following steps.
- Click Add and enter a unique
name for the header.
- Edit the header settings.
- Click the Events tab and select
the appropriate header for your message from the Header list.
- Optional: Save the Test
Client configuration
in a .mbtest file by completing the following
steps.
- Click . The Save Execution Trace wizard
opens.
- Enter a name for the file, and select a project in which
to save the file.
- Click Finish to save the file.
- Create a test message to test your message flow by following
the instructions in Creating and editing a test message.