On completion of a test, you can review the result in the Intelligent Mapper Test Results dialog:
The Intelligent Mapper Test Results dialog displays information in the following tabs:
Tabs | Description |
---|---|
Messages | Displays the test results, including the test messages and any message errors. |
Errors | Displays any errors that occur while testing a mapping project. |
Logs | Displays any log entries generated after the test has completed. |
Messages
The Messages tab enables you to compare the actual output messages resulting with the corresponding expected output messages for every input message in your test in message panels:
Message Panels | Description |
---|---|
Input Message | Displays the input test messages. |
Expected Output Message | Displays the expected output messages. |
Actual Output Message | Displays the actual output messages. |
Test Result | Indicates the result of the test for each output message pair:
|
Each input message is displayed alongside its associated output message. If you have more than one input and/or output message, use the arrows to navigate between the messages results. If there are no output messages, the relevant panel header indicates this.
Message panels display the following information for input and output messages:
Panel | Description |
---|---|
Message Properties | Displays the message properties. |
Message Body | Displays the message body based on the message mode and encoding selected. The diff between an expected output message body and the actual output message body is highlighted as follows:
Changes to whitespaces and trailing empty fields are ignored and not highlighted. |
Message Errors | Displays message errors (for expected output messages only). |
Input Message
You can perform the following actions on input messages from the Input Message panel:
Action | Description |
---|---|
Mode | Enables you to display messages in one of four message modes:
|
Encoding | Enables you to set the encoding of message body. |
Expected Output Message
You can perform the following actions on expected output messages from the Expected Output Message panel:
Action | Description |
---|---|
Mode | Enables you to display messages in one of four message modes:
|
Encoding | Enables you to set the encoding of message body. |
Save Message | Enables you to save the output message to an EDI, XML or text file. |
Actual Output Message
You can perform the following actions on expected output messages from the Actual Output Message panel:
Action | Description |
---|---|
Save Message | Enables you to save the output message to an EDI, XML or text file. |
Set as Expected | Enables you to set the actual output messages to the expected output messages (including the message body, message properties, and message encoding) for the purposes of testing. |
Test Result Information
The test result is further elaborated upon as a series of message errors and warnings (if applicable) in the Test Result Information panels for expected output messages and actual output messages.
Message errors typically indicate that the actual output message does not match the expected output message. Message warnings indicate, for example, you have manually set the expected output result to expect message processing errors or to ignore message property validation.
You may encounter the following types of message errors:
Message Error Type | Description |
---|---|
Unmatched Message Definitions |
The actual output message definition does not match the expected output message definition. |
Unmatched Message Properties |
The actual output message properties do not match the expected output message properties. |
Unmatched Message Encoding |
The actual output message encoding does not match the expected output message encoding. |
Unmatched Message Body | The actual output message body does not match the expected output message body. |
No Actual Output Message Present |
An actual output message is expected, but none has been encountered. |
No Expected Output Message Configured |
No expected output message has been configured for comparison to the actual output message. |
No Expected Errors |
A fatal error is expected, but none has been encountered. |
Unexpected Errors |
A fatal error is not expected, but one has been encountered. |
No Actual Output Message Produced | An actual output message could not be produced, for example due to a fatal error that has aborted processing. |
You may encounter the following types of message warnings:
Message Warning Type | Description |
---|---|
Expect Error | The user expects the test to identify a fatal error when processing the message. |
Ignore Properties | The user has set message property validation to be ignored in the test. |
Intelligent Mapper Testing Errors
The Errors tab displays any fatal errors (exceptions) that occurred when testing the mapping project with test messages. The errors are typically the same as those that can appear during filter testing.
Intelligent Mapper Testing Logs
The Logs tab displays any log entries generated while executing the test. The Logs tab is similar in function to that used in filter testing.