Your SlideShare is downloading. ×
Continous monitoring con Hudson, Jmeter e iPhone    Riccardo Solimena – Codemotion 2011 - Roma                            ...
AbstractIl monitoraggio delle applicazioni è una parte fondamentale nel rilascio di un    prodotto. Spesso però arrivati a...
AgendaChi sono?Continous Integration – DefinizioneContinous Integration – Comparazione Prodotti OpenHudsonJenkinsJMeterSoa...
Chi Sono? Riccardo SolimenaAgenda                                               Senior Analyst ProgrammerChi sono?        ...
Continous Integration – DefinizioneAgenda   Continuous Integration is a software development practice            where mem...
Continous Integration – Comparazione ProdottiAgenda   Apache Continuum         •   Pro: Advanced role security         •  ...
Oracle HudsonAgenda                             Cron              Java             SMTP                                   ...
Jenkins the Hudson forkAgenda   January 2010…             7.4 milions $ Oracle acquires SUN Microsystem         …April 201...
Jenkins the Hudson forkAgenda         Hudson CI                              Jenkins CI                                   ...
Apache JMeterAgenda   • JMeter is an Apache Jakarta project that can be used as a load           testing tool for analyzin...
Apache JMeterAgenda   Useful for availability and response time of            systems and projects.         • Servers/Mach...
SoapUIAgenda   soapUI is a free and open source cross-platform            Functional Testing solution. With an easy-to-   ...
Plugins HudsonAgenda   Hudson can produces scheduled builds.         If exists a system that aggregate JMeter results     ...
DEMOAgenda   Tomcat 5.5.29         Hudson 1.391         JMeter 2.4         SoapUI 3.0.1         Hudson Plugins: Performanc...
Domande? (5 minuti...)         Q: What if Hudson new release is released?Agenda         A: hudson folder is different from...
Riferimenti          Jenkins          http://jenkins-ci.org/Agenda          Ant              http://ant.apache.org/       ...
Upcoming SlideShare
Loading in...5
×

Continous monitoring con Hudson, Jmeter e iPhone

2,179

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,179
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Continous monitoring con Hudson, Jmeter e iPhone"

  1. 1. Continous monitoring con Hudson, Jmeter e iPhone Riccardo Solimena – Codemotion 2011 - Roma Riccardo Solimena – riccardo.solimena@gmail.com
  2. 2. AbstractIl monitoraggio delle applicazioni è una parte fondamentale nel rilascio di un prodotto. Spesso però arrivati a fine progetto, il budget per finanziarlo è quasi inesistente. Grazie a prodotti Open e con uninterfaccia user-friendly come Hudson e JMeter, è possibile creare degli efficienti sistemi di monitoring in brevissimo tempo. Dopo una overview su Hudson e JMeter passeremo ad una demo utilizzando lo scheduling e le integrazioni con i plugin Jmeter, Alert Email e mobile monitoring su iPhone. Riccardo Solimena – riccardo.solimena@gmail.com
  3. 3. AgendaChi sono?Continous Integration – DefinizioneContinous Integration – Comparazione Prodotti OpenHudsonJenkinsJMeterSoap UIPlugins HudsonDEMODomandeRiferimenti Riccardo Solimena – riccardo.solimena@gmail.com
  4. 4. Chi Sono? Riccardo SolimenaAgenda Senior Analyst ProgrammerChi sono? SocietàContinous Integration – DefinizioneContinous Integration – Comparazione Prodotti OpenHudsonJenkins ClientiJMeterSoap UIPlugins HudsonDEMO CertificazioniDomandeRiferimenti Riccardo Solimena – riccardo.solimena@gmail.com
  5. 5. Continous Integration – DefinizioneAgenda Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly. (M. Fowler) Riccardo Solimena – riccardo.solimena@gmail.com
  6. 6. Continous Integration – Comparazione ProdottiAgenda Apache Continuum • Pro: Advanced role security • VS: Verbose configuration. Only Java. Not easy to use Cruise Control • Pro: Java and .NET Projects • VS: Very verbose. Only XML Configs (external Swing application) Hudson • Pro: Simple. UI Interface. Extensible. Java and C#. 100+ stable Plugins (also TFS and JMeter). Monitoring externally-run jobs… Light. • VS: Not old as the other two (but 3+ years and acquired and extended from Oracle group) Riccardo Solimena – riccardo.solimena@gmail.com
  7. 7. Oracle HudsonAgenda Cron Java SMTP shell Hudson Maven JUnit Build Em@il bat Builds SVN Ant JMeter CVS TFS HTML Twitter iPhone RRS Image Riccardo Solimena – riccardo.solimena@gmail.com
  8. 8. Jenkins the Hudson forkAgenda January 2010… 7.4 milions $ Oracle acquires SUN Microsystem …April 2010 James Gosling, the creator of the Java programming language, has resigned from Oracle. Gosling follows a number of other noted ex-Sun employees out the door, including CEO Jonathan Schwartz, and XML co-inventor Tim Bray. (NetworkWorld.com) Riccardo Solimena – riccardo.solimena@gmail.com
  9. 9. Jenkins the Hudson forkAgenda Hudson CI Jenkins CI Riccardo Solimena – riccardo.solimena@gmail.com
  10. 10. Apache JMeterAgenda • JMeter is an Apache Jakarta project that can be used as a load testing tool for analyzing and measuring the performance of a variety of services like: • Web - HTTP, HTTPS • SOAP • Database via JDBC • LDAP • JMS (Queues) • Mail - POP3(S) and IMAP(S) (Apache Jmeter web-site) Riccardo Solimena – riccardo.solimena@gmail.com
  11. 11. Apache JMeterAgenda Useful for availability and response time of systems and projects. • Servers/Machines are up or down? • Web Services are working/well? • SQL time response is good? • HTML pages are reachable? • Java code is responding with good performance? Riccardo Solimena – riccardo.solimena@gmail.com
  12. 12. SoapUIAgenda soapUI is a free and open source cross-platform Functional Testing solution. With an easy-to- use graphical interface, and enterprise-class features, soapUI allows you to easily and rapidly create and execute automated functional, regression, compliance, and load tests. In a single test environment, soapUI provides complete test coverage and supports all the standard protocols and technologies (soapUI web-site) Riccardo Solimena – riccardo.solimena@gmail.com
  13. 13. Plugins HudsonAgenda Hudson can produces scheduled builds. If exists a system that aggregate JMeter results so that Hudson can be used as web monitor it would be simple to create dinamics multiplatform monitoring systems... But… it exists ☺ Its name is “Performance Reports plugin” and integrates Jmeter executions in Hudson builds Riccardo Solimena – riccardo.solimena@gmail.com
  14. 14. DEMOAgenda Tomcat 5.5.29 Hudson 1.391 JMeter 2.4 SoapUI 3.0.1 Hudson Plugins: Performance Report 1.3 and iPhoneView 0.2 Monitoring • Application Server • Database • WebServices Riccardo Solimena – riccardo.solimena@gmail.com
  15. 15. Domande? (5 minuti...) Q: What if Hudson new release is released?Agenda A: hudson folder is different from configuration and projects’ folders, so upgrade is not a problem Q: What if JMeter project changes? A: Just open the jmx file from editor or Jmeter GUI and modify then save it, Ant and Hudson will no need changes. Q: How many MB is the web application? A: just 37 MB. Hudson configuration folder with Jmeter + iPhone + SVN plugins needs just additional 31MB. Single build is 16KB and it can be simply without impact the CI server (is an atomic folder) Q: What about JVM consuming? A: Hudson permits 100% JVM tuning directly by GUI, so memory usage is user defined Riccardo Solimena – riccardo.solimena@gmail.com
  16. 16. Riferimenti Jenkins http://jenkins-ci.org/Agenda Ant http://ant.apache.org/ Jmeter http://jakarta.apache.org/jmeter/ JMeter plugin http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin iPhone plugin http://wiki.hudson-ci.org/display/HUDSON/iPhoneView+Plugin SoapUI http://www.eviware.com/soapUI/soapui-products-overview.html E-M@IL riccardo.solimena@gmail.com WEB riccardosolimena.blogspot.com FREE TIME www.youtube.com/riccardosolimena TWITTER riccardosolimen Grazie a tutti! ☺ Riccardo Solimena – riccardo.solimena@gmail.com

×