Unit testing service rules
Unit test service rules such as, email, Java, MQ, SAP, and SOAP rules.
- Providing test data when unit testing service rules
When unit testing service rules, you can provide some representative data for the service rule either by typing or pasting in text, or by identifying an activity that will generate the test data.
- Unit testing a Service EJB rule
Use the unit testing feature to verify that the operations of a Service EJB rule function correctly before you add the external client to your testing process.
- Unit testing a Service File rule
Use the unit testing feature to verify that the operations of a service file rule function correctly before you add an external component to your testing process.
- Unit testing a Service HTTP rule
Use the unit testing feature to verify that the operations of a Service HTTP rule function correctly before you add the external client to your testing process.
- Unit testing a Service dotNet rule
Use the unit testing feature to verify that the operations of a Service dotNet rule function correctly before you add the external client to your testing process.
- Unit testing a Service SAP Rule
Services start their processing in response to a request from an external application. Before you add the external application to your testing process, use the Simulate SOAP Service Execution feature to verify that the service processes data appropriately. When using this feature, you manually provide some representative data to process. You specify a test page for the rule to use, provide sample data as the input, run the rule, and examine the results to see if they are what you expect.
- Unit testing a Service SAPJCo rule
Use the unit testing feature to verify that the operations of a Service SAPJCo rule function correctly before you add the external client to your testing process.
Previous topic Unit testing individual rules Next topic Providing test data when unit testing service rules