Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182091
Participant
0 Kudos

OK, you've configured a scenario in the Integration Directory of SAP NetWeaver Exchange Infrastructure; now how would you like to test it without sending a test message? Well, if you have SP12 for XI 3.0, you can! Included in the new support package is a Test Configuration Tool for the Integration Directory. This tool simulates pipeline processing (with or without a sample message) to let you know if your configuration is correct.

Suppose you are implementing an IDOC scenario in XI, but do not yet have the ALE configuration done in the sending system. Or you have configured an exchange of business data with a partner, but they are not yet ready to begin actual message testing. These are sample scenarios in which the test configuration tool could come in handy.

You can access the test tool in the Integration Builder by navigating the menu path T ools è T e st Configuration . You will see the following screen in the editing area:

In addition to the menu bar, the test screen has areas for entering header data and a payload (optional), following and controlling the test progress, and viewing the configuration objects and test log.

To start the test, you must have all of the configuration objects activated; the test won't run if there are active change lists. Start the tool as described above, and then enter the header data for the incoming message. You can enter the header data directly, by using drag-and-drop, or with F4 help. I like to drag the sender Service (and optionally, Party) into the field, then use F4 help to select the interface and namespace. This way I only see the interfaces that are valid for the given sender.

You can enter the Receiver information here, but if you leave it blank you will test if the pipeline can successfully determine a receiver. You can also paste a sample payload document into the Payload area; if you do not specify the payload, any mapping programs will not be tested.

Once you have entered the test data, you can click on either the “Run” ( ) or the “Step Over” ( ) icon to start the test. In “Run” mode, the tool will try to run all the way through the configuration without stopping. In “Step” mode, it will execute each pipeline step and then wait for another click on the icon. To start the test again (perhaps changing test data first), click on the “Reset” ( ) icon.

You can view the test results in the log window:

You can drill down to see detailed information for any step, and if are any gaps in the configuration, you will see them. When I remove my interface determination and repeat the test, I see:

As you can see, the trace information is exactly what would be written to the trace header in the Integration Server at runtime. This will be useful in anticipating problems with the given scenario.

Once you have upgraded your XI system to SP12, I recommend you try the Test Configuration tool to help you streamline your interface configuration!

7 Comments