Topology discovery is an exciting integration testing capability included in Rational Test Workbench.
Here are simple steps to explore topology discover of an http resource in Rational Integration Tester (RIT) with Add Number Sample.
- Make sure that the RIT http proxy is running, you can check that under agents tab in Rational Test control Panel home page. If it is not listed, start the http proxy.
- Browse to installation directory of RIT. Under the “examples” folder, you can find the “addnumbers” and “addnumbersclient” sub folders. Double click on start.bat under “addnumbers”. This will start the AddNumbers Server, click on start service; service will be started as shown below :
- Open a command prompt, change the working directory to that of addnumbersclient ,then run the command :
java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts= -jar AddNumbersClient.jar
You can see the client started as below and the http traffic now being routed to http proxy.
- Start RIT, open the Topology Discovery window under Architecture School Perspective. Select the HTTP option under the RTCP Registered Intercept. Click on start button . Enter the numbers in AddClient application and press “=”, you will get the result in the client. Now when you refresh the view in the RIT , you will the observe the HTTP resource being discovered. Click on the first button under the Observed Resource menu to add the observed resource to system model