How to simulate external system using inbound asynchronous ABAP Webservice?

When you want to decouple external system or test your API based on inbound ABAP Web Service directly without any middleware you can choose between ICF and SRT_MONI persistence.

Automation Object Creation

First create automation object ABAP Webservice/ICF automation object and provide system line for current and reference documents.

 

Next, provide all the necessary parameters.

  1. HTTP RFC Destination to the target system where the messages will be injected. This should be a HTTP Connection to ABAP System (type H)

  2. Direct URL to your ABAP Web Service. It can be taken from the SOAMANAGER service definition binding.

     

  3. Define Persistency of the messages - leave blank if you will you ICF, tick if you will use WS Message Monitor persistency (SRT_MONI)

  4. Fill the header information with a SOAPAction and Content-Type. It can be taken from the WSDL

 

Test Cases Creation

To create test case to go Int4 APITester Cockpit based on the inbound ABAP Webservice message:

  1. Go to the Int4 APITester Cockpit and open the folder where you want to create your test case and go to the Edit Mode.

  2. Provide Test Case Description, ABAP Webservice/ICF as the Type, automation object, origin environment and Document Number


    To use the message based on the ICF - copy the Message ID from the SICFRECORDER transaction


    and to use the message based on the Web Service Monitor copy the Message ID from the SRT_MONI transaction:



For ICF persistence please make sure that the recordings is enabled in your system for the specific path. More information here.

 

3. Click Save button.

Test Cases Execution

Select previously created test case and execute it from the Int4 APITester cockpit and make sure it’s working fine.

© 2017 - 2022 Int4 AG All rights reserved