Test Client Events tab

You can use the Events tab in the Test Client to edit the properties and content of your test messages. You also view test events in the Events tab when you run the test.

Purpose

Use the Events tab to edit and send the test messages, and to monitor the results of the test.

Message Flow Test Events

The Message Flow Test Events section of the Events tab displays the status and history of the test execution:
Invoke Message Flow
The Invoke Message Flow event starts the selected message flow. The message flow selection is defined by the selected message flow input node. Invoke Message Flow can also be the start of a new test execution with an empty test message. You can enter the message content and start the execution.
Starting
The Starting event indicates the beginning of the test execution.
Sending Message
The Sending Message event indicates that the message is being sent.
Monitor
The Monitor event indicates the message was received on an output node monitor.
Stopped
The Stopped event indicates that the test execution has been stopped. The test execution can be stopped either by the Test Client or by the user.

Events tab actions

The following actions can be initiated on the Events tab, by right-clicking in Message Flow Test Events:

Invoke
Restarts the current message. To restart a previously started test message, right-click the message flow and click Invoke.
Reinvoke
Duplicates the current message. To duplicate a previously started test message, right-click the message flow and click Reinvoke.

Buttons on the Events tab

Several buttons are provided on the top-right of the Events tab:
Invoke
Starts a new Invoke Message Flow event where you can enter a request message and start the test execution.
Start of changeSaved MessagesEnd of change
Start of changeDisplays the Data Pool editor in which you can select values that you have used in a previous test session. You can use the Data Pool editor to save or retrieve values for use during tests. When you use the Data Pool editor to save or retrieve values, the values are saved to, or retrieved from, a global data pool in your workspace. By selecting Saved Messages, you ensure that you are always working with the same set of values regardless of how many Test Client instances or test configurations you are using in your tests.End of change
Stop
Stops the current test.

Detailed Properties

The Detailed Properties section varies according to the different events that you have selected in the Message Flow Test Events pane. The Detailed Properties section displays details of the current event type. The default details are:
  • Message Flow. The name of the message flow being tested.
  • Input node. The input node to which the test message is being sent.
Message Content
Message Content either displays the test message or the output message from a test event. If you are creating a new test message, you can select either the XML Structure editor or the Source editor to edit the test message. The XML Structure editor is only available if the input node selected on the message flow is expecting an XML message, and an existing message definition is associated with the message flow.
XML Structure editor

Use the XML Structure editor to view and edit an XML test message derived from an associated message definition. You can change the content of the message by editing the entries in the Values column. Right-click to display a menu with options to change the content of the XML structure, including adding and removing elements. To view the generated source code, click Show Generated Source. Click Saved messages to display a list of saved error messages.

Source editor
Use the Source editor to compose and send test messages if you want to import a test message, or if the test message is not in XML format. To import a test message from a file, click Import Source.
Related tasks
Testing a message flow
Related reference
Test Client
Test Client Configuration tab
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:53

af52141_