...
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 the documents created in S/4HANASAP Backend.
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:
Please note that the receiver system will not be virtualized. The connection must be working. The test validation will be performed based on the response from the receiver (after mapping in SAP PI/PO).
The optional validation of the SAP Backend document looks the same as test type PI GUID Inbound.
Info |
---|
PREREQUISITES:
|
...
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
...
|
PI GUID Inbound - Creates a test case based on SAP PI/PO message GUID number |
---|
|
|