Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to test odata API in on premise SAP

former_member767706
Discoverer
0 Kudos
475

how companies perform API testing in SAP, is it necessary to test SAP odata APIs ,can anyone suggest a solution ?

  • SAP Managed Tags:
2 REPLIES 2

former_member16553
Active Participant
0 Kudos
259

Hi,

Didn't get you question fully. Which API you are talking about? Do you want to test any external API or any ODATA which you have built in your SAP system? You can preform unit test of any ODATA API in your SAP gateway system using transaction /IWFND/GW_CLIENT. Thanks.

Regards,

Girdhari

  • SAP Managed Tags:

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos
259

Hi Gopisetty,

in more recent releases (as of 752 NetWeaver or SAP S/4HANA) you can perform unit tests using the OData proxy client which is more convenient than using transaction /iwfnd/gw_client as suggested by girdhari.mondal.

However if you are running older releases (e.g. ECC systems that are based on 740 or 750) tests using transaction /iwfnd/gw_client (SAP Gateway Client) is the way to go.

Testing API's even if they have been delivered by SAP in your own system landscape makes definitely sense since there can be reasons for failures that do not stem from bugs but also from the processes in your ECC / SAP S/4HANA system.

Kind regards,

Andre

ceterum censeo RAP esse utendam
  • SAP Managed Tags: