Example 3 – Reducing the output with the showDiff option

Running the same example with the showDiff option demonstrates another capability of this tool. In this mode, only the output for those items that do not fully match are shown (along with the initialize and terminate records). If only a few mismatches are expected, this mode allows for a more liberal set of output fields to be used with a large number of items. Without this option, the output file could be large and difficult to use.

================== Business Rules Trace Log =====================
----- Request:   1 = Init ------ Line   28 ----------------------
DD=12315,1234,12345678,021272655,2,,Y, CD=0, 
----- Request:   4 = Decision -- Line   43 ----------------------
Comparison Fields:
  'ibmNprValidationError': Different - Expected=[0] Actual=[1]
Output Fields:
  'ibmNprOnUsFlag'       : [Y]
  'ibmNprValidAmount'    : [0]
  'ibmNprValidPc'        : [1]
  'ibmNprValidAccount'   : [1]
  'ibmNprValidRT'        : [1]
----- Request:   6 = Term ------ Line   84 ----------------------
-------------------- Timing Summary (Init: 1) -------------------
            Count  Total       Average     Minimum     Maximum
Init:           1  00.235.429  
Decision:       4  00.049.645  00.012.411  00.003.562  00.032.330
Term:           1  00.000.582  
Server Total:      00.285.656
Simulator:         00.037.979
Overall Total:     00.323.635
Server/Overall:    88%
========================= End Of File ===========================

Notice the DD line that appears between Requests 1 and 4. This is the verbose output for the DD line that generated the failure. If the verbose option is enabled, the source lines are outputted in a similar way.