First page Back Continue Last page Text

oracle adf workshop


Using the HTTP Analyzer

HTTP Analyzer (previously called the TCP-IP packet monitor) enables you to view the content of HTTP request and response packets. It is useful for verifying the data sent and received by a Web service. To open the Http Analyzer, select View  Http Analyzer from the JDeveloper main menu. You can then run a Web service and view request and response data.

To test a Web service, you can right-click it in the Application Navigator and select Test Web Service (labeled 1 in the slide). The upper portion of the HTTP Analyzer packet window (2) enables you to select an operation to test (the example operation shown in the slide simply returns an arbitrary value based on the first three digits of the number passed to it). The lower-left part of the packet window (3) shows information about the request and enables you to set values for any parameters required by the Web service and to send the request. The lower-right part of the window (4) shows the header of the response and the result that is returned.

The HTTP Analyzer history window shows a history of packets (5). You can open any packet, view the contents of the request, copy it to a new request, and then edit and resend the packet. It shows statistics such as the date, time, and elapsed time (milliseconds) of the request. The HTTP Analyzer Instances window (6) shows the running instances of HTTP analyzer.

For more information about running HTTP Analyzer, see the JDeveloper online documentation.