天天看點

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

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應用的性能分析

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

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