SlideShare a Scribd company logo
1 of 16
Continous monitoring con Hudson, Jmeter e iPhone

    Riccardo Solimena – Codemotion 2011 - Roma




                                       Riccardo Solimena – riccardo.solimena@gmail.com
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.


                                                            Riccardo Solimena – riccardo.solimena@gmail.com
Agenda
Chi sono?
Continous Integration – Definizione
Continous Integration – Comparazione Prodotti Open
Hudson
Jenkins
JMeter
Soap UI
Plugins Hudson
DEMO
Domande
Riferimenti

                                           Riccardo Solimena – riccardo.solimena@gmail.com
Chi Sono? Riccardo Solimena
Agenda                                               Senior Analyst Programmer
Chi sono?
                                                     Società
Continous Integration – Definizione

Continous Integration – Comparazione Prodotti Open

Hudson

Jenkins
                                                     Clienti
JMeter

Soap UI

Plugins Hudson

DEMO
                                                     Certificazioni
Domande

Riferimenti



                                                                             Riccardo Solimena – riccardo.solimena@gmail.com
Continous Integration – Definizione
Agenda   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 Prodotti
Agenda   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 Hudson
Agenda
                             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 fork
Agenda   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 fork
Agenda




         Hudson CI                              Jenkins CI



                                    Riccardo Solimena – riccardo.solimena@gmail.com
Apache JMeter
Agenda   • 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 JMeter
Agenda   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
SoapUI
Agenda   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 Hudson
Agenda   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
DEMO
Agenda   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

More Related Content

Similar to Continous monitoring con Hudson, Jmeter e iPhone

Webinar on deployment automation Xebialabs - 15 sept 2010
Webinar on deployment automation  Xebialabs - 15 sept 2010Webinar on deployment automation  Xebialabs - 15 sept 2010
Webinar on deployment automation Xebialabs - 15 sept 2010
XebiaLabs
 

Similar to Continous monitoring con Hudson, Jmeter e iPhone (20)

Accelerate your Application Delivery with DevOps and Microservices
Accelerate your Application Delivery with DevOps and MicroservicesAccelerate your Application Delivery with DevOps and Microservices
Accelerate your Application Delivery with DevOps and Microservices
 
Agile & ALM tools
Agile & ALM toolsAgile & ALM tools
Agile & ALM tools
 
Metrics driven dev ops 2017
Metrics driven dev ops 2017Metrics driven dev ops 2017
Metrics driven dev ops 2017
 
SDLC & DevOps Transformation with Agile
SDLC & DevOps Transformation with AgileSDLC & DevOps Transformation with Agile
SDLC & DevOps Transformation with Agile
 
Building a full-stack app with Golang and Google Cloud Platform in one week
Building a full-stack app with Golang and Google Cloud Platform in one weekBuilding a full-stack app with Golang and Google Cloud Platform in one week
Building a full-stack app with Golang and Google Cloud Platform in one week
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
Continuous delivery the french way Agile Cambridge 2014
Continuous delivery the french way Agile Cambridge 2014Continuous delivery the french way Agile Cambridge 2014
Continuous delivery the french way Agile Cambridge 2014
 
The macro of microservices
The macro of microservicesThe macro of microservices
The macro of microservices
 
Part 2 improving your software development v1.0
Part 2   improving your software development v1.0Part 2   improving your software development v1.0
Part 2 improving your software development v1.0
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
Webinar on deployment automation Xebialabs - 15 sept 2010
Webinar on deployment automation  Xebialabs - 15 sept 2010Webinar on deployment automation  Xebialabs - 15 sept 2010
Webinar on deployment automation Xebialabs - 15 sept 2010
 
Scaling Engineering with Docker
Scaling Engineering with DockerScaling Engineering with Docker
Scaling Engineering with Docker
 
ngStockholm #8 at NetEnt - Micro Frontend Architecture
ngStockholm #8 at NetEnt - Micro Frontend ArchitecturengStockholm #8 at NetEnt - Micro Frontend Architecture
ngStockholm #8 at NetEnt - Micro Frontend Architecture
 
IBM Connect 2014 - AD205: Creating State-of-the-Art Web Applications with Dom...
IBM Connect 2014 - AD205: Creating State-of-the-Art Web Applications with Dom...IBM Connect 2014 - AD205: Creating State-of-the-Art Web Applications with Dom...
IBM Connect 2014 - AD205: Creating State-of-the-Art Web Applications with Dom...
 
IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016
 
RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
 RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hourConvert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
 
Frontend Monoliths: Run if you can!
Frontend Monoliths: Run if you can!Frontend Monoliths: Run if you can!
Frontend Monoliths: Run if you can!
 
Von Bayern in die Cloud
Von Bayern in die CloudVon Bayern in die Cloud
Von Bayern in die Cloud
 
DWX2015 - Von Bayern in die Cloud
DWX2015 - Von Bayern in die CloudDWX2015 - Von Bayern in die Cloud
DWX2015 - Von Bayern in die Cloud
 

More from Codemotion

More from Codemotion (20)

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending story
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storia
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard Altwasser
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Continous monitoring con Hudson, Jmeter e iPhone

  • 1. Continous monitoring con Hudson, Jmeter e iPhone Riccardo Solimena – Codemotion 2011 - Roma Riccardo Solimena – riccardo.solimena@gmail.com
  • 2. 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. Riccardo Solimena – riccardo.solimena@gmail.com
  • 3. Agenda Chi sono? Continous Integration – Definizione Continous Integration – Comparazione Prodotti Open Hudson Jenkins JMeter Soap UI Plugins Hudson DEMO Domande Riferimenti Riccardo Solimena – riccardo.solimena@gmail.com
  • 4. Chi Sono? Riccardo Solimena Agenda Senior Analyst Programmer Chi sono? Società Continous Integration – Definizione Continous Integration – Comparazione Prodotti Open Hudson Jenkins Clienti JMeter Soap UI Plugins Hudson DEMO Certificazioni Domande Riferimenti Riccardo Solimena – riccardo.solimena@gmail.com
  • 5. Continous Integration – Definizione Agenda 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. Continous Integration – Comparazione Prodotti Agenda 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. Oracle Hudson Agenda 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. Jenkins the Hudson fork Agenda 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. Jenkins the Hudson fork Agenda Hudson CI Jenkins CI Riccardo Solimena – riccardo.solimena@gmail.com
  • 10. Apache JMeter Agenda • 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. Apache JMeter Agenda 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. SoapUI Agenda 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. Plugins Hudson Agenda 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. DEMO Agenda 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. 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. 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