Skip to content

Test node input and output

Testing nodes allows you to:

  • load data and parameters from input nodes
  • Use input parameters in node configuration
  • transform this input data, based on the node configuration, into output data

Before you begin#

How do I test a node?#

A node can be tested via the pathway canvas or the node editor.

Location Method Additional information
Pathway canvas Mouseover the node > Click in the popup menu
Node editor Click Test step May not be available

How do I map input parameters to my node configuration fields?#

Input parameters can be mapped to node configuration using drag and drop after performing these steps:

  • Connect two nodes together
  • Double-click the second node in the sequence to view the editor
  • Verify the input panel lists the input node name
  • Click Schema at the top of the input panel
  • Click Execute previous node

At this point you can drag and drop the loaded inputs to appropriate fields

How do I edit or add custom output values?#

Loading custom JSON values to the output panel of a node allows you to generate predictable results and reduce the load on third-party services which may incur costs.

  • Double-click the node to open the editor
  • Click Output on the output panel if it is available
  • Click insert test data in the output panel
  • Enter your values as valid JSON
  • Click Save

How do I edit custom output values?#

  • Double-click the node to open the editor
  • Click Output on the output panel if it is available
  • Click the in the Output panel
  • Enter your values as valid JSON
  • Click Save

How do I retain output values for subsequent tests?#

Output values can be pinned to a node so they remain the same for subsequent tests.

Location Method Additional information
Node editor Click May not be available on all nodes
Pathway canvas Mouseover the node > Click > Pin May not be available for all nodes

How do I view execution logs?#

  • Double-click the node to open the editor
  • Click Logs in the output panel