Testing rules with a local or remote SSP

You can run tests on rule projects using a local or remote SSP, and debug tests using a local SSP. Decision operations can only be tested on a local SSP.

About this task

Before using a remote SSP, make sure that you:
  • Start the application server where you installed Rule Execution Server and deployed the SSP.

  • Create a valid DVS Project with at least one correct configuration, which defines the application server to use for the remote testing.

  • Deploy the XOM for rule project to Rule Execution Server or repackage the XOM in the SSP.

Procedure

To run a test using a local or remote SSP:

  1. Click Run > Run Configurations (or Run > Debug Configurations for debugging on a local SSP).
  2. Create a DVS launch configuration by right-clicking DVS Archive > New or DVS Excel File > New depending on the type of source file you are using for your scenarios.
  3. In the Name field, enter a name for the launch configuration.
  4. In the DVS Archive or Excel File field, click Browse to select the DVS archive or Excel scenario file to test.
  5. In the Rule Project field, click Browse to select the rule project to test.
    Note: You can test a subset of the rules by selecting an extractor in the Extraction tab.
  6. In the HTML Report field, click Browse to select the project in which you want to generate the report, and enter a name for the report with the .html extension.
  7. In the DVS Configuration tab, select either Local execution or Remote execution.
    For remote execution, specify the following options:
    • In the DVS Project field, select the DVS project that contains the configuration that you want to use.

    • In the Configuration field, select the configuration that defines the application server to use for the remote testing. Check the Use XOM deployed to Rule Execution Server option if you want to use the XOM deployed to Rule Execution Server. Otherwise, the XOM must be repackaged in the SSP.

  8. Click Apply, and then click Run (or Debug for debugging using a local SSP only).

    Rule Designer displays the execution output in the Console view and generates an HTML report, showing whether the tests failed or succeeded.

  9. In the Rule Explorer, right-click the project where the report is generated and click Refresh to see the report.