WebSphere Adapter for SAP Software

Testing the module

Test the module to make sure you can retrieve a list of customers from the SAP server. You enter search criteria, and the list of customers meeting that criteria is returned.

  1. In the Business Integration perspective, begin the testing procedure by right-clicking CustomerList and clicking Test > Test Module.
    Figure 1. Specifying that you want to test CustomerListApp
    A screen capture showing the action of right-clicking CustomerList and selecting Test and then Test Module.
  2. In the Initial request parameters window, scroll to the SapIdrange array.
    Figure 2. The Initial request parameters section of the test environment
    A screen capture of the test environment, with the SapIdrange entry selected.
  3. Right-click SapIdrange and select Add element.

    If you are prompted to enter the number of elements to add, select 1 and click OK.

  4. Select customer records from 1 through 100:
    1. Expand the new SapIdrange element.
    2. Type E for InclusionExclusionCriterion.
    3. Type 1 for CustomerNumber1.
    4. Type 100 for CustomerNumber12217378.
    Figure 3. The Initial request parameters section of the test environment, with the sample values filled in
    A screen capture of the test environment, with example entries shown in the value fields of SapIdrange.
  5. Click Continue.
  6. Click Finish. The integration test client invokes CustomerListApp.
  7. Scroll down to the Return parameters window to see the list of customers.

Result

The list of customers meeting the search criteria is displayed, indicating that CustomerListApp successfully completed.

Terms of use |

Last updated: Mon 30 Oct 2006 03:34:57

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)