Use the Enter Sample Data section to either enter test data or load data from a file.
To enter test data:
In the WorkSpace Navigator, double-click the message definition you want to work with.
The message definition opens in the Message Definiton Editor.
Select the Test Message tab.
Enter test data or load data from a file.
Refer to the following table for an explanation of the Enter Sample Data section.
Enter Sample Data section
Field | Explanation |
---|---|
Data Source | Displays the file path of the test data file you selected using the Browse button. |
Browse | Lets you specify the test message file. You do not have to load the file unless you need to edit it or view its contents. |
Test Data tab | Displays the test data from the data source file in text format. You can edit the data directly in the field. NoteIf your message contains data of an uneditable datatype, that is, any of the endian, IBM, or binary datatypes, the text displayed in the Test Data tab will not accurately represent the test data. In this case, the Test Data tab label appears as Test Data (Read-only), indicating you cannot edit the data. |
Hex View | Displays the test data in hexadecimal notation. |
Load | Loads or reloads the test data from the data source file so you can edit or view it, overwriting any edits you made in the Test Data tab. |
Save | Saves the current test data as a new data source file. |
Clear All | Resets the test data field and clears parser and serializer test results. |
Next: Test the parser, if applicable.
Setting Miscellaneous Message Designer Preferences
Supported Datatypes for HL7 Messages
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com