6.72 HTTP Analyzer Test Window

Use to examine and alter the content of request and response HTTP packets passing through instances of the HTTP Analyzer. More

A separate Request/Response Window is opened each time you click Create new request in the HTTP Analyzer window.

6.72.1 HTTP Analyzer Test Window

The buttons along the top of the window allow you to work with the HTTP Analyzer Test Window.

Element Description

Save packet data

Click to open a file browser, in which you specify the name and location of a file to save the data collected so far about the request/response packets and their contents.

Switch layout

Click to switch the Request and Response panes between side by side and one on top of the other.

Previous Request/Response Pair

Click to display the previous request/response pair.

Next Request/Response Pair

Click to display the next request/response pair.

Send Request

Click to resend a request when you have changed the content of a request. The changed request is sent and you can see any changes in the response that is returned.

Clear request

Click to remove details of the last request.

WS-I analyze

Click to invoke the WS-I Analyze wizard which allows you to examine a web service at packet level. How?

Find in History View

Click to find this request in the list of transactions in the HTTP Analyzer Log Window. How?

6.72.2 HTTP Analyzer Request/Response Area

As well as resizing the panes by grabbing the bars with the mouse and dragging them, you can quickly maximize and minimize the panes using the up and down arrows for the URL pane, and the left and right arrows for the Request and Response panes.

The elements available depend on the tab at the bottom of the HTTP Analyzer Test window:

  • SOAP Structure. Displays the SOAP structure of the data packet of a SOAP web service.

  • HTTP Content. The HTTP Analyzer tries to reformat the message and use code highlighting to make the message more readable, for example with JSON it will use JSON code hightlighting. It is commonly used for RESTful web services.

  • Hex Content. Displays the data as hex values.

  • Raw Message. Displays the pure data as text. This text does not wrap, and you may find it easier to copy the message and paste it into a text editor to examine it.

  • WADL Structure. The Web Application Description Language (WADL) is an XML-based file format that describes a RESTful web services application. More

Element Description

URL

The URL of the service.

Method

(Not displayed for SOAP Structure tab or WADL Structure tab) Choose from the list of available methods for the Send Request operation:
  • OPTIONS, for example, to show a WADL definition on a JAX-RS service

  • GET to retrieve the content

  • HEAD

  • POST to send a parameter

  • PUT to create new resource

  • DELETE to delete a temporary resource

  • TRACE

  • CONNECT

  • MERGE

  • PATCH

If you try to use a method which is not valid XML for the service you are examining a warning message is displayed.

WSDL URL

Displays the URL of the WSDL for the web service being tested.

Open WSDL

Click to open the Select Web Service Description dialog where you can enter, or browse to, the URL of a WSDL document describing the service you want to invoke.

Operations

(Only SOAP Structure tab and WADL Structure tab) Lists the operations available on the service.

Credentials

(Only SOAP Structure tab and HTTP Content tab) When you are using the HTTP Analyzer to test web services that use security policies, choose the credentials to use from the list. HTTPS Credential configuration is the default set of settings available in JDeveloper and it cannot be edited or deleted.

You can add new credentials and edit credentials you have created in the Credentials page of the Preferences dialog, available from the Tools menu. Alternatively, click New.

New

(Only SOAP Structure tab) Click to open the Credentials page of the Preferences dialog, where you can define new credentials.

Request Panel

Shows details of the HTTP request sent from the client to the server.

At the top is the HTTP header information passed between the client and server on each request. Click + to show the HTTP headers of the request. Click - to hide them.

Click Send Request to resend a request when you have changed the content of a request. The changed request is sent and you can see any changes in the response that is returned.

Click Copy Request to copy the contents of the request to the clipboard.

Click the down arrow next to Add to add headers. To remove a header, select it and click delete

Response Panel

Shows the data body of the HTTP response between the server and the client.

At the top is the HTTP header information passed between the server and client on each response. Click + next to Response HTTP Headers to show the HTTP headers of the response. Click - to hide them.


"Monitoring HTTP Using the HTTP Analyzer" in Oracle Fusion Middleware Developing Applications with Oracle JDeveloper

"Working with JDeveloper" in Oracle Fusion Middleware Developing Applications with Oracle JDeveloper