• Save
Continous Monitoring with Hudson JMeter and iPhone
Upcoming SlideShare
Loading in...5
×
 

Continous Monitoring with Hudson JMeter and iPhone

on

  • 2,355 views

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 ...

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

Statistics

Views

Total Views
2,355
Views on SlideShare
2,353
Embed Views
2

Actions

Likes
1
Downloads
0
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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 with Hudson JMeter and iPhone Continous Monitoring with Hudson JMeter and iPhone Presentation Transcript

    • Continous monitoring con Hudson, Jmeter e iPhone
      Riccardo Solimena – Codemotion 2011 - Roma
    • Abstract
      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.
    • Agenda
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Chi Sono? Riccardo Solimena
      Senior Analyst Programmer
      Società
      Clienti
      Certificazioni
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Continous Integration – Definizione
      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)
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Continous Integration – Comparazione Prodotti
      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)
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Oracle Hudson
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
      Cron
      Java
      SMTP
      Build
      Hudson
      Em@il
      Builds
      JUnit
      shell
      bat
      Maven
      Ant
      JMeter
      SVN
      CVS
      TFS
      iPhone
      RRS
      Twitter
      HTML
      Image
    • Agenda
      Jenkins the Hudson fork
      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)
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Jenkins the Hudson fork
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
      Hudson CI
      Jenkins CI
    • Agenda
      Apache JMeter
      • 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)
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Apache JMeter
      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?
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      SoapUI
      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)
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Plugins Hudson
      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
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      DEMO
      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
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Domande? (5 minuti...)
      Q: What if Hudson new release is released?
      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
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti
    • Agenda
      Riferimenti
      Grazie a tutti! 
      Chi sono?
      Continous Integration – Definizione
      Continous Integration – Comparazione Prodotti Open
      Hudson
      Jenkins
      JMeter
      Soap UI
      Plugins Hudson
      DEMO
      Domande
      Riferimenti