How to Create BPEL Process Service Component Tests

To create BPEL process service component tests:

  1. Double-click a BPEL process in a test suite (for this example, LoanBroker).

    If you have not yet created a test suite, see Creating Test Suites and Test Cases with the Create Composite Test Wizard. The BPEL process service component test that you create is included in the overall test suite for the SOA composite application.

    The Create Component Test dialog is displayed, as shown in Figure 51-23.

    Figure 51-23 Create Component Test Dialog

    Description of Figure 51-23 follows
    Description of "Figure 51-23 Create Component Test Dialog"
  2. Accept the default name or enter a different name, as shown in Figure 51-23.
  3. Click OK.

    The BPEL process in test mode is displayed, as shown in Figure 51-24.

    In the lower left section, the Structure window displays the Asserts, Fast Forwards, and Assert Execution Counts folders. You can right-click these folders to create assertions, fast forwards (to bypass executions of wait activities), and assertion execution counts, respectively.

    Above the designer, the following buttons are displayed:

    • BPEL: Click to access the BPEL process service component in design mode of Oracle BPEL Designer (that is, in nontest mode). This button is currently enabled in Figure 51-24 because you are in test mode for the BPEL process.

    • Monitor: Click to configure BPEL process monitors in Oracle BPEL Designer. BPEL process monitors can send data to Oracle BAM for analysis and graphical display through the Oracle BAM adapter.

    • Test: This button is currently disabled because you are in test mode for the BPEL process service component. This button is enabled when you click the BPEL button to enter design mode in Oracle BPEL Designer.

    • Analytics: Click to create a uniform measurement mechanism across Oracle SOA Suite components such as Oracle BPMN, human workflow, and BPEL processes for collecting disparate data.

    Figure 51-24 BPEL Process Service Component in Test Mode

    Description of Figure 51-24 follows
    Description of "Figure 51-24 BPEL Process Service Component in Test Mode"