Testing a Portion of the Flow

Frequently, it is preferable to test a single node, or a small portion of the flow, against many conditions. Examples include testing all wired edges of a switch node, or testing the error handling of a catch node. The goto and set document commands make it possible to test a portion of a flow repeatedly without restarting the flow, as shown below.

goto node1
set document -file doc.xml
set register reg1 val1
step
show document
show registers
# repeat the commands to test node1 again