Test module configuration
3.
Select the testing mode and click
Finish
to start the test. On the Deployment
Location screen, select a WebSphere Process 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, WebSphere Integration
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.
To run another test, click on
Invoke
in the top right corner of the Assembly Editor.
Saving business object data
You can 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
WebSphere Integration Developer utility. Datapool allows you to save business
object data for subsequent tests. To use Datapool, perform the steps in the
following 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.
WebSphere Adapter development overview
199
Содержание WebSphere Adapters
Страница 1: ...WebSphere Adapters WebSphere Adapter Toolkit User Guide Version 6 Release 2 Version 6 Release 2...
Страница 2: ......
Страница 3: ...WebSphere Adapters WebSphere Adapter Toolkit User Guide Version 6 Release 2 Version 6 Release 2...
Страница 6: ...iv WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 211: ...7 Start UTC using the Run universal test client option WebSphere Adapter development overview 205...
Страница 220: ...214 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 224: ...218 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 225: ......
Страница 226: ...Printed in USA...