Comparing input and output payload

After performing the test, you can compare script transformation and enrichment by comparing the input and output of the script to identify changes. Comparisons are available for any variable inputs and outputs where the selected datatype is string.

After the comparison selections are completed, you are transferred to the comparison page. This page shows the input variable payload on one side and output variable payload on the other side. Comparisons are color coded to help identify the source and scope of a change.

The comparison page shows these colors:

  • The red color coding indicates the input variable payload.
  • The green color coding indicates the output variable payload.

The mini map feature accompanying each payload helps identify differences throughout the payloads and provides quick scrubbing through the payload.

To compare the input and output payload:

  1. Switch to the Testing tab in the Script details page.
  2. In the Input Variables area paste or upload the input data for particular input or output variables.
  3. Click Test.
  4. After the test is complete, click the Compare icon above either the input variable or output variable.
  5. Select the variable to compare to.