<ul>Load Testing w/ JMeter </ul><ul>Birgit Pauli-Haack Pauli Systems on Twitter @bph  </ul>
<ul>Enough about me. </ul><ul>Coldfusion programming as volunteer for  <li>Naples Free-Net since 1999
Project Manager HUD-HMIS Collier County 2004 - 2007 </li></ul>Pauli Systems was founded in 2002 Mostly CF development, CMS...
<ul>Over the next 40 min </ul><ul><ul><li>A Story
What exactly do we need to test?
How to create traffic - JMeter
Demos
Analyze Behavior
Resources
Q & A </li></ul></ul>
<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...
Upgrade from Windows 2003 to Windows 2008
Migrate front end code base 2003 to 2011 
Integrate stand alone code 2005 & 2007 
All into one Framework: Fusebox 5.5 </li></ul></ul>
<ul>First attempt of GoLive May 7 8:45am  </ul><ul>Rollback to old server May 7 noon.  </ul>
<ul>What Happened? </ul><ul>What could have been the cause?  </ul><ul><ul><li>Database server?
Coldfusion Code?
SQL Queries?
File operations?
Systems configuration?
Configuration CF Admin?
3rd Party CFX Tags
Java Engine? </li></ul></ul><ul>We need better tools. </ul>
Upcoming SlideShare
Loading in...5
×

A Beginner's Guide to Application Load Testing

3,787

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 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,787
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
70
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

A Beginner's Guide to Application Load Testing

  1. 1. <ul>Load Testing w/ JMeter </ul><ul>Birgit Pauli-Haack Pauli Systems on Twitter @bph </ul>
  2. 2. <ul>Enough about me. </ul><ul>Coldfusion programming as volunteer for <li>Naples Free-Net since 1999
  3. 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. 4. <ul>Over the next 40 min </ul><ul><ul><li>A Story
  5. 5. What exactly do we need to test?
  6. 6. How to create traffic - JMeter
  7. 7. Demos
  8. 8. Analyze Behavior
  9. 9. Resources
  10. 10. Q & A </li></ul></ul>
  11. 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. 12. Upgrade from Windows 2003 to Windows 2008
  13. 13. Migrate front end code base 2003 to 2011 
  14. 14. Integrate stand alone code 2005 & 2007 
  15. 15. All into one Framework: Fusebox 5.5 </li></ul></ul>
  16. 16. <ul>First attempt of GoLive May 7 8:45am  </ul><ul>Rollback to old server May 7 noon.  </ul>
  17. 17. <ul>What Happened? </ul><ul>What could have been the cause?  </ul><ul><ul><li>Database server?
  18. 18. Coldfusion Code?
  19. 19. SQL Queries?
  20. 20. File operations?
  21. 21. Systems configuration?
  22. 22. Configuration CF Admin?
  23. 23. 3rd Party CFX Tags
  24. 24. Java Engine? </li></ul></ul><ul>We need better tools. </ul>
  25. 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. 26. So how are your users using site?
  27. 27. 1) Many page requests at the same time
  28. 28. 2) Which Pages are hit the most?  </li></ul>
  29. 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. 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. 31. <ul>Using JMeter </ul><ul><ul><li>After installation
  32. 32. Create a Test Plan
  33. 33. Add components
  34. 34. Run it
  35. 35. Look Reports </li></ul></ul>
  36. 36. <ul>Using JMeter </ul><ul>Summary Report </ul><ul>Throughput: 47.5 Request per second Per hour: 171,000 </ul>
  37. 37. <ul>  </ul>
  38. 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. 39. <ul>Tool: FusionReactor  </ul><ul>There are other tools: Seefusion </ul>
  40. 40. <ul>Request per second </ul><ul>  </ul>
  41. 41. <ul>Average Execution Times </ul><ul>  </ul>
  42. 42. <ul>Average JDBC Execution time </ul><ul>  </ul>
  43. 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. 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. 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. 46. <ul><li>Apache JMeter
  47. 47. http://jakarta.apache.org/jmeter/
  48. 48. Fusion Reactor
  49. 49. http://www.fusion-reactor.com/fr/
  50. 50. More Tools
  51. 51. CF411 Charlie Arehardt -
  52. 52. Keyword:Page Performance Test
  53. 53. http://carehart.org/cf411/#pageperftest </li></ul><ul>Resources: Tools </ul>
  54. 54. <ul>Resources: How-Tos </ul><ul>YouTube: Website Stress Testing using JMeter: <li>http://www.youtube.com/watch?v=8NLeq-QxkSw
  55. 55. Stuart Marsh, beardygeek.com
  56. 56. CFMeetup session Kurt Wiersma:
  57. 57. Search for Load Testing with JMeter
  58. 58. May 2010
  59. 59. http://www.meetup.com/coldfusionmeetup/pages/Recordings_of_the_ColdFusion_Meetup/ </li></ul>
  60. 60. <ul><li>Testing load balanced environment through distribute/remote testing.
  61. 61. http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  62. 62. Improve the quality of your JMeter scripts
  63. 63. http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-jmeter.html?page=1 </li></ul><ul>Resources: Articles </ul>
  64. 64. <ul><li>[email_address]
  65. 65. Twitter: @paulisystems
  66. 66. Voice/text: 239-331-5878
  67. 67. www.paulisystems.net
  68. 68. www.idxtools.com (@bph blog) </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×