Testing SOA Composite Applications with the HTTP Analyzer

You can test HTTP requests and responses in a SOA composite application with the HTTP Analyzer in Oracle JDeveloper. The HTTP Analyzer enables you to examine the content of HTTP request/response package pairs. You can edit the content of a request package, resend it, and observe the response packet returned. For more information about the HTTP Analyzer, see the "Auditing and Monitoring Java Projects" chapter of Developing Applications with Oracle JDeveloper.

To test the SOA composite application with the HTTP Analyzer:

  1. From the Window main menu, select Application Servers.
  2. In the Application Servers window, expand the SOA composite application.
  3. Right-click the component to test (for this example, a web service binding component), and select Test Web Service. Figure 50-29 provides details.

    Figure 50-29 Component to Test in the Application Servers Window

    Description of Figure 50-29 follows
    Description of "Figure 50-29 Component to Test in the Application Servers Window"

    The HTTP Analyzer is displayed.

  4. Enter the request message data to send, and click Send Request or click HTTP Content to copy and paste the contents from an XML file. Figure 50-30 provides details.

    If successful, output similar to that shown in Figure 50-31 is displayed in the right pane.

    Figure 50-31 Response HTTP Headers

    Description of Figure 50-31 follows
    Description of "Figure 50-31 Response HTTP Headers"

You can also use the Test Web Service page to perform testing. For more information, see Section "Initiating a Test Instance of a Business Flow" of Administering Oracle SOA Suite and Oracle Business Process Management Suite.