<!doctype html> <html> <head> <title>Reviewing Mapping Project Test Results</title> <link rel="stylesheet" href="styles/site.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="styles/icons.css" type="text/css"> <script src="js/jquery.min.js"></script> <script src="tree/collapsibleTreeMenu.js"></script> <link href="tree/collapsibleTreeMenu.css" rel="stylesheet" type="text/css"> </head> <body class="theme-default aui-theme-default"> <div id="page"> <div id="main" class="aui-page-panel"> <div id="main-header"> <div id="breadcrumb-section"> <ol id="breadcrumbs"> <li> <span><a href="Rhapsody-Integration-Engine-6.5_133160975.html">Rhapsody Integration Engine 6.5</a></span> </li> <li> <span><a href="Developing-Rhapsody_133161055.html">Developing Rhapsody</a></span> </li> <li> <span><a href="Rhapsody-Objects_133161790.html">Rhapsody Objects</a></span> </li> <li> <span><a href="Intelligent-Mapper_133161894.html">Intelligent Mapper</a></span> </li> <li> <span><a href="Mapping-Project-Editor_133161904.html">Mapping Project Editor</a></span> </li> <li> <span><a href="Testing-Mapping-Projects_133161938.html">Testing Mapping Projects</a></span> </li> </ol> </div> <h1 id="title-heading" class="pagetitle"> <span id="title-text">Reviewing Mapping Project Test Results</span> </h1> </div> <div id="content" class="view"> <div id="main-content" class="wiki-content group"> <p>On completion of a test, you can review the result in the <strong>Intelligent Mapper Test Results</strong> dialog:</p> <p><style type="text/css">/*<![CDATA[*/ div.rbtoc1565146995917 {padding: 0px;} div.rbtoc1565146995917 ul {list-style: disc;margin-left: 0px;} div.rbtoc1565146995917 li {margin-left: 0px;padding-left: 0px;} /*]]>*/</style></p> <div class="toc-macro rbtoc1565146995917"> <ul class="toc-indentation"> <li><a href="#ReviewingMappingProjectTestResults-Messages">Messages</a> <ul class="toc-indentation"> <li><a href="#ReviewingMappingProjectTestResults-InputMessage">Input Message</a></li> <li><a href="#ReviewingMappingProjectTestResults-ExpectedOutputMessage">Expected Output Message</a></li> <li><a href="#ReviewingMappingProjectTestResults-ActualOutputMessage">Actual Output Message</a></li> <li><a href="#ReviewingMappingProjectTestResults-TestResultInformation">Test Result Information</a></li> </ul> </li> <li><a href="#ReviewingMappingProjectTestResults-IntelligentMapperTestingLogs">Intelligent Mapper Testing Logs</a></li> </ul> </div> <p></p> <p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133161953/133161956.png" data-image-src="attachments/133161953/133161956.png" data-unresolved-comment-count="0" data-linked-resource-id="133161956" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="IntelligentMapperTestResults.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133161953" data-linked-resource-container-version="1"></span></p> <p>The <strong>Intelligent Mapper</strong><strong> Test Results</strong> dialog displays information in the following tabs:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Tabs</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-Messages">Messages</a></td> <td class="confluenceTd">Displays the test results, including the test messages and any message errors.</td> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-FilterTestingErrors">Errors</a></td> <td class="confluenceTd">Displays any errors that occur while testing a mapping project.</td> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-FilterTestingLogs">Logs</a></td> <td class="confluenceTd">Displays any log entries generated after the test has completed.</td> </tr> </tbody> </table> </div> <h2 id="ReviewingMappingProjectTestResults-Messages">Messages</h2> <p>The <strong>Messages</strong> 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:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Message Panels</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-InputMessage">Input Message</a></td> <td class="confluenceTd">Displays the input test messages.</td> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-ExpectedOutputMessage">Expected Output Message</a></td> <td class="confluenceTd"><p>Displays the expected output messages.</p></td> </tr> <tr> <td class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-ActualOuputMessage">Actual Output Message</a></td> <td class="confluenceTd"><p>Displays the actual output messages.</p></td> </tr> <tr> <td colspan="1" class="confluenceTd">Test Result</td> <td colspan="1" class="confluenceTd"><p>Indicates the result of the test for each output message pair:</p> <ul> <li><code><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133161953/133161955.png" data-image-src="attachments/133161953/133161955.png" data-unresolved-comment-count="0" data-linked-resource-id="133161955" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="check2_16x16.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133161953" data-linked-resource-container-version="1"></span>Passed</code> - the test has been executed, and the expected output message matches the actual output message.</li> <li><code><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133161953/133161954.png" data-image-src="attachments/133161953/133161954.png" data-unresolved-comment-count="0" data-linked-resource-id="133161954" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="error16x16.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133161953" data-linked-resource-container-version="1"></span>Failed</code> - the test has been executed, and the expected output message does not match the actual output message, or <a href="#ReviewingMappingProjectTestResults-FilterTestingErrors">fatal errors</a> have occurred while running the test.</li> </ul></td> </tr> </tbody> </table> </div> <p>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.</p> <p>Message panels display the following information for input and output messages:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Panel</th> <th class="confluenceTh"><span>Description</span></th> </tr> <tr> <td class="confluenceTd">Message Properties</td> <td class="confluenceTd">Displays the message properties.</td> </tr> <tr> <td class="confluenceTd">Message Body</td> <td class="confluenceTd"><p>Displays the message body based on the message mode and encoding selected.</p><p>The diff between an expected output message body and the actual output message body is highlighted as follows:</p> <ul> <li>Red - highlighted in the expected output message body, indicating the data removed from the actual output message body.</li> <li>Green - highlighted in the actual output message body, indicating the data added to the actual output message body.</li> <li>Yellow - highlighted in both output message bodies, indicating the data modified in the messages.</li> </ul><p>Changes to whitespaces and trailing empty fields are ignored and not highlighted.</p></td> </tr> <tr> <td colspan="1" class="confluenceTd"><a href="#ReviewingMappingProjectTestResults-MessageErrors">Message Errors</a></td> <td colspan="1" class="confluenceTd">Displays message errors (for expected output messages only).</td> </tr> </tbody> </table> </div> <h3 id="ReviewingMappingProjectTestResults-InputMessage">Input Message</h3> <p>You can perform the following actions on input messages from the <strong>Input Message</strong> panel:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Action</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd">Mode</td> <td class="confluenceTd"><p>Enables you to display messages in one of four message modes: </p> <ul> <li><code>Default Encoding</code>.</li> <li><code>Show Whitespace</code>.</li> <li><code>Raw Hex</code> ( displays the hex and ASCII message side-by-side).</li> <li><code>XML Formatted</code> (only for XML messages).</li> </ul></td> </tr> <tr> <td colspan="1" class="confluenceTd">Encoding</td> <td colspan="1" class="confluenceTd"> Enables you to set the encoding of message body.</td> </tr> </tbody> </table> </div> <h3 id="ReviewingMappingProjectTestResults-ExpectedOutputMessage"><span style="color: rgb(0,0,0);font-size: 16.0px;font-weight: bold;">Expected Output Message</span></h3> <p>You can perform the following actions on expected output messages from the <strong>Expected Output Message</strong> panel:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Action</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd">Mode</td> <td class="confluenceTd"><p>Enables you to display messages in one of four message modes: </p> <ul> <li><code>Default Encoding</code>.</li> <li><code>Show Whitespace</code>.</li> <li><code>Raw Hex</code> (displays the hex and ASCII message side-by-side).</li> <li><code>XML Formatted</code> (only for XML messages).</li> </ul></td> </tr> <tr> <td colspan="1" class="confluenceTd">Encoding</td> <td colspan="1" class="confluenceTd">Enables you to set the encoding of message body.</td> </tr> <tr> <td colspan="1" class="confluenceTd">Save Message</td> <td colspan="1" class="confluenceTd">Enables you to save the output message to an EDI, XML or text file.</td> </tr> </tbody> </table> </div> <h3 id="ReviewingMappingProjectTestResults-ActualOutputMessage"><span style="color: rgb(0,0,0);font-size: 16.0px;font-weight: bold;">Actual Output Message</span></h3> <p>You can perform the following actions on expected output messages from the <strong>Actual Output Message</strong> panel:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Action</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd">Save Message</td> <td class="confluenceTd"><p>Enables you to save the output message to an EDI, XML or text file.</p></td> </tr> <tr> <td colspan="1" class="confluenceTd">Set as Expected</td> <td colspan="1" class="confluenceTd">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.</td> </tr> </tbody> </table> </div> <h3 id="ReviewingMappingProjectTestResults-TestResultInformation">Test Result Information</h3> <p><span style="color: rgb(0,0,0);font-size: 16.0px;font-weight: bold;"> </span>The test result is further elaborated upon as a series of message errors and warnings (if applicable) in the <strong>Test Result Information</strong> panels for expected output messages and actual output messages.</p> <p>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.</p> <p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133161953/133161957.png" data-image-src="attachments/133161953/133161957.png" data-unresolved-comment-count="0" data-linked-resource-id="133161957" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="MessageErrors.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133161953" data-linked-resource-container-version="1"></span></p> <p>You may encounter the following types of message errors:</p> <p></p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Message Error Type</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd"><p>Unmatched <span>Message</span><strong> </strong>Definitions</p></td> <td class="confluenceTd">The actual output message definition does not match the expected output message definition.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>Unmatched <span>Message </span>Properties</p></td> <td colspan="1" class="confluenceTd">The actual output message properties do not match the expected output message properties.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>Unmatched <span>Message </span>Encoding</p></td> <td colspan="1" class="confluenceTd">The actual output message encoding does not match the expected output message encoding.</td> </tr> <tr> <td colspan="1" class="confluenceTd">Unmatched Message Body</td> <td colspan="1" class="confluenceTd">The actual output message body does not match the expected output message body.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>No Actual Output Message Present</p></td> <td colspan="1" class="confluenceTd">An actual output message is expected, but none has been <span>encountered</span>.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>No Expected Output Message Configured</p></td> <td colspan="1" class="confluenceTd">No expected output message has been configured for comparison to the actual output message.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>No Expected Errors</p></td> <td colspan="1" class="confluenceTd">A fatal error is expected, but none <span>has been </span>encountered.</td> </tr> <tr> <td colspan="1" class="confluenceTd"><p>Unexpected Errors</p></td> <td colspan="1" class="confluenceTd">A fatal error is not expected, but one has been encountered.</td> </tr> <tr> <td colspan="1" class="confluenceTd">No Actual Output Message Produced</td> <td colspan="1" class="confluenceTd"><p>An actual output message could not be produced, for example due to a fatal error that has aborted processing.</p></td> </tr> </tbody> </table> </div> <p>You may encounter the following types of message warnings:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh">Message Warning Type</th> <th class="confluenceTh">Description</th> </tr> <tr> <td class="confluenceTd">Expect Error</td> <td class="confluenceTd">The user expects the test to identify a fatal error when processing the message.</td> </tr> <tr> <td class="confluenceTd">Ignore Properties</td> <td class="confluenceTd">The user has set message property validation to be ignored in the test.</td> </tr> </tbody> </table> </div> <p></p> <p><span style="color: rgb(0,0,0);font-size: 20.0px;">Intelligent Mapper Testing Errors</span></p> <p>The <strong>Errors</strong> 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 <a href="Reviewing-Filter-Test-Results_133162686.html#ReviewingFilterTestResults-FilterTestingErrors">filter testing</a>.</p> <h2 id="ReviewingMappingProjectTestResults-IntelligentMapperTestingLogs">Intelligent Mapper Testing Logs</h2> <p>The <strong>Logs</strong> tab displays any log entries generated while executing the test. The <strong>Logs</strong> tab is similar in function to that used in <a href="Reviewing-Filter-Test-Results_133162686.html#ReviewingFilterTestResults-FilterTestingErrors">filter testing</a>.</p> <p> </p> </div> </div> </div> </div> </body> </html>