Parsing and Validating SWIFT MT Messages Using SwiftCheck

You can use the SwiftCheck utility to parse and validate one or more SWIFT MT message files. The utility can be used for low-level testing of SWIFT MT message files.

Procedure

  1. Navigate to the TIBCO_HOME/bw/palettes/swift/version_number/bin directory.
  2. Copy the SwiftCheck.tra file, rename the copied file as mySwiftCheck.tra, and open it in the text editor.
  3. Change the application.args property to include the metadata and validation options to use. For example:
    application.args -data TIBCO_HOME/bw/palettes/swift/version_number/bin/data -set specification_year -v TIBCO_HOME/bw/palettes/swift/version_number/samples/SampleMT.txt
    Note: For more information about the options, see SwiftCheckOptions.
  4. Save the mySwiftCheck.tra file and exit the text editor.
  5. Open a command line and change to the TIBCO_HOME/bw/palettes/swift/version_number/bin directory:
    cd TIBCO_HOME/bw/palettes/swift/version_number/bin
  6. Type the following command to start the utility:
    SwiftCheck --run --propFile mySwiftCheck.tra