Tests and simulations for business rules

The Decision Center includes testing and simulation features to verify rules and evaluate their results.

You can improve the performance of a business application by validating its rules before deployment. Decision Center offers you two ways to check rule behavior:

You can do testing and simulation in either Decision Center console:

Business console
For business and technical users, the Business console offers testing and simulation for decision services. These features use scenarios in Excel files, but simulations can also use custom data providers. For simulations, users define KPIs, report formats, and simulation configurations in the console.
Enterprise console
Primarily for technical users, the Enterprise console offers testing and simulation for sets of rules. The proposed format for storing scenarios and their expected results is Excel, but you can use Rule Designer to customize a scenario provider and its rendering in the Enterprise console, and the KPIs used in simulations.
Restriction: The Excel scenario files for simulations and tests do not support XMLGregorianCalendar as a date type. When you try to create a XMLGregorianCalendar object, you get the error java.lang.InstantiationException.

The workaround is to use the java.util.Date type instead and convert it to the XMLGregorianCalendar type. For more information about the workaround, see Operational Decision Manager Known Limitations.

The following figure shows how rule testing and simulation work in Decision Center:

Diagram shows testing and simulation.

The diagram shows the runtime service applications that are used in Rule Execution Server. Scenario Service Provider (SSP) supports testing and simulation in the Enterprise console, and the Decision Runner supports testing and simulation in the Business console.

Note:

You should be familiar with the section Testing and simulating rulesets, which describes debugging capabilities in Rule Designer and setting up remote testing in the Decision Center consoles.