Creating and editing connector profiles

Test Connector uses profiles to store the information it needs to emulate a connector. You must create a profile for each connector you want to emulate. You can edit and delete existing profiles.

Saving the connector definition to a file

To emulate a connector using Test Connector, you must save the connector definition to a file. Do the following to save a connector definition to a file:

  1. Open the connector definition in Connector Configurator.
  2. Select File > Save As > To File from the menu bar.
  3. Navigate to the directory in which you want the file saved, type a name in the File name field, ensure that the value Configuration (*.cfg) is displayed in the Save as type drop-down menu, and click Save.

    Connector Configurator saves the connector definition to a file with the specified name.

Creating a new profile

You must create a profile for any connector you want to emulate in Test Connector. The profile specifies information such as the name of the connector, the configuration file to be used, and the type of integration broker with which the connector communicates (you must always set the type toICS). To create a new connector profile, do the following:

  1. Select File > Create/Select Profile from the menu bar to display the "Connector Profile" window.
  2. In the "Connector Profile window", select File > New Profile from the menu bar.
  3. In the "New Profile" window, click Browse and then navigate to the configuration file for the connector you preparing in Saving the connector definition to a file.
  4. Type the name of the connector in the Connector Name field. You must type the exact name of the connector definition as it exists in the integration broker repository. For the adapter for JText, for instance, you must type JTextConnector, without any spaces between the words JText and Connector, and with each letter being the proper case.
  5. Set the integration broker value in the Broker Type drop-down menu toICS.
  6. Do the following:
    1. Type the name of the InterChange Server Express instance in the Server field.

      Be sure to type the name precisely; it is case-sensitive and Test Connector will not be able to communicate with InterChange Server Express if the name is not correct.

    2. Type the password for the admin user account in the Password field. The default password is null.
  7. Click OK to close the "New Profile" window.

    The "Connector Profile" window displays the name of the connector in the Connector column, the name of the InterChange Server Express instance in the Server column (if the integration broker is ICS), and the path and name of the connector configuration file in the Configuration File column.

  8. Click OK to close the "Connector Profile" window.

Editing a profile

Follow the steps below to make changes to an existing connector profile:

  1. Select File > Create/Select Profile from the menu bar of Test Connector or use the keyboard shortcut Ctrl+N to display the Connector Profile window.
  2. In the "Connector Profile" window select the profile you want to edit and then select Edit > Edit Profile from the menu bar.
  3. Type new values in the fields of the "New Profile" window and use the Browse button to change the configuration file as necessary to make your edits.
  4. Click OK to close the "New Profile" window.

Deleting a profile

Do the following to delete a connector profile:

  1. Select File > Create/Select Profile from the menu bar of Test Connector or use the keyboard shortcut Ctrl+N to display the "Connector Profile" window.
  2. In the "Connector Profile" window, select the profile you want to delete and then select Edit > Delete Profile from the menu bar.

Copyright IBM Corp. 1997, 2003