Continous monitoring con Hudson, Jmeter e iPhone<br />Riccardo Solimena – Codemotion 2011 - Roma<br />
Abstract<br />Il monitoraggio delle applicazioni è una parte fondamentale nel rilascio di un prodotto. Spesso però arrivat...
Agenda<br />Chi  sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br...
Agenda<br />Chi Sono? Riccardo Solimena<br />Senior Analyst Programmer <br />Società<br />Clienti<br />Certificazioni<br /...
Agenda<br />Continous Integration – Definizione<br />Continuous Integration is a software development practice where membe...
Agenda<br />Continous Integration – Comparazione Prodotti<br />Apache Continuum<br /><ul><li>Pro:  Advanced role security
VS: Verbose configuration. Only Java. Not easy to use</li></ul>Cruise Control<br /><ul><li>Pro: Java and .NET Projects
VS: Very verbose. Only XML Configs (external Swing application)</li></ul>Hudson<br /><ul><li>Pro:  Simple. UI Interface. E...
VS: Not old as the other two (but 3+ years and acquired and extended from Oracle group)</li></ul>Chi  sono?<br />Continous...
Agenda<br />Oracle Hudson<br />Chi  sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazio...
Agenda<br />Jenkins the Hudson fork<br />January 2010…<br />	7.4 milions $ Oracle acquires SUN Microsystem<br />…April 201...
Agenda<br />Jenkins the Hudson fork<br />Chi  sono?<br />Continous Integration – Definizione<br />Continous Integration – ...
Agenda<br />Apache JMeter<br /><ul><li>JMeter is an Apache Jakarta project that can be used as a load testing tool for ana...
Web - HTTP, HTTPS
SOAP
Database via JDBC
Upcoming SlideShare
Loading in …5
×

Continous Monitoring with Hudson JMeter and iPhone

2,850 views
2,784 views

Published on

Il 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 un'interfaccia 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

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

No Downloads
Views
Total views
2,850
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

Continous Monitoring with Hudson JMeter and iPhone

  1. 1. Continous monitoring con Hudson, Jmeter e iPhone<br />Riccardo Solimena – Codemotion 2011 - Roma<br />
  2. 2. Abstract<br />Il 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 un'interfaccia 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.<br />
  3. 3. Agenda<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  4. 4. Agenda<br />Chi Sono? Riccardo Solimena<br />Senior Analyst Programmer <br />Società<br />Clienti<br />Certificazioni<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  5. 5. Agenda<br />Continous Integration – Definizione<br />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.<br />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.<br />(M. Fowler)<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  6. 6. Agenda<br />Continous Integration – Comparazione Prodotti<br />Apache Continuum<br /><ul><li>Pro: Advanced role security
  7. 7. VS: Verbose configuration. Only Java. Not easy to use</li></ul>Cruise Control<br /><ul><li>Pro: Java and .NET Projects
  8. 8. VS: Very verbose. Only XML Configs (external Swing application)</li></ul>Hudson<br /><ul><li>Pro: Simple. UI Interface. Extensible. Java and C#. 100+ stable Plugins (also TFS and JMeter). Monitoring externally-run jobs… Light.
  9. 9. VS: Not old as the other two (but 3+ years and acquired and extended from Oracle group)</li></ul>Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  10. 10. Agenda<br />Oracle Hudson<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />Cron<br />Java<br />SMTP<br />Build<br />Hudson<br />Em@il<br />Builds<br />JUnit<br />shell<br />bat<br />Maven<br />Ant<br />JMeter<br />SVN<br />CVS<br />TFS<br />iPhone<br />RRS<br />Twitter<br />HTML<br />Image<br />
  11. 11. Agenda<br />Jenkins the Hudson fork<br />January 2010…<br /> 7.4 milions $ Oracle acquires SUN Microsystem<br />…April 2010<br />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.<br />(NetworkWorld.com)<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  12. 12. Agenda<br />Jenkins the Hudson fork<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />Hudson CI<br />Jenkins CI<br />
  13. 13. Agenda<br />Apache JMeter<br /><ul><li>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:
  14. 14. Web - HTTP, HTTPS
  15. 15. SOAP
  16. 16. Database via JDBC
  17. 17. LDAP
  18. 18. JMS (Queues)
  19. 19. Mail - POP3(S) and IMAP(S)</li></ul>(Apache Jmeter web-site)<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  20. 20. Agenda<br />Apache JMeter<br />Useful for availability and response time of systems and projects.<br /><ul><li>Servers/Machines are up or down?
  21. 21. Web Services are working/well?
  22. 22. SQL time response is good?
  23. 23. HTML pages are reachable?
  24. 24. Java code is responding with good performance?</li></ul>Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  25. 25. Agenda<br />SoapUI<br />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<br />(soapUI web-site)<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  26. 26. Agenda<br />Plugins Hudson<br />Hudson can produces scheduled builds.<br />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...<br />But… it exists  <br />Its name is “Performance Reports plugin” and integrates Jmeter executions in Hudson builds<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  27. 27. Agenda<br />DEMO<br />Tomcat 5.5.29<br />Hudson 1.391<br />JMeter 2.4 <br />SoapUI 3.0.1<br />Hudson Plugins: Performance Report 1.3 and iPhoneView 0.2<br />Monitoring<br /><ul><li>Application Server
  28. 28. Database
  29. 29. WebServices</li></ul>Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  30. 30. Agenda<br />Domande? (5 minuti...)<br />Q: What if Hudson new release is released?<br />A: hudson folder is different from configuration and projects’ folders, so upgrade is not a problem<br />Q: What if JMeter project changes?<br />A: Just open the jmx file from editor or Jmeter GUI and modify then save it, Ant and Hudson will no need changes.<br />Q: How many MB is the web application?<br />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)<br />Q: What about JVM consuming?<br />A: Hudson permits 100% JVM tuning directly by GUI, so memory usage is user defined<br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti<br />
  31. 31. Agenda<br />Riferimenti<br />Grazie a tutti! <br />Chi sono?<br />Continous Integration – Definizione<br />Continous Integration – Comparazione Prodotti Open<br />Hudson<br />Jenkins<br />JMeter<br />Soap UI<br />Plugins Hudson<br />DEMO<br />Domande<br />Riferimenti <br />

×