Impossible determine what AssertionCount mismatch occurred during Unit Testing (Doc ID 1955981.1)

Last updated on DECEMBER 22, 2014

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version, BPEL Service Engine

When creating a unit test for a BPEL component you can specify an assertion count, like:

<bpelTest componentName="QueryPrintJob" xmlns="http://xmlns.oracle.com/sca/2006/test">
    <assertActivityExecuted activityName="callbackTimeout" executionCount="1"/>
    <assertActivityExecuted activityName="callbackFautVar" executionCount="0"/>
</bpelTest>

When the unit test is run in FWM EM you get a list of passed and failed tests, where it mentions an Activity Execution count mismatch.  

There's no way to know what activity assertion count mismatch occurred, nor where it happened in the BPEL flow.  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms