JMeter is a testing tool used to create, implement and monitor the load, performance and functional tests. Sometimes it is used for distributed testing, unit testing as well as for recording and playback test scenarios.
Personally I prefer to treat JMeter as a programming language or framework for developing automated tests. This is due to the fact that it provides a lot of functionality, features and benefits of high-level visual programming language capable of multi-threading on different architectures.
4. Czym jest JMeter?
8 X 20154 JMeter – narzędzie testera
TestWarez 2015
Apache JMeter™ to otwarte oprogramowanie,napisane w Javie i dedykowane
do tworzenia, wykonywaniaorazmonitorowania testówobciążeniowych,
wydajnościowych, funkcjonalnych i innych.
Rys. 2. Apache JMeter [2]
W listopadzie 2011 roku JMeter stał się projektemApache najwyższego poziomu
(ang. top level), co oznacza, że zyskał społeczność odpowiedzialną za jego
rozwój (ang. Project ManagementCommitee) orazdedykowany serwis.
7. Podstawowe elementy
8 X 20157
TestWarez 2015
JMeter – narzędzie testera
• Test Plan
o grupy wątków
o zmienne – wbudowane, definiowane
o menedżery – cookie, header
o timery – stałe, losowe
o instrukcje warunkowe – IF, WHILE
o pętle – LOOP, FOREACH
o słuchacze – drzewiaste, sumaryczne
o zapytania – HTTP(S), JDBC
asercje – odpowiedzi, rozmiaru
ekstraktory – wyrażeń regularnych
o (…)
Rys. 5. Apache JMeter – struktura drzewiasta
8. JMeter – Test Plan
8 X 20158 JMeter – narzędzie testera
TestWarez 2015
Rys. 6. Apache JMeter – podstawowe elementy
17. GFT Poland Sp.z o. o.
Adrian Bala
Senior TestAnalyst
Okraglak,Mielzynskiego 14
61-725 Poznan,Polska
adrian.bala@gft.com
www.gft.com/pl
www.facebook.com/GFTPolska
twitter.com/gft_en
Dziękuję za uwagę