After you create test data for a message definition, you can test the performance of its serializer using the Test Message tab of the Message Definition Editor. The output of this process is a serialized data file that contains the test data. The serializer test data can be obtained by testing the parser or by opening the saved results of a parser test.
To test the serializer:
In the WorkSpace Navigator, double-click the message definition you want to work with.
The message definition opens in the Message Definition Editor.
Select the Test Message tab.
To create test data, do one of the following:
Test the parser to create data to serve as serializer input.
Load test data from a file:
In the Test Serializer section, click Browse.
Open one of the following:
A .jso file saved from a previous parser test.
An XML instance document saved from a previous parser test.
To save parser test results, click Save in the Test Parser section.
(Optional) In the Test Serializer section, select the Trace Performance check box to display performance data for the serializer logic.
(Optional) In the Number of iterations field, enter the number of test iterations, for example, 1000.
Click Test.
If successful, the serialized data is displayed in the results box with the following statistics.
(Optional) Use the arrow buttons to navigate within the test results.
(Optional) Click Save to save the serialized wire format data to a text file.
Select the Performance Report tab to view the test performance results.
(Optional) To copy and paste text from the performance report, select text in the Performance Report tab and select Edit|Copy from the main menu bar.
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