Testing an Adapter Configuration

After you validate an adapter configuration, you can test it by using the Adapter Launcher tool.

Prerequisites

Ensure that the following conditions are met:
  • TIBCO ActiveMatrix Adapter for Database is installed on your machine.
  • The adapter configuration that you want to test has been validated. For details, see Validating an Adapter Configuration.

Procedure

  1. Open the Adapter Launcher tool in one of the following ways:
    • From the main menu, click Run > Run Configurations.
    • From the toolbar, click the down arrow of the button and click Run Configurations.
  2. In the Run Configurations window, right-click Adapter Launcher, and click New.
  3. In the displayed configuration panel on the right, specify the options as described in the following table. Then click Apply.
    Name Description
    Name Name of an adapter launcher for each adapter configuration.
    Note: After you select an adapter configuration to run, the name of the selected adapter configuration is automatically filled in the Name field.
    Adapter Configuration Click Browse to select the adapter configuration you want to test. All adapter configurations in this workspace are displayed.
    Adapter Executable Select an adapter executable from the list.

    The adapter executable to run your packaged adapter is shown from a list of choices (each matching a particular installation).

    Working Directory Click Browse to provide the directory. The Adapter Launcher tool creates the necessary runtime and support files required by the adapter in this directory.

    For best results do not edit the files in the working directory. Ensure that the disk where the working directory is located contains enough space to save multiple copies of your project.

  4. Click Run.
    When the adapter configuration is running, the display changes to the Console view. You can now observe the adapter as it is running. Click the stop button when you want to stop the adapter.
    Note: If you specified the Working Directory field of Adapter Launcher in adapter preferences, you can directly run the adapter configuration by clicking Run As > Adapter Launcher.