Task 5: Testing in the execution server
About this task
When you deployed the rules from the decision service, they were sent as a ruleset in a RuleApp to Rule Execution Server in the development environment. Now, you test the ruleset in the execution server. When the ruleset passes the test, you deploy it to the test environment for integration testing, and then to the production environment for use with client applications. For more information, see Deploying decision services.
Step 1: Viewing the deployed RuleApp
You find the RuleApp from the decision service in the execution server, and look at its contents.
Procedure
Step 2: Testing the ruleset by using the REST API
You test the ruleset to determine whether it executes correctly. You use the REST API to run the test on manually entered data.
Procedure
Step 3: Deploying to the test environment
Satisfied that the rules work as expected, you return to the Business console to deploy the rules to the test environment. The integrator runs integration tests on the rules in the test environment. These tests determine the stability and reliability of the rules under load before they are promoted to the production environment for use with client applications.
Procedure
If you are a business user, you cannot view the test and production environments, and cannot do steps 3 and 4.
Step 4: Deploying to the production environment
When the integrator finishes testing the rules from the decision service, the rules can be deployed to the production environment. Client applications then call the rules from this environment to process data.
About this task
You must have the configuration manager role to deploy the rules to the production environment. If you have this role, you can see the deployment configuration for the production environment in the Deployments tab. You can use it as you did the deployment configuration for the test environment. However, there is no need to deploy the Miniloan RuleApp to the production environment. The deployment configuration for the production environment is included to provide a complete list of configurations for configuration managers.
For more information about calling the rules from this environment, see Integrating decision services.
What to do next
In the next task, you set up a client application to call the rules from the execution server in the development environment.