Testing maps during iterative development

You can test XML maps during development by using one or more sample input files and the Test Map view.

Before you begin

To use the Test Map view, you must associate at least one sample input file with the map you want to test, as described in the Using a sample input file topic. Note: Only maps with element inputs can be tested. If you create a submap on a type, you cannot test the map in isolation. You can test the map only by invoking it from a parent map.

About this task

To test a map during development:
  1. Create the transforms you require.
  2. Click Test Map.
    Show Test Map View button
    The Test Map view opens with the sample input file on the left side. If you have more than one sample input file associated with the map you can select it from the Input Files list.
    Test Map View
  3. Add more transforms as needed.
  4. To update the output file, click Run Transformation. The result of running the sample input through the map will be shown on the right side of the Test Map view.