You can configure settings in the Test
Client for testing message flows
that have WebSphere® MQ nodes.
To test a message flow that uses WebSphere MQ 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 MQ Settings and select the
appropriate options for your test.
- 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.
- Click MQ Message Headers.
- Click Add and enter a unique name for the
header.
- Optional: Select Include RFH V2 Header to
define an MQRFH2 header; for further information, see Test Client Configuration tab.
- Edit the header settings.
- Click the Events tab, and select the appropriate
header for your message from the Header list.
- 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.
- Click .
- Click Message Broker
Test Client
- Ensure that Create queues of input and output
nodes of message flows when host name is localhost is
selected and click OK.
- 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.