In this, users will learn to validate the behavior and output of specific components of Workflows before progressing to more complex configurations.
Node-level testing is a critical aspect of ensuring the reliability and functionality of workflows. This approach allows for thorough testing, early issue detection, and streamlined troubleshooting, ultimately leading to robust and efficient integration workflows.
Follow the steps mentioned below to perform Node level testing in Cobalt:
Select Node for Testing: Choose a specific node within the workflow to test.
Define Test Scenarios: Identify various test scenarios to validate the node’s functionality.
Execute Tests: Run the Workflow through Try API according to the test scenario by providing appropriate inputs to observe the behavior and output of the node.
Learn more about how Try API works in Cobalt here.
Verify Results: Compare the response obtained with the expected outcomes to ensure correctness. You can check the Node response by navigating to Logs in Cobalt > Executions > Check the Workflow logs.
Iterate and Expand: If the results match expectations, proceed to add more nodes to the workflow. If discrepancies occur, troubleshoot and retest until the node functions as intended.
By performing Node level testing, you get benefits such as early issue detection, improved debugging and enhanced reliability leading to an efficient Workflow development.
You have now successfully created and tested all the nodes of your workflow. Next Step is to perform Orchestration Level testing to check whether workflows work correctly or not.