ILOG JRules User Guide > Testing Rules with Rule Scenario Manager > Tasks > Defining Rule Scenario Manager Artifacts > Adding a Scenario to a Project

You can add a new scenario to an existing project.

To add a new scenario:

  1. Click File > New > Other.
  2. Expand the ILOG Rule Studio category, expand the Rule Scenario Manager category, and then select Scenario.
  3. Click Next.
  4. Select the project in which you want to create the scenario, and then click Next.
  5. Specify the following scenario components:
  6. - Name: Enter a name for the scenario.
    - Description: Enter a short description for the scenario.
    - Input Data File: Specify the file containing the input data for the ruleset.
    - Baseline Report: If you want to use results from a baseline report as test values in the scenario's tests, specify a baseline report.
    - Report Name: Specify the name of the scenario report for this scenario.
    - Canonical Ruleset Path: If you want to execute a specific version of the ruleset in the scenario, click this option on.
  7. Click Next.
  8. Either accept the default execution trace filters, or specify which filters you want to use.
  9. The default trace filters include all data in the execution trace except for the working memory and the lists of objects that triggered the firing of the rules. Defining a more selective execution trace can improve performance.
  10. Click Next.
  11. Specify a configuration for the scenario:
  12. - Use the default configuration: If you want to use a default configuration for the scenario, for example, one associated with a parent scenario suite or simulation, click this option on.
    - Choose an existing configuration: To use an existing configuration other than the default. Specify the configuration file you want to use.
    - Create a new configuration: Select this option to build a new configuration. When you click Next, three further wizard pages follow in which you can define the configuration. See Defining a New Configuration for more information.
  13. Click Finish.

Related Concepts

Scenarios
Configurations
Execution Trace
Data and Datasets
Scenario Report
Baseline Report

Related Tasks

Creating a Client Scenario Project for RuleApps
Defining a New Configuration
Executing Scenarios, Scenario Suites, Simulations, and RSM Archives

Related Reference

Rule Scenario Manager XML and Java Artifacts
Scenario XML Definition
Configuration XML Definition

Related Samples

How to Test Rules in Rule Scenario Manager Using Java Binding
How to Test Rules in Rule Scenario Manager using XML Binding