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

A Beginner's Guide to Application Load Testing



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:



Total Views
Views on SlideShare
Embed Views



10 Embeds 470

http://idxtools.com 246
http://lanyrd.com 197
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



Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

A Beginner's Guide to Application Load Testing A Beginner's Guide to Application Load Testing Presentation Transcript

    • Load Testing w/ JMeter
      Birgit Pauli-Haack Pauli Systems on Twitter @bph
    • Enough about me.
      Coldfusion programming as volunteer for
    • Naples Free-Net since 1999
    • 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
    • Over the next 40 min
      • A Story
      • What exactly do we need to test?
      • How to create traffic - JMeter
      • Demos
      • Analyze Behavior
      • Resources
      • Q & A
    • The Story of a GoLive
      Redesign of a relative high volume Business News site.
      • Upgrade CF 7.01 to CF 9.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
    • First attempt of GoLive May 7 8:45am 
      Rollback to old server May 7 noon. 
    • What Happened?
      What could have been the cause? 
      • Database server?
      • Coldfusion Code?
      • SQL Queries?
      • File operations?
      • Systems configuration?
      • Configuration CF Admin?
      • 3rd Party CFX Tags
      • Java Engine?
      We need better tools.
    • What do I mean when I talk about load testing?
      Create Site traffic on your site,  and analyze behavior to find
    • Bottle necks
    • So how are your users using site?
    • 1) Many page requests at the same time
    • 2) Which Pages are hit the most? 
    • What is a normal amount of requests per second? 
      Google analytics: Page Requests per hour Peak: 51,856 per hour = 14 request/second
    • Which pages? 
      This is a news site. - Homepage - Article pages - Media pages - Archives What is the ratio? Example:  Variations of Homepage: 42 %
    • Using JMeter
      • After installation
      • Create a Test Plan
      • Add components
      • Run it
      • Look Reports
    • Using JMeter
      Summary Report
      Throughput: 47.5 Request per second Per hour: 171,000
    • Original Question
      How many users can we serve before we need more power and muscle on our server environment?  Good question!
    • Tool: FusionReactor 
      There are other tools: Seefusion
    • Request per second
    • Average Execution Times
    • Average JDBC Execution time
    • CPU Usage
      80 requests per second trigger 80 to 100% CPU usage ~ Max load ~ 3,456,000 Pages per 10 hrs Period
    • 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)
    • 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.
    • Apache JMeter
    • http://jakarta.apache.org/jmeter/
    • Fusion Reactor
    • http://www.fusion-reactor.com/fr/
    • More Tools
    • CF411 Charlie Arehardt -
    • Keyword:Page Performance Test
    • http://carehart.org/cf411/#pageperftest
      Resources: Tools
    • Resources: How-Tos
      YouTube: Website Stress Testing using JMeter:
    • http://www.youtube.com/watch?v=8NLeq-QxkSw
    • Stuart Marsh, beardygeek.com
    • CFMeetup session Kurt Wiersma:
    • Search for Load Testing with JMeter
    • May 2010
    • http://www.meetup.com/coldfusionmeetup/pages/Recordings_of_the_ColdFusion_Meetup/
    • Testing load balanced environment through distribute/remote testing.
    • http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
    • Improve the quality of your JMeter scripts
    • http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-jmeter.html?page=1
      Resources: Articles
    • [email_address]
    • Twitter: @paulisystems
    • Voice/text: 239-331-5878
    • www.paulisystems.net
    • www.idxtools.com (@bph blog)