Posts

What is the test coverage of your SAP PI message mappings

On a customer demo I got asked what is the test coverage of the tool. We do show in the UI how many ICO’s you have test for but how about message mappings and also modules used in your landscape and how many times they was run.

We already build a report that showed how many times a message mapping was run in a given period based on the data in the PI monitor. So it was just about combining the two sources to give users a good view of what is going on.

For each integration flow we added the number of test cases created with the IRT tool. Then number if then propaged down to each message mapping so we can show how many message mappings is tested and more important which is not.

We also added a tab with the modules used in your landscape and how they performed. Probably we also need to add the IRT test cases to this. But it also depend on how people want to with our with our our modules.

Check out the demo and then try it for free on your own system

You can try it out on your own system. Just download the Figaf IRT tool run it on your laptop and you will be able to see the data after the landscape have been downloaded.

Testing SAP PI/PO without installing anything on the PI server

With Figaf IRT we have been able to test your SAP PI/PO system for two years.

One of the big concerns of customers was that they needed to install our component on their SAP PI/PO system. We have tried to ensure that it cannot break anything and they can receive the code for it. I do understand the challenge in organizations.

That is the reason that new now have added a new feature that allows users to test only their SAP PI/PO interfaces without installing any code on the server. They just download our Jar application and start it on the local laptop for testing. Then add connection information on the PI server, and in most cases, you can use your existing SAP PI user for it.

You can try it out now at https://figaf.com/irt

It is free up to 10 ICOs/100 inbound messages used for testing. You can run it as many times as you like. There is also a host of other features for testing and improving the development of interfaces.

Requirements for testing

You must have JAVA 8 on your laptop to run the IRT application. And it must be able to start up the web application that is build in to it.

You need a patched system after October where the feature to read payloads from the log messages was released. See SAP note 2437778 

You user must have access to read in the message logs and possible setup the XI30 channel for running the test with.

You will need to have the interface to save both the inbound and outbound message (BI and AM) . You can configure this global or just for the specific ICO/Iflow See this blog on the logging. It is just the logging required not the staging.

Future development on this

We still have a few improvement that will be delivered over the next weeks.

  • The ability to look in the history instead of just from you start the recording. This will make it a lot faster to setup test cases because the system could see everything you have processed.
  • Option to add the standard SAP Logging modules on the channels to allow recording of messages after module. It will cost a little on the performance and storage requirements but for some scenarios it will make it easier to run
  • Support for other patterns than just Async.

I’m looking forward to hear you feedback on how this works in the real world.