Recommended testing procedure

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

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

    Figure 29. Source and destination instances of Visual Test Connector.


  4. Send a request business object from the source connector. From the source Visual 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".
  5. Simulate the response to the request business object from the destination connector. From the destination Visual 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".
  6. Repeat step 4 through step 5 as many times as necessary to test each interface.

Copyright IBM Corp. 1997, 2003