Simulating Mappings
Using the mapping simulator, you can simulate the execution of a Mapper component or a SubFunction. You can map a layer with test data and inspect the results.
To simulate a layer's execution, click the layer's tab to open the layer and click the Simulator button
in the mapping area's toolbar. In the dialog box that's displayed, you can do the following:
- Enter test values for the input fields, execute the layer, and inspect the resulting output fields.
- Double-click an output field to display the results in a dialog box.
- Click an output field to highlight the links to the input field.
- Click a mapper function to inspect properties, parameters, inputs, and outputs.
Note
The following input fields are read-only:
- A stream's RecordNo and RecordCount
- A component's ExecuteCount and ErrorMessage
Errors simulating subfunctions: You might get an error when you test a SubFunction
, whose configuration is dependent on the run-time environment, for example, when you configure a relative path for a file-path property. The FilePath property is usually relative to the project folder. The project folder depends on the run-time environment. So, the FilePath depends on the run-time environment when you configure a relative path.
To avoid an error, you need to execute the layer by changing the file-path property to an absolute path in the input pane.