Testmodule configuration
3. Select the testing mode and click Finish to start the test. On the Deployment
Location screen, select a WebSphereProcess Server to test in managed mode
(optionally you can select Eclipse to test in unmanaged mode). In addition, you
select Run or Debug mode. If you select Debug mode, you can set breakpoints
in your code; when the test reaches a breakpoint, WebSphereIntegration
Developer displays the Debug perspective.
A screen informs you that the test is running. Then, if the adapter is successful,
the business object you specified is populated with the return data.
Torun another test, click on Invoke in the top right corner of the Assembly Editor.
Saving business object data
Youcan use Datapool to save business object data during testing. This eliminates
the need to reenter business data with each test iteration.
After entering the same data numerous times, you will be thankful for Datapool, a
WebSphereIntegration Developer utility. Datapool allows you to save business
object data for subsequent tests. Touse Datapool, perform the steps in the
following procedure:
1. Open the Testmodule in the Assembly Editor. Right-click the adapter module
in the Navigation pane and select TestTest 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 Valueto
Pool from the menu.
WebSphereAdapter development overview 199