ABAP Web Service / ICF

ABAP Web Service / ICF is a test type that allows creating test cases based on payloads collected by ICF Recorder for Web Services and REST services based on SAP Internet Communication Framework.
For asynchronous Web Services it is possible to collect the payloads from Web Service Monitor (SRT_MONI) by setting the 'Web Service: Message Monitor Persistency' (WS_PERS_MO) parameter on the Automation Object.

ABAP Web Service / ICF test type is a specialization of Generic Synchronous test type which offers specific way of capturing the request and response.
For test execution all the options and parameters of Generic Synchronous test type apply.

 

It is required to enable ICF Recording to collect request and response data for Web Services and REST services based on SAP Internet Communication Framework.

Example - testing Web Service SalesOrderERPCreateRequestConfirmation_In_V1

Web Service is exposed in SOAMANAGER under /sap/bc/srt/scs/sap/ecc_salesordercrtrc1 endpoint:

Enabling payload recording:

  1. Go to transaction SICF

  2. Enter Service Name = scs and click Execute (F8)

  3. From menu choose: Edit > Recorder >Activate Recording

  4. In the Recording Settings dialog, provide service path and select Request + Response.

It is possible to enable recording for multiple services by restricting the path to a higher-level node.

  1. Activate the Recording

Recorded requests can be monitored in transaction SICFRECORDER

 

Parameters

 

Parameter name

Description

Example

Show XML in the original order (unsorted)

This flag determines if the lines of the file in the XML Comparison Report should be displayed in the original order or should be sorted alphabetically for a specific nodes.

Checked or 'X' - payload will not be sorted on the report

Unchecked or '' - payload will be sorted alphabetically (default value)

 

© 2017 - 2022 Int4 AG All rights reserved