After you create test data for a message definition, you can test the performance of its parser using the Test Message tab of the Message Definition Editor. You can use the resulting parser test results to test the serializer, if necessary.
To test the parser:
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.
In the Enter Sample Data section, click Browse to specify the test message file.
(Optional) In the Test Parser section, select the Trace Performance check box if you want test results output to the log.
For details, see the test statistics table in step 6.
(Optional) In the Number of iterations field, enter the number of test iterations, for example, 1000.
Click Test.
If successful, the test data is displayed in the Parse Tree with the following statistics.
(Optional) Save the parser test results for later use in testing the serializer.
Click Save in the Test Parser section.
The Save Parse Test Results dialog box opens.
Enter or select the parent folder.
Enter the file name.
Choose one of the following from the Save file as XML or serialized data object (*.jso) menu:
If you are immediately using the unedited parse results to test the serializer, you do not need to save the parse results.
Save as XML to save the parse test results as an XML document. Save as XML only if you you need to open the data in an application other than Sybase WorkSpace.
Save as serialized data object to save the parse test results as a serialized data object. Always save as a serialized data object unless you need to open the data in an application other than Sybase WorkSpace.
The parse test results file is saved with a .jso extension.
Click OK.
Next: Test the serializer, if your application requires one.
Setting Miscellaneous Message Designer Preferences
Developing Custom Classes for Transforming Message Definition Fields
Troubleshooting Custom Wire Formats
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com