Your SlideShare is downloading. ×
Web Performance Testing in 60 Minutes
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web Performance Testing in 60 Minutes

515
views

Published on

Performance testing should be an integral part of any development process. Unfortunately, you usually do not have time for that. The best thing would be if everything automatically - would work …

Performance testing should be an integral part of any development process. Unfortunately, you usually do not have time for that. The best thing would be if everything automatically - would work itself-by. Especially in the context of Web applications they have developed over the last few years, several best practices, such as the performance of Web applications can be guaranteed. With the help of an automated performance testing tool sets can be automated very well integrated into continuous integration environments. Step by step we set up a test environment automatiserte performance based on Ant, Huson, dynaTrace Ajax Edition and a Performancerepository. In conclusion, some interesting findings based on the analysis of several thousand web sites are presented.

Presented by Alois Reitbauer, Technology Strategist, dynaTrace-Compuware Center of Excellence, at the W-JAX Nov 2010 Conference

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
515
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. @AloisReitbauer| dynaTrace SoftwareWeb Performance Testing in60 mins
  • 2. The Idea
  • 3. • Track major performance charateristics• Invest only litte time• Get continuous results• Reuse functional tests• Use same approach across across the lifecycle
  • 4. The Solution
  • 5. <target name="test"> @Test<junit fork="true" haltonfailure="true"> testLogin {<test name=„MyTest" /> // test code here</junit> }</target>
  • 6. Building the Test
  • 7. • Use WebDriver for testing• Start with a simple test• Learn how to be fast• Work on reuseability• Look at PageObjects• Simplify using PageFactory• Use some tweaking
  • 8. Analyzing the Data
  • 9. • Define important aspects• Use dynaTrace Ajax for analysis• Compare against Best Practices• Analyze using KPIs
  • 10. Automation
  • 11. • Automate Test using Ant• Enable automatic tracing• Configure dynaTrace• View Analysis Beacon• Define what to do with data• How to write a simple repository• Have a look at ShowSlow
  • 12. <target name="test"> <junit fork="true" haltonfailure="true"> <test name="com.dynatrace.ajax.selenium.SimpleTest" /> <env key="DT_IE_AGENT_ACTIVE" value="true" /> <env key="DT_IE_SESSION_NAME" value="SimpleTest" /> <env key="DT_IE_SERVER_PORT" value="9988" /></junit></target>
  • 13. -Dcom.dynatrace.diagnostics.ajax.beacon.autoupload= true-Dcom.dynatrace.diagnostics.ajax.beacon.uploadurl= http://localhost:8080/beaconstorage/endpoint/-Dcom.dynatrace.diagnostics.ajax.beacon.portalurl= http://localhost:8080/beaconstorage/dashboard.html
  • 14. { "version":"2.0.0", "url":"" , "rank":56, "ranks": { "cache": { "rank":100, "comment":"" } , "net": { "rank":100, "comment":"" } , "server": { "rank":94, "comment":"2 dynamic server-requests" } , "js": { "rank":95, "comment":"2 slow JS handlers" }},"timetoimpression":6605,"timetoonload":7642,"timetofullload":9505,"reqnumber":8,"xhrnumber":0,"pagesize":122610,"cachablesize":108735,"noncachablesize":13875,"timeonnetwork":3013,"timeinjs":391,"timeinrendering":385}
  • 15. DetailedComparison
  • 16. • Look at HAR file export• Use XML/Excel export• Build a simple comparator
  • 17. Real World Data
  • 18. Alexa 100First Impression: 1sOn Load: 0.98 sFully Loaded: 1.2 s# Requests: 11 – 179Client Time: 47 ms – 1.8 sNetwork: 1.1s - 16 sServer Time: 122 ms – 7.5 s
  • 19. Conclusion
  • 20. Download the latest Application Performance almanac:Web | Cloud | DevOps | Mobile | Automation | Tuningwww.dynatrace.com/almanac

×