欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

SAP OData服务性能测量的四种办法 SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

程序员文章站 2022-07-02 14:28:37
...

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.

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

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”.

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

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

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

Approach3 – Chrome extension Postman

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

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

Approach4 – Gateway performance trace /IWFND/TRACES

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

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

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

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

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

 

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP 

 

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP OData服务性能测量的四种办法
            
    
    
        SAPSAP云平台SAP Cloud PlatformSAP成都研究院ABAP