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
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.