To verify that your rule both triggers correctly and recommends the correct items, you should test it before implementing it in your production system.
Test a rule without schedule
Before you test a rule, the rule must be active.
1. From the Business ConsoleHome page, click Recommendation > Rules.
2. On the Rules page, check the Status column to verify the rule is activated.
3. Under the Rule Name column, click the rule you want to test.
4. On the Test tab, enter a search request in the test Search Application.
A list of matching rules displays above the test Search Application.
Example 1. Understand test results
In this example, we will test the snowboard rule by entering the query women’s snowboard. For a particular hit to be considered a match, it must display on the first page of the search results.
Figure 10. The results from this search request triggered two rules, included the rule being tested (snowboard)
As shown above, the results from this test indicate:
• Two rules matched the search results, including the rule being tested (snowboard), which we’ll refer to as the current rule.
◦ The current rule name displays in bold text when it is one of the matched rules.
◦ To show all rules that had matches in the search results, click All matched rules (on the top right of the Matched Rules box).
• The snowboard rule was the first rule matched by the search results, denoted by the star icon beside its name.
Test a rule with a schedule
If you set up your rule to use a scheduler, you can verify your rule works for time period.
1. From the Business ConsoleHome page, click Recommendation > Rules
2. On the Rules page, check the Status column to verify the rule is activated.
3. Under the Rule Name column, click the rule you want to test.
4. On the Test tab, click Advanced Settings.
5. Under Advanced Settings section, select a date and time.
6. Click Refresh (at the bottom right of the Advanced Settings box)
7. Enter a search request in the test search application.
A list of matching rules displays above the test search application.