SAP OData服务性能测量的几种工具和手段
The OData service url being tested is: /sap/opu/odata/sap/CRM_ODATA/TaskCollection?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.
![](https://img.haomeiwen.com/i2085791/d43d54363eb8b07a.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”.
![](https://img.haomeiwen.com/i2085791/594876745d310aec.png)
Hover the mouse to column “Timeline – Start Time”, and more detail explanation of elapsed time will be displayed as below:
![](https://img.haomeiwen.com/i2085791/6a9bf466e023ef5d.png)
Approach3 – Chrome extension Postman
You can also use Chrome extension – Postman Restclient to get a draft
![](https://img.haomeiwen.com/i2085791/4dc873756deb318c.png)
Approach4 – Gateway performance trace /IWFND/TRACES
Launch the tcode and enable the performance trace by selecting the checkbox “Performance Trace”.
![](https://img.haomeiwen.com/i2085791/5e2b547d296d1c01.png)
Then trigger a request via any of the above three approaches, and check your performance trace here:
![](https://img.haomeiwen.com/i2085791/f47f10e995a58818.png)
If you want a more detailed view, double click the entry, and then click “Trace Details”:
![](https://img.haomeiwen.com/i2085791/3be60b55482e8346.png)
![](https://img.haomeiwen.com/i2085791/0d15d9387f0aa39c.png)
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
![](https://img.haomeiwen.com/i2085791/fc7ecd97deb67090.png)