In this article you will learn:
- How systems virtualization for SAP projects works in Int4 IFTT?
- How can you decouple SAP environment from legacy/external environments/EDI for testing purposes?
- What can you gain from Int4 IFTT virtualization?
Reading time: 5 minutes
Testing of interfaces can be a challenging task, especially in complex environments. Very often the ambition is to test interfaces end-to-end, which is understandable but can bring more risks and delays to a project or even a single change request. An alternative to this approach, can be to focus on testing of the interface in the environment where the changes are implemented. This can speed up things significantly but requires tools to do this properly.
Manual vs automatic testing
When we are discussing the testing strategy with companies, we often hear that they perform their testing manually. Sometimes they have tools for test automation, but the integration area is rarely covered there. The reason for this is the complexity of the topic. If the ambition is to test interfaces always end-to-end then the usual choices are:
- Test manually, involving legacy/external systems and teams
- Test automatically using test automation tool
Manual testing can be a tedious and prone for error process. On the other hand, to be able to test automatically end-to-end, you need to invest (time and money) in a tool and its setup.
But maybe the real question is if we should always strive for testing end-to-end? My suggestion is to do this only when really needed, for example during UAT phase of a project. But on many occasions, testing of only the environment affected by change, for example whole SAP landscape, should be enough. That though, can be secured if you are equipped with the right tool, for example Int4 IFTT.
Decoupling SAP environment
Implementing SAP solution tends to be a big step for companies. SAP environments can be quite complexed, and they also need to be integrated with the remaining parts of the company (legacy) and with the external world. It is usually the case that these parts remain the same or are changed/replaced only partially.
If the main changes, as a result of a project, are happening inside of SAP environment, then you should put most of your focus and resources on testing that part. This applies also to testing interfaces. Yes, you still need to test end-to-end at some point, but for most of the project, testing SAP should be enough.
Instead of spending time on executing the necessary steps in legacy environment, where no changes were implemented, you can focus on the part that really needs to be tested.
Using Int4 IFTT you can secure that your new or changed SAP environment will work properly for messages arriving from outside (legacy or external) and will produce correct messages when sending them outside.
Int4 IFTT Virtualization
With Int4 IFTT you can virtualize all the systems which are integrated with your SAP environment. For your interface scenarios this means the following:
- For inbound interfaces you virtualize the sender, and can simulate messages sent by that sender into your environment
- For outbound interfaces, you can secure that you send the right messages from your environment to the outside systems
You can either do the virtualization of all systems (legacy applications, EDI providers, etc.) on the SAP middleware level (what you can see on the Figure below on the left hand side) or even virtualize the SAP middleware itself (along with all of the systems connected to it) in case you’d like to run very isolated testing – see the right hand side of the Figure below.
Figure 1 – Int4 IFTT virtualization and test automation
In both scenarios, you can perform mass testing as well. That gives you the ability to verify various alternatives and ensure that you covered all of them. For example, for inbound interfaces you can use messages that you pulled from your productive landscape and store them as test cases in Int4 IFTT. Then you can run them, which will send the messages, virtualizing the sender, into your development or test environment. Finally, Int4 IFTT can automatically verify the outcome of those messages. The automatic verification can be done for both the middleware platform (e.g. SAP PO, SAP CPI, Dell Boomi) and the application system (e.g. SAP S/4).
There are many benefits of using Int4 IFTT and the service virtualization that it provides. You can benefit from decoupling of your SAP environment from legacy and external systems and test it independently. You can put more focus on the changes implemented in SAP, and still make sure that your changes will not affect the other systems. By using the real messages exchanged with the “rest of the world” you can secure that your solution can process the incoming messages properly and produce correct messages that are sent outside. Thanks to the mass testing ability you gain confidence by verifying hundreds or thousands of possible alternatives, instead of only testing a few as it would be the case in end-to-end testing.
You can check out the rest of the Int4 Blogs in order to read about Int4 IFTT and other interesting SAP-related topics. If you want to find out more about the Int4 IFTT features, just book a session with the product demo or contact us.
1. Testing SAP PI/PO Splitter with Int4 IFTT
2. Get advantage of the Int4 IFTT IDoc Message Selector during Test Case creation