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.
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:
- Open the connector definition in Connector Configurator.
- Select File > Save As > To File from the menu bar.
- 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.
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. To create a new connector
profile, do the following:
- Select File > Create/Select Profile from the menu bar to
display the "Connector Profile" window.
- In the "Connector Profile window", select File > New
Profile from the menu bar.
- 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.
- Enter the name of the connector in the Connector Name
field. You must enter 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.
- Select the proper integration broker in the
Broker Type drop-down menu--ICS, WMQI or
WAS.
- Note:
- Select WMQI if your broker is any WebSphere message broker.
- If you selected ICS as your broker type in step 5, do the following as well:
- Type the name of the InterChange Server 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 if the name
is not correct.
- The User ID and Password fields are used and validated only if you are
using the ICS Broker Type with Security enabled. Otherwise, these
fields are optional.
- 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
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.
- Click OK to close the "Connector Profile"
window.
Follow the steps below to make changes to an existing connector
profile:
- 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.
- In the "Connector Profile" window select the profile you want to
edit and then select Edit > Edit Profile from the menu
bar.
- 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.
- Click OK to close the "New Profile" window.
Do the following to delete a connector profile:
- 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.
- In the "Connector Profile" window, select the profile you want to
delete and then select Edit > Delete Profile from the menu
bar.
