loading
Blog

SAP Test Tool (PIT) – SAP PO 7.5 SP14

History

SAP has prepared a first version of a SAP PO upgrade testing tool – PIT. It’s being shipped with SP14 to SAP PO which is currently released.  The tool perfectly complements Int4 IFTT testing tool in one scenario the so please have a look how you can configure it to help you perform an SAP PO upgrade more easily.   

Use cases

SAP Test Tool primarily focuses:

  • help with SAP PO dual stack (ABAP & JAVA) to single stack migrations (JAVA only)

Availability/prerequisites

In order to use SAP Test Tool you need to have SAP PO 7.5SP14 (where you can install it or run test scenarios) but if you just want tofeed the SAP Test Tool with data you can use a system from 7.31 SP17 or 7.5SP06 or higher.

For each message used as a source you need to enable loggingon BI, MS, AM.

Current limitations (this may be subject to change)

  • ICOs with sender/receiver wild cards
  • Sync/async, async/sync bridges
  • Mapping splits
  • Flows with Decentralized adapter engines
  • No adapter modules are tested

Terminology used in SAP Test Tool

Test system – SAPPO system in the landscape which is used for testing – either as source(feeding the Test tool with messages) , target (where sender’s messages areexecuted) – those are used in dual stack to single stack migrations or both(sender and target) which is a typical use case for regression testing on asingle system.

Test Case – SAPPO routing configuration which is being tested (ICO, etc.)

Test Data Set – aset of messages (successfully processed) which is a subject for testing.

Run configuration– specifies on which landscape should the test case be executed

Authorizations

In order to be able to create the configuration and run ityou’d need the following roles: SAP_PIT_TEST_DEVELOPER, SAP_PIT_LANDSCAPE_ADMINISTRATOR.

Configuration

Currently SAP Test Tool is using NWDS as a mainconfiguration tool. The scenario below will describe how to do regressiontesting on a single SAP PO system. We will find a successfully processedmessage, do a mapping change and see what will happen once we reprocess thesame message via the same ICO. Ideally it should display all of thedifferencies between the two runs.

Step 1

Open NWDS and find the new perspective: SAP ProcessIntegration Test.

Step 2

Open preferences and insert connection data to your SAP POwere the SAP Test Tool is installed.

Step 3

In the next step you need to define the systems (source andtarget) where you need to run your tests. In this case it’s the same systemwhere SAP Test Tool is installed.

Step 4

In the next step we can start creating Test Cases.

Select the type of the flow you want to test.

In the next step it’s time to select the routing objectitself (ICO).

Step 5

In the next step the Test case is created so we can populateit with test data. In order to do that select the Test Data tab of the TestCase.

Then select the „Add“ button to add messages to the testdata where you can specify the source system from which you want to fetch thedata.

Next select the time range when the message was created and the message itself.

On the Verification tab of the Test case you can also definewhich parts of the message should not be checked (dates, etc.).

This step finishes the configuration/customizing part of theSAP Test Tool.

Run and validation.

In order to run the test you need to create a new runconfiguration.

Where you need to specify the Test Case and the landscape ofthe execution.

What you can also select here is the checkbox „Stop messagebefore delivering to Receiver“ which will automatically cancel the Test messageafter processing so it will not overload the receiver system.

Once you press Run the Test Case will get executed and theTestRun is executed you can send it for Verification which will compare the old(original) target message with the new one created by executing the Test Case.

As I’ve changed the mapping before running the Test Casewhat we can see is that there are some differences found.

In the Error Overview section we can see a more detaileddescription talling us the what is different between the original message andthe one from the Test Run.

Complementary tools:

SAP Test Tool is a free test tool provided by SAP which can help in some SAP PO Use types mentioned in this article. In case you’d need to Test some other use cases like the ones mentioned below fell free to contact us about a demo of the Int4 IFTT (the only SAP certified tool for testing all SAP middleware scenarios).

SAP Test Tool – PIT and Int4 IFTT scenario coverage

ToolSAP
PIT
Int4
IFTT
Use Case Support
SAP PO dual stack to single stack migrationsYesYes
3rd party middleware to SAP PO migrationsNoYes
SAP PO to 3rd party middleware migrationsNoYes
SAP EDI migrations (B2B add on)NoYes
SAP Cloud Platform Integration (CPI) testingNoYes
Service VirtualizationNoYes
S4/HANA conversions testingNoYes
SAP Backend validations (document field level)NoYes
SAP Backend (IDOC, Proxy) testing, SAP eCATT
integration
NoYes
SAP AIF TestingNoYes
Test Driven DevelopmentNoYes
Continuous testing/DevOpsNoYes
Integration test documentationNoYes
SAP PO Features
Use of successful messages as reference messagesYesYes
XML comparison (including exceptions)YesYes
EDIFACT/ flat files comparison (incl. exceptions)NoYes
Exchanging test cases between environmentsYesYes
SAP PO adapter module testingNoYes
SAP PO multimappingsNoYes
Background (scheduled) validations NoYes
Solman integration, incident managementNoYes
NWDS requiredYesNo
SAPGUI requiredNoYes
Scope
SAP PO only (after 7.31 SP17)YesNo
SAP PO (also versions prior to 7.31 SP17) , SAP CPI,
SAP Backend interface implementation,
3rd partymiddleware
NoYes
License
LicenseFreeLicensed

More videos on the SAP PO upgrades topic – How to upgrade you SAP PO landscape

Int4 IFTT SAP PI Migration

With our latest service pack for Int4 IFTT (Interface Testing Tool) we’ve added a new feature to support SAP PO dual stack to single stack migrations. Read More

IFTT: how to set up a test for a message split?

Setting up an API test in Int4 IFTT for an SAP PO scenario with a message split can be a bit tricky due to the fact that message processing staging can be set up in a different way for each ICO. In case we want to regression test our SAP PO scenario we may need to consider the following steps:

Read More

From the business document to interface test case

Automated testing of SAP integration is significantly different than system testing based on user interface playback. For such testing we created Int4 IFTT. In this and following blogs we would like to bring you closer to the concepts how it works and helps in the SAP projects.

Read More