To obtain a SWIFT formatted message to use in testing, apply the SWIFT schema to a blank
text message.
Procedure
- In the Test Factory perspective, right-click a project or operation, and then click . The blank message opens.
- Set the Formatter field to Text.
- Right-click the text (String) field in the message and then click
Schema.
- In the Schema Selector window, Schema Type field,
select .
- Select a root from the displayed list. To select a root by number rather than name, ensure that you have highlighted one of the
displayed roots, then press Ctrl-F. A search field is displayed. Type the number (or other
identifier) for the root, and click the arrow icons to move among the matches.
- In the Content Options section, select or clear the following options as needed:
- Retain existing content
- Select this option to apply a schema or expand a field without losing the original data. If the
attempt to use the original data fails, the data is displayed with red Xs. If you clear this option,
data is cleared before the new schema is applied. In cases where the data is assumed to be retained,
this option is not displayed.
- Include Text nodes
- Select this option to generate Text nodes with the message.
- Include optional nodes
- If the schema includes optional fields, select this option to add them to the message.
Before
Rational® Integration Tester version
8.7, additional options were displayed when you applied a schema to a message:
- Accept fields in any order
- Ignore missing fields in received message
- Ignore additional fields in received message
- Enable validation of time-based fields
These options can be set in the project preferences. Click .
- Click OK. The completed message is displayed.