Your SlideShare is downloading. ×
0
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
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

A Beginner's Guide to Application Load Testing

3,698

Published on

Now you have finished your site and someone asked you the question: How many users can we serve before we need more power and muscle on our server environment? Good question! And if you don't know how …

Now you have finished your site and someone asked you the question: How many users can we serve before we need more power and muscle on our server environment? Good question! And if you don't know how to find that out, how to measure it, and find the bottle necks, come to this session. You’ll find out how to get started and learn more about tools for Coldfusion application load testing and how to use them.

See Video Recording of Talk at NCDevCon here:
http://goo.gl/Obia8

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,698
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
70
Comments
0
Likes
3
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. <ul>Load Testing w/ JMeter </ul><ul>Birgit Pauli-Haack Pauli Systems on Twitter @bph </ul>
  • 2. <ul>Enough about me. </ul><ul>Coldfusion programming as volunteer for <li>Naples Free-Net since 1999
  • 3. Project Manager HUD-HMIS Collier County 2004 - 2007 </li></ul>Pauli Systems was founded in 2002 Mostly CF development, CMS, LMS, Online Publishing, Server Admin services,Migration & Integration APIs,Open-source implementation, Mobile Web / Augmented Reality, WordPress. Naples, Florida since 1998 Before Munich,Germany
  • 4. <ul>Over the next 40 min </ul><ul><ul><li>A Story
  • 5. What exactly do we need to test?
  • 6. How to create traffic - JMeter
  • 7. Demos
  • 8. Analyze Behavior
  • 9. Resources
  • 10. Q & A </li></ul></ul>
  • 11. <ul>The Story of a GoLive </ul><ul>Redesign of a relative high volume Business News site. </ul><ul><ul><li>Upgrade CF 7.01 to CF 9.01
  • 12. Upgrade from Windows 2003 to Windows 2008
  • 13. Migrate front end code base 2003 to 2011 
  • 14. Integrate stand alone code 2005 & 2007 
  • 15. All into one Framework: Fusebox 5.5 </li></ul></ul>
  • 16. <ul>First attempt of GoLive May 7 8:45am  </ul><ul>Rollback to old server May 7 noon.  </ul>
  • 17. <ul>What Happened? </ul><ul>What could have been the cause?  </ul><ul><ul><li>Database server?
  • 18. Coldfusion Code?
  • 19. SQL Queries?
  • 20. File operations?
  • 21. Systems configuration?
  • 22. Configuration CF Admin?
  • 23. 3rd Party CFX Tags
  • 24. Java Engine? </li></ul></ul><ul>We need better tools. </ul>
  • 25. <ul>What do I mean when I talk about load testing? </ul><ul>Create Site traffic on your site,  and analyze behavior to find <li>Bottle necks
  • 26. So how are your users using site?
  • 27. 1) Many page requests at the same time
  • 28. 2) Which Pages are hit the most?  </li></ul>
  • 29. <ul>What is a normal amount of requests per second?  </ul><ul>Google analytics: Page Requests per hour Peak: 51,856 per hour = 14 request/second </ul>
  • 30. <ul>Which pages?  </ul><ul>This is a news site. - Homepage - Article pages - Media pages - Archives What is the ratio? Example:  Variations of Homepage: 42 % </ul>
  • 31. <ul>Using JMeter </ul><ul><ul><li>After installation
  • 32. Create a Test Plan
  • 33. Add components
  • 34. Run it
  • 35. Look Reports </li></ul></ul>
  • 36. <ul>Using JMeter </ul><ul>Summary Report </ul><ul>Throughput: 47.5 Request per second Per hour: 171,000 </ul>
  • 37. <ul>  </ul>
  • 38. <ul>Original Question </ul><ul>How many users can we serve before we need more power and muscle on our server environment?  Good question! </ul>
  • 39. <ul>Tool: FusionReactor  </ul><ul>There are other tools: Seefusion </ul>
  • 40. <ul>Request per second </ul><ul>  </ul>
  • 41. <ul>Average Execution Times </ul><ul>  </ul>
  • 42. <ul>Average JDBC Execution time </ul><ul>  </ul>
  • 43. <ul>CPU Usage </ul><ul>80 requests per second trigger 80 to 100% CPU usage ~ Max load ~ 3,456,000 Pages per 10 hrs Period </ul>
  • 44. <ul>How many visitors? </ul><ul>- For this particular site  - for this particular JMeter Test Plan - 80 requests per second  - 80 to 100% CPU usage - approx: 3,456,000 Pages per 12 hrs Period Average of 2.7 page view per visitor Serve up to 1,280 Mio Vistors per day. (12 hrs Period) </ul>
  • 45. <ul>DemoJmeter </ul><ul>Set-up JMeter Add a plan Add a thingy Add a report Add a graph Simple.  More complex:  user/name password Record sessions. Through Firefox.  Increase traffic. </ul>
  • 46. <ul><li>Apache JMeter
  • 47. http://jakarta.apache.org/jmeter/
  • 48. Fusion Reactor
  • 49. http://www.fusion-reactor.com/fr/
  • 50. More Tools
  • 51. CF411 Charlie Arehardt -
  • 52. Keyword:Page Performance Test
  • 53. http://carehart.org/cf411/#pageperftest </li></ul><ul>Resources: Tools </ul>
  • 54. <ul>Resources: How-Tos </ul><ul>YouTube: Website Stress Testing using JMeter: <li>http://www.youtube.com/watch?v=8NLeq-QxkSw
  • 55. Stuart Marsh, beardygeek.com
  • 56. CFMeetup session Kurt Wiersma:
  • 57. Search for Load Testing with JMeter
  • 58. May 2010
  • 59. http://www.meetup.com/coldfusionmeetup/pages/Recordings_of_the_ColdFusion_Meetup/ </li></ul>
  • 60. <ul><li>Testing load balanced environment through distribute/remote testing.
  • 61. http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  • 62. Improve the quality of your JMeter scripts
  • 63. http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-jmeter.html?page=1 </li></ul><ul>Resources: Articles </ul>
  • 64. <ul><li>[email_address]
  • 65. Twitter: @paulisystems
  • 66. Voice/text: 239-331-5878
  • 67. www.paulisystems.net
  • 68. www.idxtools.com (@bph blog) </li></ul>

×