Successfully reported this slideshow.

Load Testing with JMeter, BlazeMeter, New Relic

1

Share

1 of 20
1 of 20

More Related Content

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

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.

×