• Save
Continous monitoring con Hudson, Jmeter e iPhone
Upcoming SlideShare
Loading in...5
×
 

Continous monitoring con Hudson, Jmeter e iPhone

on

  • 2,275 views

 

Statistics

Views

Total Views
2,275
Views on SlideShare
2,191
Embed Views
84

Actions

Likes
1
Downloads
0
Comments
0

4 Embeds 84

http://www.codemotion.it 48
http://2011.codemotion.it 26
http://codemotion.it 5
http://codemotion.macaronilab.com 5

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Continous monitoring con Hudson, Jmeter e iPhone Continous monitoring con Hudson, Jmeter e iPhone Presentation Transcript

  • Continous monitoring con Hudson, Jmeter e iPhone Riccardo Solimena – Codemotion 2011 - Roma Riccardo Solimena – riccardo.solimena@gmail.com
  • 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
  • AgendaChi sono?Continous Integration – DefinizioneContinous Integration – Comparazione Prodotti OpenHudsonJenkinsJMeterSoap UIPlugins HudsonDEMODomandeRiferimenti Riccardo Solimena – riccardo.solimena@gmail.com
  • 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
  • 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
  • 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
  • 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
  • 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
  • Jenkins the Hudson forkAgenda Hudson CI Jenkins CI Riccardo Solimena – riccardo.solimena@gmail.com
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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