SAP Process Integration Test Tool (PIT) – What is new with SP 24?

It is time again for an update on the latest features for SAP Process Integration Test Tool. With SP 24 we have on offer many smaller usability improvements for periodic extraction and where-used help (SAP Note 3145883) , new test buttons and a flexible report generation for your test executions.

‘Test Connection’ for test system

From customer incidents we know that sometimes it could be challenging to setup test systems in PIT correctly. One typical example is that user, who is maintained in the destination lacks some authorizations and therefore the list of available configuration objects can’t be shown or messages can’t be extracted from the system. “Ping Destination” in NWA only checks that the system is reachable, but do not check if password is correct and user has the required permissions. So, it is helpful only to a limited degree in such case.
The new “Test Connection” functionality in the test system editor shell help you to verify that setup of all destinations is fine and user have all the required permissions.

Figure%201%20Test%20Connection%20wizard%20in%20the%20test%20system%20editor

Test Connection wizard in the test system editor

Press “Test Connection” button in test system edtior to open the wizard. In the wizard, choose if you want to test the connection to the main system only or also the connection to the decentral adapter engine (only possible if there is one connected). If you know that the system will be used only as source or only as target, you can reduce the check to this scenario only (user requires different permission). With the ‘Next’ you can start the check and see the detailed results. In my example user do not have permission to send messages.

Test%20Connection%20shows%20missing%20permissions

Test Connection shows missing permissions

‘Test Alert’ for alert configuration

The second new test button allows you to check if the configuration for PIT alert mails is correct. In the e-mail alert configuration editor there is new button ‘Test Alert’.  If mail configuration setup is correct (check here how to setup java mail client service), you will get a success pop-up in the UI and receive a test e-mail in your inbox.

Test%20e-mail%20alert%20setup

Test e-mail alert setup

Some companies have a policy, which requires to document test execution in external tools. One example is that every change on interfaces or mappings must be proofed by tests before approval and corresponding test protocols has to be uploaded into a central system.

If you execute your tests automatically using PIT, you have all the required information in the PIT system. But if you need this information in some external format, it was a cumbersome task to gather all the data. With a new ‘Test Execution Summary’ feature, this task should become much easier.

You can now generate a report about test execution in Microsoft Word (.docx) format with few mouse clicks. The report contains the information about the underlying PIT test objects, statistics about test execution and details about configuration objects in the scenario. You can define for which timeframe the report should be generated and which details it should contain. The test execution summary can be generated for a test case run configuration, test suite run configuration, and for a scheduled task.

Test%20Execution%20Summary%20context%20menu%20for%20a%20run%20configuration

Create Test Execution Summary context menu for a run configuration

Select context menu “Create Test Execution Summary” to open the wizard. Specify the time frame and details, which should be contained in the document and press “Generate” button. Once the document is ready, you can specify the location where it should be stored. Per default document will also open right after generation.

Choose%20time%20frame%20and%20content%20of%20the%20report

Choose time frame and content of the report

The document contains execution data in graphical and tabular way. If there were errors, the errors are listed. If report is generated for a test suite, it contains details for all run configurations which are part of the suite.

Example%20from%20the%20generated%20execution%20summary%20report

Example from the generated execution summary report

Do you require other information, which should be added to the report as well? Let us know in the comment under this blog post!

More Information about PIT can be found in SAP Help Portal and in other blog posts out of the PIT series:

SAP Process Integration Test Tool (PIT) – First Steps

SAP Process Integration Test Tool (PIT) – Create and Execute a Test Case

SAP Process Integration Test Tool (PIT) – What is new with SP 22?

SAP Process Integration Test Tool (PIT) – What is new with SP 23?