A Beginner's Guide to Application Load Testing
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

A Beginner's Guide to Application Load Testing

  • 4,195 views
Uploaded 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......

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,195
On Slideshare
3,712
From Embeds
483
Number of Embeds
10

Actions

Shares
Downloads
63
Comments
0
Likes
3

Embeds 483

http://idxtools.com 246
http://lanyrd.com 210
http://www.idxtools.com 16
http://mail.pauli-haack.com 2
http://ftp.igiftedschool.org 2
http://paper.li 2
http://imap.cardmanagementgroup.com 2
http://mail.tillmanteam.com 1
http://mx1.cardmanagementgroup.com 1
http://pop.cardmanagementgroup.com 1

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.
      Load Testing w/ JMeter
      Birgit Pauli-Haack Pauli Systems on Twitter @bph
  • 2.
      Enough about me.
      Coldfusion programming as volunteer for
    • Naples Free-Net since 1999
    • 3. Project Manager HUD-HMIS Collier County 2004 - 2007
    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.
      Over the next 40 min
      • 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
  • 11.
      The Story of a GoLive
      Redesign of a relative high volume Business News site.
      • 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
  • 16.
      First attempt of GoLive May 7 8:45am 
      Rollback to old server May 7 noon. 
  • 17.
      What Happened?
      What could have been the cause? 
      We need better tools.
  • 25.
      What do I mean when I talk about load testing?
      Create Site traffic on your site,  and analyze behavior to find
    • 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? 
  • 29.
      What is a normal amount of requests per second? 
      Google analytics: Page Requests per hour Peak: 51,856 per hour = 14 request/second
  • 30.
      Which pages? 
      This is a news site. - Homepage - Article pages - Media pages - Archives What is the ratio? Example:  Variations of Homepage: 42 %
  • 31.
      Using JMeter
  • 36.
      Using JMeter
      Summary Report
      Throughput: 47.5 Request per second Per hour: 171,000
  • 37.
       
  • 38.
      Original Question
      How many users can we serve before we need more power and muscle on our server environment?  Good question!
  • 39.
      Tool: FusionReactor 
      There are other tools: Seefusion
  • 40.
      Request per second
       
  • 41.
      Average Execution Times
       
  • 42.
      Average JDBC Execution time
       
  • 43.
      CPU Usage
      80 requests per second trigger 80 to 100% CPU usage ~ Max load ~ 3,456,000 Pages per 10 hrs Period
  • 44.
      How many visitors?
      - 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)
  • 45.
      DemoJmeter
      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.
  • 46.
    • 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
      Resources: Tools
  • 54.
      Resources: How-Tos
      YouTube: Website Stress Testing using JMeter:
    • 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/
  • 60.
    • 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
      Resources: Articles
  • 64.
    • [email_address]
    • 65. Twitter: @paulisystems
    • 66. Voice/text: 239-331-5878
    • 67. www.paulisystems.net
    • 68. www.idxtools.com (@bph blog)