如何使用SAP事务码SAT进行UI应用的性能分析

93 阅读1分钟

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.

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.

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

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

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

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.

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

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