Skip to Content
Author's profile photo Jerry Wang

Measure the performance of your OData service

The OData service url being tested is: /sap/opu/odata/sap/CRM_ODATA/TaskCollection?$filter=isMyTask eq true&$expand=DocumentNotes,DocumentNextUserStatuses,DocumentHistories,DocumentApplicationLogs,Attachments

Approach1 – gateway client

Log on your gateway ( frontend ) server, use tcode /IWFND/GW_CLIENT, paste the url and execute. Then you will get execution time in unit Millisecond.

/wp-content/uploads/2016/01/clipboard1_866671.png

Approach2 – Chrome development tool

Open Chrome development tool via F12, paste the COMPLETE url with host name and port number and execute. The time will be displayed in column “Time”.

/wp-content/uploads/2016/01/clipboard2_866672.png

Hover the mouse to column “Timeline – Start Time”, and more detail explanation of elapsed time will be displayed as below:

/wp-content/uploads/2016/01/clipboard3_866673.png

Approach3 – Chrome extension Postman

You can also use Chrome extension – Postman Restclient to get a draft

/wp-content/uploads/2016/01/clipboard4_866674.png

Approach4 – Gateway performance trace /IWFND/TRACES

Launch the tcode and enable the performance trace by selecting the checkbox “Performance Trace”.

/wp-content/uploads/2016/01/clipboard5_866675.png

Then trigger a request via any of the above three approaches, and check your performance trace here:

/wp-content/uploads/2016/01/clipboard6_866676.png

If you want a more detailed view, double click the entry, and then click “Trace Details”:

/wp-content/uploads/2016/01/clipboard7_866677.png

/wp-content/uploads/2016/01/clipboard8_866678.png

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Chandrashekhar Mahajan
      Chandrashekhar Mahajan

      Nice blog! One more approach. Use sap-statistics=true  More explanation can be found here Some new features in SAP NW Gateway 2.0 SP08

      Regards,

      Chandra

      Author's profile photo Jerry Wang
      Jerry Wang
      Blog Post Author

      Hi Chandra,

      Thanks a lot! I never knew this option before 🙂

      Best regards,

      Jerry

      Author's profile photo Andre Fischer
      Andre Fischer

      Also check out the new transaction /IWFND/STATS

      SAP Gateway Statistics - SAP Gateway Foundation (SAP_GWFND) - SAP Library

      Best Regards,

      Andre