Configure a simulation suite

To edit a simulation suite in an existing DML Mapping Project:

  1. In the Project Explorer, right-click the simulation suite and select Open With > Simulation Suite editor.
  2. The simulation suite editor opens and you can modify the simulation suite.
  3. In the General Parameters section, you can select the object for which you define the simulation suite and set the error handling parameters. The simulation object can be:
    • Business Document
    • To simulate a Business Document, select a Business Documentof the same Mapping Project as the simulation suite.
    • This type of simulation suite helps you to validate if the created Business Document really describes the message in a correct way.
    • Map
    • To simulate a Map, select a Map of the same Mapping Project as the simulation suite.
    • This simulates just the selected transformation and helps you to check if the excepted output will be generated.
    • Mapping Flow
    • To simulate the whole Mapping Flow, select a Mapping Flow of the same Mapping Project as the simulation suite.
  4. In case of a Business Document or a Map as simulation object, you can select the error handling.
  5. After you defined the simulation object, add new test cases by pressing the Add button or use the context menu in the lower section of the editor. You can edit or delete the test cases.
    • You cad add a test case in the Test Case List section by selecting the Add iconbutton.
    • You can delete a test case by selecting it and pressing the Delete icon button.
    • You can change the order of the test cases by pressing the Move up or Move down button.
    • To edit a test case, use the Simulation Parameters section.
  6. In case of a Business Document as simulation object, you need to select only the input file. You can configure the name of the test case.
  7. In case of a Map as simulation object, you need to select the input and output file. You can configure the name of the test case.
  8. In case of a Mapping Flow as simulation object, you need to select the input file and the list of the output files.
  9. Select Compare output to compare the generated output of the simulation with the specified expected output. You have to provide for each output file also an expected output file.
  10. To specify the expected output, enter the name of the expected output file or use Browse to find it and click OK.
  11. The test case can pass successfully only if the generated output matches the expected output. If not, the test case will be marked as failed.

The input, output and expected output files can be searched either in the workspace or on the disk. You can also enter the path names directly.

Related topics

Simulate your DML Mapping

Create, configure, and launch a simulation suite

Related Links