In Decision Center, you can test a ruleset against typical execution scenarios to check that the rules operate as expected.
The scenarios are stored in an Excel file called “scenario file”. When you create a test suite, you must specify the set of rules to test and the file containing the scenarios. After running the test suite, a report compares the results that you expected to have with the actual results obtained when applying rules on your scenarios.
In this tutorial, you run test suites and simulations on a configured server called Sample. Rule Execution Server provides a runtime execution environment on which test suites and simulations are run.
Previously, you modified the debt-to-income ratio in the minimum income rule. In this task, create and run a test suite to check that the modified rule behaves as expected.
This task should take you about 15 to 20 minutes to complete.
To run a scenario in Decision Center, you must create a test suite. For the purpose of this tutorial, the scenario file for the test suite is already created for you. The miniloan-test.xls scenario file is located in <InstallDir>/gettingstarted/EnterpriseConsole/, where <InstallDir> refers to your installation directory. The scenario file is available in Excel 2003 format. You can open it and take a look at it to view the scenarios that you are about to execute.
The scenario file contains two scenarios with their corresponding expected results. The scenarios are listed in the Scenarios tab, and the anticipated results in the Expected Results tab.
To create and run a test suite:
To correct the problem in Scenario 1, you edit miniloan-test.xls and modify the expected results for Scenario 1. You also add a new scenario to verify that the loan is rejected if the debt-to-income ratio is too high.
To edit the scenario file:
To test the scenarios that you modified, you edit the test suite in Decision Center and run it again.
To edit and run the test suite:
You have tested your rules against possible scenarios, in the next task you create a simulation on a large set of scenarios to assess the performance of the rules.