Recommended testing procedure
This is the recommended test procedure for testing components
in the WebSphere business integration system:
- 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 WebSphere InterChange Server: System Administration Guide.
- Set up Test Connector to emulate a source connector.
- Launch Test Connector as described in Starting Test Connector.
- Create a profile for the source connector in the interface as
described in Creating a new profile.
- Connect Test Connector to the agent to begin emulating the source
connector, as described in Emulating a connector.
- Set up instances of Test Connector to emulate each destination
connector involved in the interface.
-
Launch Test Connector as described in Starting Test Connector.
- Create a profile for a destination connector as described in Creating a new profile.
-
Connect Test Connector to the agent to
begin emulating the destination connector as described in Emulating a connector.
- Repeat 3a through 3c above for all destination
connectors involved in the interface.
- 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 56 the source Test Connector is arranged to the left of
the destination Test Connector.
Figure 56. Source and destination instances of Test Connector.
-
Send a request business object from
the source connector. From the source Test Connector, do the following:
-
Create a business object that is managed
by the interface you need to test as described in Creating request business objects.
- Save the business object to a file to use in subsequent tests
as described in Saving a business object.
- Send the business object as described in Sending request business objects.
-
Simulate the response to the request
business object from the destination connector. From the destination Test
Connector window, do the following:
- Accept the request business object as described in Accepting a request business object.
- Send the business object as a response as described in Sending a response business object.
- Repeat step 5 through
step 6 as many times
as necessary to test each interface.
