Example 4 – Using the count and quiet options
The count command line option provides the ability to use a small set of decision data (or even one) to drive the Business Rules Server with many decision request messages. The quiet option restricts the output to the file banners and the timing summaries. Use these together to stress the Business Rules Server.
In this example, count was set to 10000.
TF=c:/temp/PVRWorkflow.txt
WF=PVRWorkflow
IF=ibmSortType
IF=userField1,BYTE,5
DF=ibmNprAmount
DF=ibmNprPc
DF=ibmNprAccount
DF=ibmNprRT
DF=ibmNprExtProcCode
DF=ibmNprAuxOnUs
DF=myFlag,CHAR,1
ID=105,23
DD=12315,1234,12345678,021272655,2,,Y,
DD=121,,3213212,12345-123,,232355,,
================== Business Rules Trace Log =====================
-------------------- Timing Summary (Init: 1) -------------------
Count Total Average Minimum Maximum
Init: 1 00.291.699
Decision: 10000 03.351.272 00.000.335 00.000.258 00.017.725
Term: 1 00.000.465
Server Total: 03.643.436
Simulator: 08.129.365
Overall Total: 11.772.801
Server/Overall: 30%
========================= End Of File ===========================It
is important to ensure that the set of DD lines is last in the input
file and that only one ID line is present. The count option still
works, but if either of these conditions is not true, the simulator
starts at the beginning of the file, rather than using the first DD
line in the list.