2

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

 1 year ago
source link: https://blogs.sap.com/2022/09/21/sap-process-integration-test-tool-pit-what-is-new-with-sp-25/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
September 21, 2022 3 minute read

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

As usually shortly after new SP release, here comes the regular update on recent Process Integration Test Tool features available with SP25. This time it was a short SP for us in development and therefore we have only one major feature and some smaller usability improvements.

Improvements in Test Case Editor

Test case editor has got a facelift with SP25 and looks now tidier. The buttons in all tab sections moved into the toolbar over the table, so that now much more space is available for the content.

Before/after%3A%20Buttons%20in%20the%20test%20case%20editor

Before/after: Buttons in the test case editor moved into toolbar

While we were at it, we also aligned all menu items, so that all of them are reachable via toolbar and via context menu of right mouse button.

Test Execution Summary Continued

In the previous SP we introduced the possibility to create Test Execution Summary in the NWDS UI. With the latest developments performance of this feature was improved, and the generation of the document is now per default executed in the background.

Test%20execution%20summary%20now%20generated%20in%20the%20background

Test execution summary is now generated in the background

When you press ‘Generate’, a background job is triggered and you see the progress in the right lower corner. You can safely close the wizard and continue with your work. Once the document is ready, a file save dialog will pop-up asking you to provide file location.

Additionally, the possibility to generate test execution summary is now also available in PIT Web UI. You can trigger it in the ‘Actions’ column in ‘Test Execution Results’ view. The document will be generated in background. In accordance with your browser settings, it will either be stored in the selected default folder, or you will be prompted to select a location.

Test%20execution%20summary%20also%20available%20in%20UI5

Test execution summary also available in PIT Web UI

Test Dataset Export and Import

Until now it was possible to create a new test dataset

  • By extracting messages from the system immediately
  • By extracting messages from the system at specified point in time (scheduled)
  • By extracting message periodically according to specified schedule
  • Or by modifying an existing test dataset (copy, cut and paste messages, merge multiple data sets) and storing it as a new one

In all this cases the original message was extracted from some PI system and stored in PIT.

With SP25 it is now possible to export PIT test dataset to a file and to import it from file.

Select a test dataset and choose “Export” from the context menu or from the toolbar, if you want to store content of test dataset into file. Select the location where to store the file in the file chooser dialog. During the export, a tpz-file will be created and stored to the file system. It contains all messages of the test dataset.

Export%20test%20data%20set%20to%20file

Export test dataset to file menu

If you want to import a test dataset from file, select “Import” from the context menu or from toolbar.

import-menu-1.png

Import test dataset from file menu

In the dialog, choose the name of the new test dataset, select configuration object and location of the file. The test system/configuration object can be different than the original configuration object. There is no check if the content is suitable for the interface. You must make sure by yourself, that the content fits to your scenario. The only check, which is done by PIT is that communication pattern of the import file and test case matches.

Import%20test%20dataset%20wizard

Import test dataset wizard

Export/import feature offers you a new way to create test data for your scenarios, where you can’t extract data directly from the system but have it already in your PIT system and would like to re-use it.

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 23?

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK