My Oracle Support Banner

Conversion of Test Cases from OPA 10.4 to 12.2.x Version Causing Issues (Doc ID 2733011.1)

Last updated on DECEMBER 04, 2020

Applies to:

Oracle Policy Automation - Version 12.2.10 and later
Information in this document applies to any platform.

Symptoms

Upon running test cases conversion from OPA 10.4 version to OPA 12.2.20 version (20C), noticing the following issues:

(1) The conversion utility processed the version 10.4 test case that caused the prior version of the conversion utility to fail.
     (a) In the attached project the 1st 7 test cases are created by the conversion utility.
     (b) The last two are created by exporting from the version 12 debugged after the conversion.
     (c) Able to reapply the post conversion updates and create a working version 12 rulebase
     (d) Posses 3 basic XDS test cases that all appear to work as expected


(2) Version 12 test cases are created for all 7 test cases
     (a) The issue with thousands of errors appears to be gone
     (b) Upon attempting to run any of the converted version test cases, following generic error message are seen:
           “An error occurred while running the tests. Reason: Object reference not set to an instance of an object (OPA-E00507)”


(3) Able to import all 3 of basic XDS test cases

     (a) Using the debugger it appears that the converted rules are producing correct results
     (b) Able to export and re-import all 3 as XML

     (c) The 1st and 2nd XDS test cases have a single applicant
     (d) If export either of the 1st two XDS test case and try to run the resulting test case, getting errors related to duplicate rows in one of inferred entities (the denial reasons)
     (e) If the tab is deleted, the test case will execute
     (f) Removing the tab for “this” entity is not a major issue

     (g) The 3rd test cases has 3 applicants
     (h) The vast majority of actual applications have multiple applicants
     (i) Upon trying to run the resulting test case, getting errors related to duplicate rows for several entities
          the program
              This entity is an inferred entity and is one of the most important entities in the rulebase
              It is not obvious why this entity is flagged with errors. The spreadsheet column that is used to link it to the higher level entity does not contain any duplicate values
          the related party
              In production this entity is an input and is also a very important entity
              The spreadsheet column that is used to link it to the higher level entity does contain duplicate values
              Restructuring this entity so that the identifying attribute is unique across the entire application would be a major effort and would involve rework of a large number of our existing test cases
          the person’s benefit plans
              This is an inferred entity and when creating test cases, this tab could be deleted without causing a major problem
          the denial reason
              This is an inferred entity and when creating test cases, this tab could be deleted without causing a major problem

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.