Mais conteúdo relacionado Semelhante a thwackCamp 2013: Get the Most Out of your Web Performance Monitor (20) thwackCamp 2013: Get the Most Out of your Web Performance Monitor2. Agenda
» Perils of JavaScript®
» Maintainable and robust transactions
» Optimizing the load of transactions
2
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
3. Perils of JavaScript
» Dynamic pages using JavaScript makes it interesting to monitor
» Many reasons
Hidden elements in HTML
Dynamically generated elements
Dynamically generated ID
3
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
4. Handling the edge cases
» Navigate with keyboard
» Use alternative navigation path
» Use native keyboard commands support by Web App
» Record all JavaScript events
» Use XY-mode (with extra validation)
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
4
5. Maintainable and Robust Transactions
5
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Web Applications are under constant development
» User navigation during recording is not mechanically precise
6. Keep it clean and minimalistic
6
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Re-record your transaction few times
» Find ideal series of actions to exercise whole business process
» Remove or modify redundant steps and recorded actions
Use export/import function to modify XML
7. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Variations in response times
» False alerts can be caused by many reasons
Network traffic
Server load
Application performance issues
8. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Add Wait action after the step
» Wait times won’t count into the overall timing of the transaction
9. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Add Image Match to absorb variation
» Waiting time is counted into the
duration of a transaction
» If the image match expires before the
image is loaded, transaction will fail
10. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Internet Explorer® Versions
» Sometimes will
transaction fail, but
work fine on your
desktop
» Match versions of IE
in the recorder and
on the player
11. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Optimization of Player Load
» WPM recording is a copy of
what a user does in Internet
Explorer
» This fact has certain
requirements for memory
and CPU
12. Player load =
number of running playbacks /
total number of playback workers *
100 +
transactions waiting for playback
© 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Player Load Formula
13. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
How to optimize load
How to work with the load value?
1. If the load is consistently below 100%, there is capacity for more transactions.
2. If the load is consistently above 100%, player is too busy.
» Simplify your transactions
» Reduce frequency of playbacks
» Move transactions to another player
» Add resources to the player
14. © 2013 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Thank You!
The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds
Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or
pending registration in other countries. All other SolarWinds trademarks, service marks, and logos
may be common law marks, registered or pending registration in the United States or in other
countries. All other trademarks mentioned herein are used for identification purposes only and
may be or are trademarks or registered trademarks of their respective companies.