Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 4: Adding Polling Notifications | Configuring and Testing the Polling Notification Nodes | Testing the underBalancePolling Notification Node
 
Testing the underBalancePolling Notification Node
Perform the following procedure to test the underBalancePolling notification node.
*To test the underBalancePolling notification node
1. Invoke a Withdraw service or a Transfer service against an account to cause a negative account balance. You create a Withdraw service or a Transfer service similarly to the Deposit service described in Compiling the Phase 3 Implementation.
Note:
No banking event is generated.
2. Search the underBalancePolling.log file in the Integration Server_directory \pipeline directory for the notification message. This is the file you specified as the value of the fileName parameter in Creating the Flow Service for the underBalancePolling Notification Node.
Note:
The adapter code uses the savePipelineToFile service to save the polling notification event to a file. A new polling notification event of the same type will overwrite the contents of the corresponding log file.