Now that the engine is running, you will use the ActiveMatrix BusinessWorks to simulate data coming into the application from account activity. You can use this testing technique on other projects too.For more details on defining ActiveMatrix BusinessWorks processes see TIBCO BusinessWorks Process Design Guide.Task N Test the Application
1. With the project open in TIBCO Designer, open the DebitAccount process (so you can see the activities within it), and then select the Tester tab (on the left).Now you have entered the testing environment. Entering the testing environment starts a TIBCO ActiveMatrix BusinessWorks engine.
2.
3.
If you used a different value for the concept instance (in the section Configure the InitializeAccount Rule Function) use that value here. The account ID is shown in bold below:
Concepts.Account.Account("ActA" /*extId String */,
4. Double-click in the Amount field, and enter 3000. This amount will be debited each time you run a job. Click OK to save and dismiss the window.
6.
7. The project is set up to "suspend" accounts that incur more than three debit transactions over a two-minute rolling window, where the sum of the debits totals more than 80% of the average monthly balance of the account. The average monthly balance is set to $10,000. So the third debit of $3,000 within two minutes triggers the rule.
8. Run more jobs to trigger the FraudDetection rule action. Run each job as follows:
a. In the test panel click the TestProcess/DebitAccount.process process instance.
Copyright © TIBCO Software Inc. All Rights Reserved.