Measure the performance of your OData service
- Approach1 – gateway client
- Approach2 – Chrome development tool
- Approach3 – Chrome extension Postman
- Approach4 – Gateway performance trace /IWFND/TRACES
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.
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”.
Hover the mouse to column “Timeline – Start Time”, and more detail explanation of elapsed time will be displayed as below:
Approach3 – Chrome extension Postman
You can also use Chrome extension – Postman Restclient to get a draft
Approach4 – Gateway performance trace /IWFND/TRACES
Launch the tcode and enable the performance trace by selecting the checkbox “Performance Trace”.
Then trigger a request via any of the above three approaches, and check your performance trace here:
If you want a more detailed view, double click the entry, and then click “Trace Details”:
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
Thanks a lot! I never knew this option before 🙂
Also check out the new transaction /IWFND/STATS
SAP Gateway Statistics - SAP Gateway Foundation (SAP_GWFND) - SAP Library