Testing the Example
This section presents two test scenarios:
Test case 1:
InsuranceClaimis started, the
EvaluateClaimtask is completed with an outcome of
AnalyzeClaimtask times out, and the
EscalateClaimtask is completed with an acceptance.
Test Case 2:
InsuranceClaimis started and, after a short time, is killed.
Test Case 1: Accepted on Escalation
To start, open the BPEL administrative console in a browser.
The URL for the default, out-of-the-box domain is http://localhost:9700/BPELConsole/login.jsp.
Log in using the password
The first page to come up after login is the Dashboard, shown in
Figure 10-11, which
lists the currently deployed processes. If you do not see the
InsuranceClaimKiller processes, open BPEL
Designer and build and deploy each of them by selecting BPEL → Build and Deploy BPEL
Clicking on InsuranceClaim brings up the initiation test form, as shown in Figure 10-12.
Enter the data shown for
data, and click Post XML
Message to start the process. Within a moment of initiation, the
EvaluateClaim task is assigned to
an agent. To see the task, navigate to the task list page at