Designer 10.7 | webMethods Service Development Help | Mapping Data in Flow Services | Testing Flow Steps Before Running a Flow Service | Testing a Flow Step in the Data Mapper View
 
Testing a Flow Step in the Data Mapper View
*To test a flow step in the Data Mapper View
1. In the Package Navigator view, open the flow service for which you want to insert the required INVOKE or MAP steps.
2. Add the required flow steps, as explained in Inserting Flow Steps.
3. Select the flow step to test, and switch to the Data Mapper view.
4. In the Mapping tab of the Data Mapper view, define the required pipeline variables and transformers, and create links.
You can perform these operations in the Mapping tab as you would in the Pipeline view. For more information, see the following sections:
* About Linking Variables
* Adding Variables to the Pipeline
* Working with Transformers
5. In the Testing tab of the Data Mapper view, specify values for the input variables of the flow step in the Input Value Creation area.
You can use either of the following approaches to specify the values:
*In the Value column of the Input Value Creation area, type the required values against the corresponding variable names listed in the Name column.
*To load input values, which match the structure of the flow service's input signature, from a file; click Load, and select the appropriate file.
*To load input values from a file, and replace the flow service's input signature with structure and data types from the file; click Load and Replace, and select the appropriate file.
Note:
For more information about loading input values from a file, see Loading Input Values.
6. If you want to save the specified input values for later use, click Save.
Otherwise, directly go to Step 7.
7. To test the flow step based on the specified input values, click .
Designer displays the results of the test in the Test Outcome area of the Data Mapper view.
Depending on the results of a test execution, the Test Outcome area displays information in the following tabs:
*The Pipeline tab displays the contents of the pipeline when the test finishes executing.
*The Messages tab displays messages from Designer about the test and any exception thrown during the execution.