如何使用SAP事務碼SAT進行UI應用的效能分析

i042416發表於2020-02-27

# Sent: Wednesday, July 11, 2012 7:49 PM


Subject: 【Knowledge share】How to trace UI transaction using SAT

Have you ever noticed this button in SAT during your testing? We can use it to trace transaction which are not launched by backend.

如何使用SAP事務碼SAT進行UI應用的效能分析

Suppose I want to trace the performance when I click product hyperlink in search result. First I have to set a breakpoint to the event handler and launch UI to trigger the breakpoint.

如何使用SAP事務碼SAT進行UI應用的效能分析

Once BP is triggered, click button highlighted above, select the session and click button “Activate Measurement”.

如何使用SAP事務碼SAT進行UI應用的效能分析

Once done there is a new yellow light indicating that trace is switched on. The trace file is also generated accordingly.

如何使用SAP事務碼SAT進行UI應用的效能分析

Then click F8 to finish execution, and deactivate the trace. Now the SAT file is ready with a green light turned on.

如何使用SAP事務碼SAT進行UI應用的效能分析

At this time, please do not directly go to SAT and view your trace file: It will not work. Instead please just double click the green light, it will automatically format SAT file for you.

如何使用SAP事務碼SAT進行UI應用的效能分析 如何使用SAP事務碼SAT進行UI應用的效能分析

Once done, it will also be displayed correctly in SAT.

如何使用SAP事務碼SAT進行UI應用的效能分析


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2677393/,如需轉載,請註明出處,否則將追究法律責任。

相關文章