USE:
PI Synchronous interface type is responsible for testing synchronous scenarios. In such cases, test validation is based on a receiver system response message and optionally on documents created in S/4HANA.
As the new test case is saved the request message is sent to ERP, the response message is fetched and saved in the int4 IFTT repository. int4 IFTT can check consistency on both: the business document created by the request, and the outbound xml of the response.
PREREQUISITES:
created request object definition
provided Additional Parameters for the synchronous interface in the object definition configuration
required PI/PO connection settings. For more details see PI Connection in int4 IFTT Installation and Maintenance Manual.
Synchronous testing covers following protocols: SOAP, REST, RFC, JDBC and HTTP. Please take notice that in order to test synchronous interface using HTTP adapter the receiver communication channel indicating the sender channel of HTTP type should have an adapter type set to SOAP with the conversion parameter ‘Do NOT use SOAP envelope’ switched on.
The reference document number passed in the message has to be unique. Make sure it has not been previously used to create a business document on the ERP.
PROCEDURE:
Creating a request test case:
PREREQUISITES:
You have completed the steps described in General rules for a test case creation.
Select "PI Synchronous response" for Interface Type field.
Leave Document Number field empty.
Save the test case.
Click the Content button of the created test case.
In Content Selection pop-up window select content type to be displayed. In order to create a new test case Request xml has to be added.
Select xml editor...
...and paste request xml message...
...or Load from file
Press Save after uploading the content.