IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Validating the code
Testing the adapter in managed mode
Testing the adapter in managed mode means testing adapter instances on IBM BPM. This type of testing, in contrast to testing in unmanaged mode, more closely reflects the production environment that customers encounter.
Before testing your adapter implementation in managed mode, you must Packaging and exporting a resource adapter.
Running tests in managed mode help uncover problems your adapter might have with the following services provided by IBM BPM and the Adapter Foundation Classes:
- Connection management
- Transaction management
- Event management
For information about testing the adapter in managed mode in WebSphere Application Server, see Validating code with Rational Application Developer / WebSphere Application Server.
- Installing the test client
To test your adapter in a run time environment, first install a test client on the target IBM BPM.- Testing outbound functionality
You test outbound processing by configuring an adapter instance, selecting test parameters, and optionally executing the test in debug mode to pause at breakpoints.
- Saving business object data
You can use Data pool to save business object data during testing to eliminate the need to reenter business data with each test iteration.
- Use an execution trace
The test client installed provides you with a trace of the execution and the data path of the test. You can optionally load any previously saved execution trace into the test client. This enables you to renew a test session at the point where you saved the execution.- Testing inbound functionality
To test inbound functionality, you configure an inbound instance of your adapter with an export monitor. You then run an outbound adapter instance to generate an event of interest for your inbound adapter.