This is the recommended test procedure for testing
components:
- 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 2a through 2c above for all destination connectors
involved in the interface.
- Note:
- Do not set up a scenario in which the same source test
connector object and same destination test connector object are
used with multiple collaboration instances. In such a scenario, the
calls on the destination connector from the two collaborations
would be in conflict.
- Arrange the instances of Test Connector on your screen so that
you can easily identify the connector being emulated in each Test
Connector window.
- 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 4 through step
5 as many times as necessary to
test each interface.
