Skip Headers
Oracle® SOA Suite Developer's Guide
10g (10.1.3.1.0)

Part Number B28764-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

6.13 Testing and Validating the Oracle Enterprise Service Bus Flow

To test and validate the Oracle Enterprise Service Bus flow, you can use Oracle Enterprise Manager or other testing tools to invoke any of the ESB services over SOAP. You can test an individual outbound service or an entire flow by invoking a routing service that invokes multiple outbound services.


Note:

ESB provides runtime error handling capabilities for error logging, notifications on errors, and automatic and manual retries on errors. For information on runtime error handling with the Oracle ESB Control, see Section 12.11, "Error Handling in Message Instance Processing".

6.13.1 How to Test ESB Services Using Oracle Enterprise Manager

You can use Oracle Enterprise Manager Application Server Control to test ESB services while you are designing the services in Oracle JDeveloper ESB Designer. Before testing a service in an ESB project, register the project with the integration server or local ESB server. See Section 6.12.1, "How to Register ESB Services with the ESB Server".

To test the services in the ESB project you are creating in Oracle JDeveloper ESB Designer, use the Test Web Service feature of Oracle Enterprise Manager.

To test using Oracle Enterprise Manager:

  1. Open Oracle Enterprise Manager Application Server Control for your system.

  2. Enter the username and password to log in.

  3. Click on an application server in the list of All Application Servers.

    For example, click on the home application server.

  4. In Application Server page, click on the Web Services link.

    The list of Web services displays, as shown in Figure 6-18.

    Figure 6-18 Oracle Enterprise Manager Web Services

    Description of Figure 6-18 follows
    Description of "Figure 6-18 Oracle Enterprise Manager Web Services "

  5. Select a Web service and click the Test Service button.

    The Test Web Service page displays, as shown in Figure 6-19.

    Figure 6-19 Oracle Enterprise Manager Test Web Service

    Description of Figure 6-19 follows
    Description of "Figure 6-19 Oracle Enterprise Manager Test Web Service"

  6. In the Test Web Service page, click the Test Web Service button.

    The test page displays.

  7. Enter data in the fields of the Test page to test the service, as shown in Figure 6-20.

    Figure 6-20 Oracle Enterprise Manager Test Page

    Description of Figure 6-20 follows
    Description of "Figure 6-20 Oracle Enterprise Manager Test Page"

  8. After providing sample data, click Invoke to display the Test Results page.

    Check whether there are any errors in the page. You can close the test page after viewing the results.

  9. View Instances in the Oracle ESB Control to check whether the message instance was successfully processed with the sample data, as shown in Figure 6-21. For information on the Instances view of the Oracle ESB Control, see Section 12.6, "Using the Instances View to Monitor Message Instances".

  10. If necessary, correct any errors and repeat the test process.

Figure 6-21 Oracle ESB Control - Instances View with Successful Processing

Description of Figure 6-21 follows
Description of "Figure 6-21 Oracle ESB Control - Instances View with Successful Processing"

6.13.2 What Happens When You Test Using Oracle Enterprise Manager

When you test with Oracle Enterprise Manager, you invoke the Web service associated with an ESB project service using the sample values for the message instance. This approximates the runtime processing of the message instance.

You can monitor whether the message instance was successfully processed in the Instances View of the Oracle ESB Control. See Section 12.6, "Using the Instances View to Monitor Message Instances".