6.15 Select Assert Target Dialog

Use to select levels of assertions. Assertions enable you to validate test data as a process is executed.

There are four levels of assertions:

  • Entire XML document message: If selected, the values of an entire XML document message are compared to the expected values. An example is a loan service request message, which consists of parts, nonleaf elements, and leaf elements.

  • Part section of message: If selected, the values of a part section of a message are compared to the expected values. An example is a payload part of an entire XML document message.

  • Nonleaf element: If selected, the values of an XML fragment are compared to the expected values. An example is a loan application, which includes the leaf elements SSN, email, customerName, and loanAmount.

  • Leaf element: If selected, the value of a selected string or number element is compared to an expected value. An example is the SSN of a loan application.

Note: If the message contains multiple parts (for example, payload1, payload2, and payload3), you must create separate assertions for each part.

Element Description

Select Assert Target

Browse the assert target tree and select an assertion level. For a leaf element, you may compare a customer name or loan amount in a loan request to a specific value. For an entire XML document, part sections of a document, or nonleaf element, you may compare the element values to the expected element values. For example, compare the exact contents of an entire loan request XML document to another document.

Selected Assert Target

Displays the path of the selected assert target.

Related Topics

Editing the Contents of Test Cases in Test Mode in the SOA Composite Editor in Developing SOA Applications with Oracle SOA Suite