6.24 Test Results Editor

Use to view test suite results.

The Test Results Editor is per test server and composite DN. The test server URL (SOA server hostname and port number) and composite DN are displayed in the top right corner of the page to indicate the context. The editor tab name is in the form of Test Results: SOA_composite_application.

The Test Results Editor is arranged in the following sections:

Test Runs

The Test Runs section enables you to select a test run to view its test cases in the Test Cases section. Each test run can have multiple test cases.

The Test Runs section shows the current test run and its status if you just submitted a test run. If you just queried the test server for test runs in the Query Test Runs dialog, this section shows all test runs matching your query criteria.

Element Description

Test Query Runs icon

Click to invoke the Query Test Runs dialog to specify the test run to display. If you do not specify criteria, all test runs are displayed.

Name

Displays the name of the test run.

Status

Displays the status of the test run (either passed or failed). The status is passed if all test cases in the test run passed. Otherwise, the status is failed, which means at least one test case failed.

Success

Displays the success rate percentage of test runs.

Test Cases

Displays the total number of tests run.

Passed

Displays the number of tests passed.

Failed

Displays the number of tests failed.

Erred

Displays the number of tests in error.

Running

Displays the number of tests currently running.

Start Time

Displays the time at which the test run started.

End Time

Displays the time at which the test run ended.

Test Cases

The Test Cases section enables you to select an assertion to view its results in the Assert Results section. The Test Cases section shows all test cases and the statuses of the selected test run from the Test Runs section.

Element Description

Test

Displays the test case name. Click the name to invoke the test mode of the SOA Composite Editor.

Status

Displays the status of the test.

Suite

Displays the suite of which the test is a part.

Assert Results

The Assert Results section enables you to select a location from which to view or edit the assertion. The Assert Results section shows all assertion results of the selected test case in the Test Cases section.

Element Description

Location

Location of the assertion. It is the wire source (service or reference) for an assertion of type wire, and the component (BPEL) activity name for an assertion of type component. Click the location of the assertion to invoke the test mode of the SOA Composite Editor.

Status

Status of the assertion (either passed or failed). The status is passed if the actual value matches the expected value.

Expected Value

Displays the expected value of the assertion:

  • If it is a simple value assertion of an XML fragment, a simple value is displayed.

  • If it is an XML value assertion, a hyperlink to the Assertion XML dialog is provided to show a comparison between the expected and actual XML values.

You specified the expected input value on the Create Composite Test Wizard - Input Message page.

Actual Value

Displays the actual value of the assertion:

  • If it is a simple value assertion of an XML fragment, a simple value is displayed.

  • If it is an XML value assertion, a hyperlink to the Assertion XML dialog is provided to show a comparison between the expected and actual XML values.

You specified the expected output value on the Create Composite Test Wizard - Output Message page.

Error Message

Displays an error message if the status is failed.

Type

Type of assertion, either a wire or component. Wire indicates an assertion on a composite wire, while a component indicates an assertion within a BPEL process server component.

Description

Description of the assertion you entered when created.

Related Topics

Creating Test Suites and Test Cases with the Create SOA Composite Test Wizard in Developing SOA Applications with Oracle SOA Suite

Automating Testing of SOA Composite Applications in Developing SOA Applications with Oracle SOA Suite