Top Banner
Taking your Jmeter test monitoring to the next level Richard Friedman, Redline13 Founder @redlinethirteen @richardfriedman [email protected] Kranthi Paidi, PerfAcademy Founder and Mentor @theperfacademy @kkpaidi kranthi.paidi@perfacade my.com
12

Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Feb 19, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Taking your Jmeter test monitoring to the next level

Richard Friedman, Redline13Founder@redlinethirteen@[email protected]

Kranthi Paidi, PerfAcademyFounder and Mentor@[email protected]@perfacademy.com

Page 2: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Agendao About PerfAcademy

o Real time monitoring of results in Jmeter – A problem that was

o Still a problem!

o Jmeter + Telegraph + Influx + Grafana – A match possibly made in heaven

o Demo

o Q&A

Page 3: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

About PerfAcademyo Established in 2015 o Took almost an year of planning and interviews to design a comprehensive course o A mentor driven online learning platformo Completely focused on Performance Testing and Engineering disciplineo Live classes and cloud hosted labso Training from grass-roots levelo Open-ended problems a daily part of the courseo We strive to make our learners career readyo No 5 day courses

Page 4: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Real time monitoring of results in Jmetero Backend listener introduced in 2.13

o Provides graphite backend listener

o Default metrics are not enough

o Test plans with complex scenarios sufferedoMultiple Transactionso Throughput Suffered

o Cloud based executions warrant more detailed statistics

o A modified JAR File from TAG - http://www.testautomationguru.com/download/640/oMuch more detailedo No Listener neededo Light weight

Page 5: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Still a Problemo App / Web / DB Server health?o PerfMon listenero NO

o More listeners – More Degradation on Jmeter engineo Why? Asynchronous Threads Snowball effect

o Jmeter Master and Slaves health?

o JVM Performance of Jmeter instances?

o Can we have Jmeter do what it needs to do and do only that?o AND still have more statistical information without shelling 1000s of $

o Can we pinpoint a potential bottleneck quickly and effectively?

o What about trending of results? In a CI-CD environment, trending is of utmost importance to spot a regression

Page 6: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

JTIG – A stack that promises a lotoTelegrafo Opensourceo Written in GOo Designed for Time serieso Minimal foot printo 50+ input and output plugins

o Influxo Time series databaseo Fast. Really fast.

o Grafanao Open source visualization tool for time series datao Extensible o Number of plugins and templateso Supports multiple data sources

Page 7: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

The test lab layout

Slave 1

InfluxDB

App1 MySQLTelegraph Telegraph

Telegraf

Page 8: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

A typical enterprise layout

Jmeter Master

Slave 1

Slave 2

Slave 3

InfluxDB

Web 1

Web 2

App1

App2

MySQLTelegraph

Telegraph

Telegraph

Telegraph

Telegraph

Telegraf

Telegraph

Telegraph

Page 9: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Demo

Page 10: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Things to watch out foro Scaling Influx once you have a considerable number of agents writing metrics is an exercise in itselfo Telegraf agents need to be restarted when you are invoking a new java process – A possible bugo Tag your transactions from Jmeter by passing along a user defined property which will make you create more informative dashboards o New in Grafana – Alerting & Thresholds mechanism. Still in beta

Page 11: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

Q&A

Page 12: Webinar: Taking your JMeter Test Monitoring To The Next Level (Ft. PerfAcademy)

www.perfacademy.com