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:
- Click (or for debugging
on a local SSP).
- Create a DVS launch configuration by right-clicking or depending on the type of
source file you are using for your scenarios.
- In the Name field, enter a name
for the launch configuration.
- In the DVS Archive or Excel
File field, click Browse to select
the DVS archive or Excel scenario file to test.
- 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.
- 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.
- 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.
- 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.
- In the Rule Explorer, right-click the project where the
report is generated and click Refresh to see
the report.