Test Cases

Test Cases can be used to test a workflow without connecting to any services. If you started with a workflow from the Default Workflow Studio, it came with a variety of pre-written scenarios.

On the Test Cases subtab, you run your workflow through a variety of scenarios to ensure it can complete its tasks, given specified arguments and criteria.

Click on a test case to highlight it in green. This populates the middle pane of the interface.

There are four subtabs: Basics, Responses, Events, and Output Assertion, plus a Draw Desired Path button and a Run Test button.

  • Draw Desired Path: This highlights the paths covered by the current test case.

  • Run Test: This initiates the current test case.

    NOTE: If you want to run all test cases, click the Test All tool on the left above the list of test cases.

  • Basics: This provides high-level information about the test case, including Title, Initial State, and Nodes Visited.

  • Responses: This allows you to simulate the expected results from a web service call.

  • Events: This allows you to simulate expected service bus messages.

  • Output Assertion: After the test case is complete, this confirms an expected value in an object.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?