Using the Visual Test Connector, define a profile for the "PortConnector".
Select FILE -> OPEN PROFILE from the Test Connector's
menu. Click the
ADD button, and specify the connector configuration
file. Open the file: %WBIA_RUNTIME%\connectors\XML\samples\
WebSphereICS\XMLConnector.cfg. Click OK on
the following two windows, and
connect your agent.
Using the Test Connector simulating the "PortConnector",
Select EDIT -> LOAD BO from the menu. Specify
the connector configuration file, %WBIA_RUNTIME%\connectors\XML\samples\
WebSphereICS\XMLConnector.cfg.
Open the test data that was loaded into the Test Connector. Modify
the
value of the URL attribute to the location to which
the XML Adapter should
POST it's xml request.
Using the Test Connector simulating the "PortConnector", click
on the loaded
Test BO. Select REQUEST -> SEND from the menu.
To ensure successful processing, check that the XML Adapter received
an event,
converted the event to an XML document, POSTed it to
the WebServer, received
a response and successfully parsed the response.