skip to main content
Corticon Studio: Rule Modeling Guide : Advanced Ruleflow techniques and tools : Ruleflow versioning and effective dating : Setting a specific target date for a Ruletest
 

Try Corticon Now
Setting a specific target date for a Ruletest
When you execute a Ruletest against a corresponding Decision Service that is deployed and running on a Corticon Java or .NET Server that was deployed with effective and expiration dates, the day you are testing the Decision Service could be impacted by the data constraints. The ability to set a target date lets you execute the test as though it were sent at a specific date and time. Using this feature enables setting the clock back to see how past date ranges would have handled a request, as well as setting the clock forward to test deployed Decision Services in pre-production staging.
To set a version and effective target date for a Ruletest:
1. With the Ruletest in its editor, choose the menu command Ruletest > Testsheet > Select Test Subject.
2. Select the Run against Server tab, select a Server URL, and then click Refresh.
3. Click on a Decision Service in the list.
4. In the Optional Overrides section, specify the Decision Service's version identity and effective target date to use for the Ruletest, as illustrated:
5. Click OK. The dialog closes. The details of the deployed Decision Service and its overrides are displayed at the top of the Testsheet:
6. Run the Ruletest.
The test executes against the specified Decision Service on the selected server using the overrides you entered.