Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Local Rule Testing Overview | Creating a Launch Configuration for Local Testing
 
Creating a Launch Configuration for Local Testing
You can create or modify a launch configuration for local testing.
*To create or modify a launch configuration:
1. Click Run > Run Configurations in the menu bar.
2. In the Run Configurations dialog box, do one of the following:
a. Select an existing run configuration for a decision entity or rule set from the list on the left side.
b. Create a new run configuration for a decision entity or rule set by clicking Decision Table, Decision Tree, Event Rule or Rule Set in the list on the left side and then clicking The new launch configuration icon in the toolbar.
3. Modify the required info as explained in the following tables:
Decision Tables:
For this tab
And this field
You can do this
Decision Entity tab
Project
Browse to the rule project the decision table is part of.
Decision Entity
Browse to the decision table.
Input
Type test input values as described in Testing a Decision Table Locally, Step 3.
Prompt for data at launch
Click the check box if you want to view or modify the input data before running the decision table.
Logging tab
Setting
Set a log level in the Log level field. The log level entries are sorted from All (everything is reported) to Fatal (only fatal errors are reported). To deactivate logging, select Off. The logging results appear in the Console view.
Decision Trees:
For this tab
And this field
You can do this
Decision Entity tab
Project
Browse to the rule project the decision tree is part of.
Decision Entity
Browse to the decision tree.
Input
Type test input values as described in Testing a Decision Tree Locally, Step 3.
Prompt for data at launch
Click the check box if you want to view or modify the input data before running the decision tree.
Logging tab
Setting
Set a log level in the Log level field. The log level entries are sorted from All (everything is reported) to Fatal (only fatal errors are reported). To deactivate logging, select Off. The logging results appear in the Console view.
Event Rules:
For this tab
And this field
You can do this
Decision Entity tab
Project
Browse to the rule project the event rule is part of.
Event Rule
Browse to the event rule.
Decision Entity
Browse to the decision table that provides the input that triggers the event rule.
Prompt for decision entity at launch
Click the check box if you want to view or modify the selected decision table before running the event rule.
Input
Type test input values as described in Testing a Decision Table Locally, Step 3.
Prompt for data at launch
Click the check box if you want to view or modify the input data before running the event rule.
Note:
This check box is automatically selected and disabled if the Prompt for decision entity at launch check box is selected.
Logging tab
Setting
Set a log level in the Log level field. The log level entries are sorted from All (everything is reported) to Fatal (only fatal errors are reported). To deactivate logging, select Off. The logging results appear in the Console view.
Rule Sets:
For this tab
And this field
You can do this
Rule Set tab
Project
Browse to the rule project the rule set is part of.
Rule set
Browse to the rule set.
Input
Type test input values as described in Testing a Decision Table Locally, Step 3.
Prompt for data at launch
Click the check box if you want to view or modify the input data before running the rule set.
Logging tab
Setting
Set a log level in the Log level field. The log level entries are sorted from All (everything is reported) to Fatal (only fatal errors are reported). To deactivate logging, select Off. The logging results appear in the Console view.
4. Click Apply.
5. To run the test immediately, click Run. Otherwise click Close.