Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
© 2015 Intermedix Corporation. Proprietary and Confidential.
Load Testing with
JMeter, BlazeMeter, New Relic
Giedrius Kriš...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
P...
© 2015 Intermedix Corporation. Proprietary and Confidential.
What to test?
1. Regressions in code
Ramp THREADS from 1 to 2...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Measuring performance in life...
© 2015 Intermedix Corporation. Proprietary and Confidential.
...does not guarantee the victory.
It just shows if
you can/c...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Response time
Response time is the total amount of time it ta...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Client side
© 2015 Intermedix Corporation. Proprietary and Confidential.
Server Side
© 2015 Intermedix Corporation. Proprietary and Confidential.
Anatomy of Your Test
Laptop
CPU RAM DISK NET
AP server
CPU RA...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Load
An idle computer has a load number of 0.
Each process us...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
J...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Distributed JMeter
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
B...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
N...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
M...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
G...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
R...
© 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential.
Q...
© 2015 Intermedix Corporation. Proprietary and Confidential.
Load Testing with JMeter, BlazeMeter, New Relic
Upcoming SlideShare
Loading in …5
×

Load Testing with JMeter, BlazeMeter, New Relic

529 views

Published on

Kaunas JUG Meeting #25
The "hands on" session with tools is not included in slides.

Published in: Technology
  • Be the first to comment

Load Testing with JMeter, BlazeMeter, New Relic

  1. 1. © 2015 Intermedix Corporation. Proprietary and Confidential. Load Testing with JMeter, BlazeMeter, New Relic Giedrius Kriščiukaitis giedriusk@gmail.com
  2. 2. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. Performance https://www.youtube.com/watch?v=ChSazF41q-s “...use the minimum it takes to make it happen...” Jerry Miculek (world champion shooter) (watch first 3min. - the take away about essential needs for performance)
  3. 3. © 2015 Intermedix Corporation. Proprietary and Confidential. What to test? 1. Regressions in code Ramp THREADS from 1 to 20 – does response time change exponentially? It should be line or linear. 2. Page-views per day/hour/second (Business requirements) Ramp THREADS from 1 to n (e.g. 200-1000 or more) and monitor the response time graph when it starts to go up (get your max thread count there). Then for required period of time execute a test with max THREADS to get most page-views count. You can compare this amount with Google analytics real data.
  4. 4. © 2015 Intermedix Corporation. Proprietary and Confidential. Measuring performance in life...
  5. 5. © 2015 Intermedix Corporation. Proprietary and Confidential. ...does not guarantee the victory. It just shows if you can/can not go racing...
  6. 6. © 2015 Intermedix Corporation. Proprietary and Confidential. Response time Response time is the total amount of time it takes to respond to a request for service. Observers can recall one specific image in an unbroken series of different images, each of which lasts as little as 13 milliseconds
  7. 7. © 2015 Intermedix Corporation. Proprietary and Confidential. Client side
  8. 8. © 2015 Intermedix Corporation. Proprietary and Confidential. Server Side
  9. 9. © 2015 Intermedix Corporation. Proprietary and Confidential. Anatomy of Your Test Laptop CPU RAM DISK NET AP server CPU RAM DISK NET DB server CPU RAM DISK NET Threads eat RAM Network latency Limits by ISP Firewalls Load balancers Cost of Traffic No dedicated network Hostnames instead of Ips Additional facilitating software/hardware
  10. 10. © 2015 Intermedix Corporation. Proprietary and Confidential. Load An idle computer has a load number of 0. Each process using or waiting for CPU (the ready queue or run queue) increments the load number by 1. Load < 10 = OK
  11. 11. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. JMeter Load test functional behavior and measure performance. http://jmeter.apache.org/
  12. 12. © 2015 Intermedix Corporation. Proprietary and Confidential. Distributed JMeter
  13. 13. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. BlazeMeter Continuous load testing platform. https://blazemeter.com/
  14. 14. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. New Relic Application Performance Management & Monitoring. http://newrelic.com/
  15. 15. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. Most important metrics? l Response time value l Response time graph l Page views count per test l Error % l Server resources status
  16. 16. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. Google PageSpeed PageSpeed Insights analyzes the content of a web page, then generates suggestions to make that page faster. This is a perfect tool to start with. It does list you the client side performance issues. https://developers.google.com/speed/pagespeed/insights/
  17. 17. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. Respect Hardware Hardware is fragile. Please understand whole picture, all components and consequences when you will plan your next test.
  18. 18. © 2015 Intermedix Corporation. Proprietary and Confidential.© 2015 Intermedix Corporation. Proprietary and Confidential. Questions? Giedrius Kriščiukaitis giedriusk@gmail.com https://m.do.co/c/a1c0bd9bc8be 10 USD For a VM >
  19. 19. © 2015 Intermedix Corporation. Proprietary and Confidential.

×