Cph.pm 2013-01-29




Apache JMeter Introduction
    Søren Lund (slu)
       slu@369.dk
About Apache JMeter


The Apache JMeter™ desktop application is open
source software, a 100% pure Java application
designed to load test functional behavior and
measure performance. It was originally designed
for testing Web Applications but has since
expanded to other test functions.

                  From http://jmeter.apache.org/
My Focus

   Web Testing (HTTP/HTTPS)
   Load Testing
   Performance Testing
   Using test data (CSV files)
   Randomization (scripting)
   Reporting
Web Testing

   Black Box Test
   Need to know
       HTTP(S)
       Request/Response
       POST/GET
       Cookies
       HTML
       Recording in JMeter
       ”Developer Tools” (F12)
Load Testing

   How much traffic can we handle? (users,
    requests, bytes)
   Need to know
       How many users do we have?
       Peak hours?
   Define test
       Scale down
       Define/find threshhold
Performance Testing

   What are the response times?
   What are the repsonse times under heavy
    load?
   Need to know
       Common operations (e.g. Logging in)
       Eager/Lazy Loading usage
       Ressource hungry operations (e.g. Submitting a
        form)
The Test Plan
Demo Time



(cross you fingers)
The End



Questions?
The End



Questions?

Apache JMeter Introduction

  • 1.
  • 2.
    About Apache JMeter TheApache JMeter™ desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. From http://jmeter.apache.org/
  • 3.
    My Focus  Web Testing (HTTP/HTTPS)  Load Testing  Performance Testing  Using test data (CSV files)  Randomization (scripting)  Reporting
  • 4.
    Web Testing  Black Box Test  Need to know  HTTP(S)  Request/Response  POST/GET  Cookies  HTML  Recording in JMeter  ”Developer Tools” (F12)
  • 5.
    Load Testing  How much traffic can we handle? (users, requests, bytes)  Need to know  How many users do we have?  Peak hours?  Define test  Scale down  Define/find threshhold
  • 6.
    Performance Testing  What are the response times?  What are the repsonse times under heavy load?  Need to know  Common operations (e.g. Logging in)  Eager/Lazy Loading usage  Ressource hungry operations (e.g. Submitting a form)
  • 7.
  • 8.
  • 9.
  • 10.