Recommended testing procedure

This is the recommended test procedure for testing components in the WebSphere business integration system:

  1. If your integration broker is InterChange Server, consider using the System View view, which can be very helpful in determining if a flow you have sent ends in success or failure.

    For more information, see the System Administration Guide.

  2. Set up Test Connector to emulate a source connector.
    1. Launch Test Connector as described in Starting Test Connector.
    2. Create a profile for the source connector in the interface as described in "Creating a new profile".
    3. Connect Test Connector to the agent to begin emulating the source connector, as described in Emulating a connector.
  3. Set up instances of Test Connector to emulate each destination connector involved in the interface.
    1. Launch Test Connector as described in Starting Test Connector.
    2. Create a profile for a destination connector as described in "Creating a new profile".
    3. Connect Test Connector to the agent to begin emulating the destination connector as described in Emulating a connector.
    4. Repeat 3athrough 3cabove for all destination connectors involved in the interface.
  4. Arrange the instances of Test Connector on your screen so that you can easily identify the connector being emulated in each Test Connector window. For example, in Figure 39the source Test Connector is arranged to the left of the destination Test Connector.

    Figure 39. Source and destination instances of Test Connector.

  5. Send a request business object from the source connector. From the source Test Connector, do the following:
    1. Create a business object that is managed by the interface you need to test as described in "Creating request business objects".
    2. Save the business object to a file to use in subsequent tests as described in "Saving a business object".
    3. Send the business object as described in "Sending request business objects".
  6. Simulate the response to the request business object from the destination connector. From the destination Test Connector window, do the following:
    1. Accept the request business object as described in "Accepting a request business object".
    2. Send the business object as a response as described in "Sending a response business object".
  7. Repeat step 5through step 6as many times as necessary to test each interface.

Copyright IBM Corp. 1997, 2004