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:
- Testing: You run a set of rules on scenarios that are defined by you to compare the actual results with your expected results.
- Simulation: You run rules on real or fictitious operational data, and use the results to assess and refine the behavior of the rules. You apply key performance indicators (KPIs) in analyzing the rules.
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.
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:
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.
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.