Importing a test project into the IBM App Connect Enterprise Toolkit for editing

When you have generated tests for your message flow nodes, you can import them into a test project in the IBM® App Connect Enterprise Toolkit, where you can extend them with additional checks. You can also add further tests to the test project.

Before you begin

Read the following topics:

About this task

The test project is associated with the specific application that you want to test. The following instructions assume that your test project is imported into the workspace that contains the application to be tested.

Procedure

Import the test project into the IBM App Connect Enterprise Toolkit and then create a BAR file, by completing the following steps:

  1. Create an empty test project by right-clicking in the Application Development view and then selecting New > Test Project.
  2. Right-click the new test project, and then select Import > Import generated test files into a test project.
  3. Click Browse and navigate to the test project folder (for example, /tmp/TestProject1).
    To import the entire test project, select the test project directory to import all the Java source and resource files; when you are prompted to overwrite existing files, select No to all. To import only selected test and resource files, use the navigator to select the required files.

    The project references from the imported test files are combined with any existing application references on the test project.

  4. Click Finish to import the messages into the test project.