Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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: 

Info

PREREQUISITES:

  1. Select "PI Synchronous response" for Interface Type field.

  2. Leave Document Number field empty.

  3. Save the test case.

  4. Click the Content button of the created test case.

  5. 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. 

    Image Added
  6. Select xml editor... 

    Image Added
  7. ...and paste request xml message...

    Image Added
  8. ...or Load from file

    Image Added
  9. Press Save after uploading the content.