a. bala – jmeter - testing tool

17
Adrian Bala 8 X 2015 JMeter – narzędzie testera

Upload: adrian-bala

Post on 21-Jan-2017

236 views

Category:

Software


0 download

TRANSCRIPT

Adrian Bala

8 X 2015

JMeter – narzędzie testera

1. Czym jest JMeter?

2. JMeter – zastosowania

3. Podsumowanie

Refleksja

8 X 20153 JMeter – narzędzie testera

TestWarez 2015

Rys. 1. Narzędzia DevOps [1]

Czym jest JMeter?

8 X 20154 JMeter – narzędzie testera

TestWarez 2015

Apache JMeter™ to otwarte oprogramowanie, napisane w Javie i dedykowane do tworzenia, wykonywania oraz monitorowania testów obciążeniowych, wydajnościowych, funkcjonalnych i innych.

Rys. 2. Apache JMeter [2]

W listopadzie 2011 roku JMeter stał się projektem Apache najwyższego poziomu (ang. top level), co oznacza, że zyskał społeczność odpowiedzialną za jego rozwój (ang. Project Management Commitee) oraz dedykowany serwis.

JMeter – testy [prze|ob]ciążeniowe

8 X 20155 JMeter – narzędzie testera

TestWarez 2015

Rys. 3. Apache JMeter – testy [prze|ob]ciążeniowe [3]

JMeter – narzędzie testera

8 X 20156 JMeter – narzędzie testera

TestWarez 2015

Rys. 4. Apache JMeter – narzędzie testera

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

JMeter – Test Plan

8 X 20158 JMeter – narzędzie testera

TestWarez 2015

Rys. 6. Apache JMeter – podstawowe elementy

JMeter – zastosowania

8 X 20159 JMeter – narzędzie testera

TestWarez 2015

Rys. 7. Apache JMeter – stres testy [4]

JMeter – monitor serwera

8 X 201510 JMeter – narzędzie testera

TestWarez 2015

Rys. 8. Apache JMeter – monitor serwera [5]

JMeter i MySQL

8 X 201511 JMeter – narzędzie testera

TestWarez 2015

Rys. 9. Apache JMeter – zapytania do bazy MySQL

JMeter i WebAPI

8 X 201512 JMeter – narzędzie testera

TestWarez 2015

Rys. 10. Apache JMeter – testowanie API [6]

JMeter – Record > Play

8 X 201513 JMeter – narzędzie testera

TestWarez 2015

Rys. 11. Apache JMeter – record > play

JMeter – podsumowanie

8 X 201514

TestWarez 2015

JMeter – narzędzie testera

Zalety Apache JMeter:

oszczędność

przenośność

zrównoleglenie

użyteczność

uniwersalność

łatwość obsługi

łatwość nauki

aktualność

dostosowywanie

darmowość

(…)Rys. 12. Apache JMeter – zalety [7]

Linkografia

8 X 201515 JMeter – narzędzie testera

TestWarez 2015

[1]. Narzędzia DevOps – https://image-store.slidesharecdn.com/de5ff4eb-2305-454a-914d-fc0937293bc0-original.png

[2]. Apache JMeter – https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQaIxKFFkDaObhHpiv_NnF_hACX

q5eItcJ3LUGheD2jY9dFX3KUMQ

[3]. Apache JMeter – testy [prze|ob]ciążeniowe – http://www.compendian.com/wp-content/uploads/2013/03/Overloaded-desk.jpg

[4]. Apache JMeter – stres testy – http://www.techbrother.com/wp-content/uploads/2013/09/geek_and_poke_coders-test-s.jpeg

[5]. Apache JMeter – monitor serwera – http://i1-news.softpedia-static.com/images/news2/Installation-of-Apache-Tomcat-on-Windows-2.png

[6]. Apache JMeter – testowanie API – http://3.bp.blogspot.com/-CJmQDvD4WU4/TVqiFAF_spI/AAAAAAAAAW8/WOJ0QDkOvtI/s1600/

Google-API-Developer-Products.png

[7]. Apache JMeter – zalety – https://www.knife-depot.com/images/articles/best-pocket-knife-victorinox-swisschamp.jpg

[8]. Q&A – https://www.percona.com/blog/wp-content/uploads/2014/02/percona_webinar_QA.jpg

[9]. Apache JMeter – http://jmeter.apache.org/index.html

[10]. Apache JMeter Wiki – http://wiki.apache.org/jmeter/

[11]. Custom Plugins for Apache JMeter™ – http://jmeter-plugins.org/

[12]. Firebase RESTful API – https://www.firebase.com/docs/rest/api/

GFT Poland Sp. z o. o.

Adrian Bala

Senior Test Analyst

Okraglak, Mielzynskiego 14

61-725 Poznan, Polska

[email protected]

www.gft.com/pl

www.facebook.com/GFTPolska

twitter.com/gft_en

Dziękuję za uwagę