Testing MFL Transformations

A Message Format Language (MFL) document is a specialized XML document used to describe the layout of binary data. MFL resources support two transformations. Each transformation only accepts one input and provides a single output: XML to binary, or binary to XML.

Table 30-5 describes MFL configuration options.

Table 30-5 Configuring MFL Options 
Section
Description
Name
The name of the resource being tested.
Supported transformations
To select a specific transformation, select the transformation name.
Test Console Actions
Execute
Apply the transformation.
Reset
Reset the input field (for XML to binary, the sample XML document is reset).
Close
Cancel the current operation.
MFL Transformation Configuration
XML Input
Required for XML to binary transformations:
The XML schema for the MFL document can be inferred. A sample XML document is automatically entered in the text field.
The XML input can be file-based or text-based. Referencing a file for input takes precedence over textual input. Browse and select the file you want to use in your test.
Binary Input
Required for binary to XML transformations:
The binary input can be file-based or text-based. Referencing a file for input takes precedence over textual input. Browse and select the file you want to use in your test.

You can test the design time or the run time.

  1. Click Activate if you want to test the run time. Do not activate the session to test the design time.
  2. Select Resource Browser > MFLs to display the Summary of MFL Files page.
  3. Under Actions, click the Launch Test Console icon associated with the resource you want to test. The test console opens the Resource Testing page.
  4. Select the transformation you want to test.
  5. Configure the test data for the MFL resource. For more information, see Table 30-5.
  6. Click Execute. The Resource Testing page displays the results.
  7. To retest, click Back. You can close the test console, modify, and retest the resource.