How to test your components and pipelines

About

  • Use the Pipeline Testing page to test your configured pipelines.

  • This page enables you to confirm stages are configured correctly and the expected output properties are returned.

Configuration

On the Pipeline testing page, you can configure whether you want to test a specific pipeline, component or the entire configuration. To configure pipeline testing, do the following:

  1. In the Test Target section, select one of the following options:
    • Test the whole configuration: Tests all enabled pipelines.
    • Test a specific pipeline: Only tests the selected pipeline from the dropdown list.
    • Test a specific component: Select the component you wish to test from the drop-down list.
      • Skip trigger: If selected, a component that uses triggers, such as Microsoft Text Analytics will ignore triggers.
  2. In the Data section, specify the following:
    • in the Select Pre-Recorder Component Data field, you can select a .xml file from the drop-down list If you previously captured test data using the Recorder component.
    • You can also enable the Show Raw Rules Engine Tags checkbox to display the raw rules engine tags in the test results.
  3. If you do not want to use a pre-recorded data type, in the Paste Raw Text Data section, enter sample text in the text box or drag and drop a file which will be used for testing.
  4. In the Logs section, in the Log level field, select the desired log level from the drop-down (Error, Warning, Info or Debug). The Testing page displays logging info after running the test.
  5. Click the Start Test button to run the test using the selected data. 

Output Example

After click the Start Test button, your test results will display. Refer to the following for more details on each section:

  • Input Properties:
    • These are the input properties sent to be processed by the components
    • If your pipeline stage or component results in child items after processing, the child items will be displayed in a collapsible list. You can expand an individual child item to view additional details specific to it.
  • Output Properties:
    • These are the output properties returned by the component and their respective values
  • Log:
    • This is the logging information based on the log level you specified above.