Testing an event-driven flow

When your flow is complete, you can test it with real data.

Before you begin

Start IBM App Connect Enterprise Designer by running the Designer command as described in Starting IBM App Connect Enterprise Designer by running the Designer command.

Create an event-driven flow as described in Creating an event-driven flow.

About this task

When your flow is complete, you can test it with real data to identify any issues, which you need to resolve before you export the flow.

Procedure

Test your flow by completing the following steps:

  1. In the sidebar navigation menu, click Designer to open the Designer page.
    Any flows that you created before are displayed and the status of each flow is shown as "Draft (incomplete)" or "Draft (Ready to test)."

If you want to test a flow, the state must be "Draft (Ready to test)."

  1. Complete any steps that are required to complete your flow, and then check that the status of the flow is "Draft (Ready to test)."
  2. Test the flow by using one of the following methods:
      1. In the tile for the flow that you want to start, click Options to open the menu.
      2. Select Test using real data.
      3. Click Test.
      1. Click the flow that you want to start.
      2. Click Test flow.
      3. Click Using real data.
      4. Click Test.
    The status of the flow changes to "Testing" and the Activity log tab is enabled.
  3. Click Activity log to view the entries.
  4. Optional: Optionally, you can export the activity log enttries to your default download directory by clicking Export.
  5. Stop the test by clicking Stop test.
  6. In the Flow editor, click Options > View test results.
  7. Check that the applications that you connected to with the designer connector nodes are behaving as expected. For example, you might configure a Scheduler node to run at a repeating interval every minute, every day of the week, and connect it to a Slack node configured to Messages > Send message. To test this scenario, check the targeted slack channel to confirm that the configured message is received every minute.
  8. Resolve any issues that are found during testing and retest as required.

What to do next

When you finish creating and testing your flow, you can export it to your browser's default download directory by completing the steps in Exporting a flow. From the download directory, your flow is available for deployment or distribution to other users.