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.
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:
Go to transaction SICF
Enter Service Name = scs and click Execute (F8)
From menu choose: Edit > Recorder >Activate Recording
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.
Activate the Recording
Recorded requests can be monitored in transaction SICFRECORDER
Parameters
Parameter name | Description | Example |
Show XML in the correct order (unsorted) | This flag determines if the file lines in the XML Comparison Report should be displayed unsorted 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) |