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

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.

After entering the same data numerous times, you will be thankful for Data pool, an Integration Designer utility. Data pool allows you to save business object data for subsequent tests. To use Data pool, perform the steps in the following procedure:


Procedure

  1. Open the Test module in the Assembly Editor. Right-click the adapter module in the Navigation pane and select Test > Test Module.
  2. Save the business data. After entering values for Detailed Properties, right-click the topmost entry in the Initial request parameters pane. Select Add Value to Pool from the menu.

    Adding a value to the Data pool


Results

This adds the data to Data pool.


What to do next

When you want to use this keyed data again, select Use Value from Pool.

Testing the adapter in managed mode