Presented By:
Himani Chauhan
Software Consultant
Test Automation Studio
How to Fit Performance
Testing in Devops environment
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Join the session 5 minutes prior to
the session start time. We start on
time and conclude on time!
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
Our Agenda
1
01
Introduction of Performance
Testing and its types
2
02
Benefits of Performance Testing
3
03
Performance Testing Process
4
04
Process of Performance Testing In Devops
5
05
Integrating Jmeter with Jenkins
6 Demo
Introduction to Performance Testing
It ensures software applications will perform well under their expectation of workload. it is nothing but
testing the stability and response time of an application by applying load is called performance
testing.
Stability:-ability to withstand a designed number of users is called stability.
Response time:-Time taken to send the request to the server such as running the program in the
server, and getting back the request from the server is called response time.
Load:-number of users using the application at a particular period of time is called load.
Types of Performance Testing
Load Testing:- In load testing, you test the stability and response
time of an application by applying load which is equal to the design
no of users or which is less than the design no of users. this is the
load testing.
Stress Testing:- In Stress testing, you test the stability and response
time of an application by applying load which is more than the
design no of users. this is stress testing.
Scalability Testing:-In Scalability testing, you test the stability and
response time of an application by applying load which is more than
the design no of users, and here we try to find out where exactly my
software is going to crash.
Volume Testing:-In Volume testing, you test the stability and
response time of an application by transferring a huge no of data
such as In volume, we test the capacity of my database.
Benefits of Performance Testing
Improves website speed
1
2
3
4
Ensures scalability, reliability of apps
Enhances customer experience
Helps to generate more revenue
Performance Testing Process
r
Future State
Introduction to Performance Testing in
Devops
Devops is a software Development
approach which involves continuous
development, Continuous testing,
continuous Deployment and continuous
monitoring
➢ 1. DevOps helps to get faster releases
and high-quality in less time for the
business.
➢ 2. This DevOps methodology promotes
collaboration between teams to deliver
faster and quality releases to the
customer.
➢ 3. The DevOps lifecycle includes various
stages such as Continuous Integration
(CI), Continuous Testing (CT), and
Continuous Delivery (CD).
➢ 4. To ensure the release of high-quality
software in less time, performance
testing in DevOps plays a critical
How Can You Ensure Performance in DevOps?
Here we’ll describe 6 key components which make up any successful performance strategy
1
2
3
4
5
Performance Testing Process
Tooling
Environments
Data
Reporting
Process of Performance testing in Devops
Delivery
Performance and load testing in DevOps, some of steps should be followed at each stage of the DevOps
lifecycle.
Code and build stage:-DevOps performance testing starts with continuous performance testing at the build
stage, which involves unit performance testing. In this stage, the smallest unit of the software is checked to
ensure they perform well in isolation.
Integration Stage:-Once the unit performance testing is done, performance testing is done at the integration
stage, where the smallest units of the software are integrated. The performance of these integrated
units/modules is tested to ensure the effective performance of modules after integration.
Test Stage:- During this stage, system-level performance testing is done to ensure the software performs well as
expected. Once the system-level performance tests are passed, the software moves to the release and deploy stage.
Release and Deploy Stage:-During this stage, load testing and real user monitoring are performed to ensure that
the software handles the user load effectively in the production environment.
Monitoring Stage:-After the software reaches the monitoring stage, continuous performance monitoring is done,
where various performance metrics are evaluated to determine areas that need improvement.
Performance Testing tools
Following are some tools for performance testing
1
2
3
4
Apache Jmeter
LoadNinja
LoadRunner
NeoLoad
Integrating Performance testing in devops
pipeline
The principles of Continuous Integration (CI) were created to help solve this problem. CI involves
developers frequently checking in their code changes and building those changes to make sure that new
code integrates with the main codebase and often involves automated testing.
Performance testing is one part of the CI process. This type of testing involves stress testing your
application to make sure it can handle traffic, users, and data exchanges in an acceptable manner.
Jmeter and Jenkins in performance testing
Jmeter
● It is also known as the Apache JMeter.it is an open-source tool for
testing.
● JMeter is use for the analyze the load and performance of an
application.
● Apache JMeter is software that is use such as a load testing tool
for measuring the performance of a variety of services.
● JMeter is use for testing web application or FTP application it is
use for a functional test,Database server test,API testing etc.
Jenkins
● jenkins has many plugins that enhance its usability, and one of
plugin we used for performance testing that is “jenkins
performance plugin.”
● The jenkins performance plugin allows users to run tests using
popular open source tool,get reports from them and analyze the
graphic charts.This ability is very important for testing the
stability of applications.
Integration of Jmeter with Jenkins
JMeter - Leading open source tool for performance testing
Jenkins - Leading open source tools for Continuous Integration
With jenkins you can integrate all Jmeter tests in your pipeline process and better
understand the details of your application There are some advantage of Jmeter with
Jenkins:-
1
2
3
4
Unattended Test Execution
Automatic build failures
Easy access to test reports
Automation of routine work
Demo
Thank You !
Get in touch with us:
Knoldus Inc.
India, USA, Canada, Singapore, Netherland, Vietnam

How to fit Performance Testing in Devops environment.pptx.pdf

  • 1.
    Presented By: Himani Chauhan SoftwareConsultant Test Automation Studio How to Fit Performance Testing in Devops environment
  • 2.
    Lack of etiquetteand manners is a huge turn off. KnolX Etiquettes Punctuality Join the session 5 minutes prior to the session start time. We start on time and conclude on time! Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Silent Mode Keep your mobile devices in silent mode, feel free to move out of session in case you need to attend an urgent call. Avoid Disturbance Avoid unwanted chit chat during the session.
  • 3.
    Our Agenda 1 01 Introduction ofPerformance Testing and its types 2 02 Benefits of Performance Testing 3 03 Performance Testing Process 4 04 Process of Performance Testing In Devops 5 05 Integrating Jmeter with Jenkins 6 Demo
  • 4.
    Introduction to PerformanceTesting It ensures software applications will perform well under their expectation of workload. it is nothing but testing the stability and response time of an application by applying load is called performance testing. Stability:-ability to withstand a designed number of users is called stability. Response time:-Time taken to send the request to the server such as running the program in the server, and getting back the request from the server is called response time. Load:-number of users using the application at a particular period of time is called load.
  • 5.
    Types of PerformanceTesting Load Testing:- In load testing, you test the stability and response time of an application by applying load which is equal to the design no of users or which is less than the design no of users. this is the load testing. Stress Testing:- In Stress testing, you test the stability and response time of an application by applying load which is more than the design no of users. this is stress testing. Scalability Testing:-In Scalability testing, you test the stability and response time of an application by applying load which is more than the design no of users, and here we try to find out where exactly my software is going to crash. Volume Testing:-In Volume testing, you test the stability and response time of an application by transferring a huge no of data such as In volume, we test the capacity of my database.
  • 6.
    Benefits of PerformanceTesting Improves website speed 1 2 3 4 Ensures scalability, reliability of apps Enhances customer experience Helps to generate more revenue
  • 7.
  • 8.
    Introduction to PerformanceTesting in Devops Devops is a software Development approach which involves continuous development, Continuous testing, continuous Deployment and continuous monitoring ➢ 1. DevOps helps to get faster releases and high-quality in less time for the business. ➢ 2. This DevOps methodology promotes collaboration between teams to deliver faster and quality releases to the customer. ➢ 3. The DevOps lifecycle includes various stages such as Continuous Integration (CI), Continuous Testing (CT), and Continuous Delivery (CD). ➢ 4. To ensure the release of high-quality software in less time, performance testing in DevOps plays a critical
  • 9.
    How Can YouEnsure Performance in DevOps? Here we’ll describe 6 key components which make up any successful performance strategy 1 2 3 4 5 Performance Testing Process Tooling Environments Data Reporting
  • 10.
    Process of Performancetesting in Devops Delivery Performance and load testing in DevOps, some of steps should be followed at each stage of the DevOps lifecycle. Code and build stage:-DevOps performance testing starts with continuous performance testing at the build stage, which involves unit performance testing. In this stage, the smallest unit of the software is checked to ensure they perform well in isolation. Integration Stage:-Once the unit performance testing is done, performance testing is done at the integration stage, where the smallest units of the software are integrated. The performance of these integrated units/modules is tested to ensure the effective performance of modules after integration.
  • 11.
    Test Stage:- Duringthis stage, system-level performance testing is done to ensure the software performs well as expected. Once the system-level performance tests are passed, the software moves to the release and deploy stage. Release and Deploy Stage:-During this stage, load testing and real user monitoring are performed to ensure that the software handles the user load effectively in the production environment. Monitoring Stage:-After the software reaches the monitoring stage, continuous performance monitoring is done, where various performance metrics are evaluated to determine areas that need improvement.
  • 12.
    Performance Testing tools Followingare some tools for performance testing 1 2 3 4 Apache Jmeter LoadNinja LoadRunner NeoLoad
  • 13.
    Integrating Performance testingin devops pipeline The principles of Continuous Integration (CI) were created to help solve this problem. CI involves developers frequently checking in their code changes and building those changes to make sure that new code integrates with the main codebase and often involves automated testing. Performance testing is one part of the CI process. This type of testing involves stress testing your application to make sure it can handle traffic, users, and data exchanges in an acceptable manner.
  • 14.
    Jmeter and Jenkinsin performance testing Jmeter ● It is also known as the Apache JMeter.it is an open-source tool for testing. ● JMeter is use for the analyze the load and performance of an application. ● Apache JMeter is software that is use such as a load testing tool for measuring the performance of a variety of services. ● JMeter is use for testing web application or FTP application it is use for a functional test,Database server test,API testing etc. Jenkins ● jenkins has many plugins that enhance its usability, and one of plugin we used for performance testing that is “jenkins performance plugin.” ● The jenkins performance plugin allows users to run tests using popular open source tool,get reports from them and analyze the graphic charts.This ability is very important for testing the stability of applications.
  • 15.
    Integration of Jmeterwith Jenkins JMeter - Leading open source tool for performance testing Jenkins - Leading open source tools for Continuous Integration With jenkins you can integrate all Jmeter tests in your pipeline process and better understand the details of your application There are some advantage of Jmeter with Jenkins:- 1 2 3 4 Unattended Test Execution Automatic build failures Easy access to test reports Automation of routine work
  • 16.
  • 17.
    Thank You ! Getin touch with us: Knoldus Inc. India, USA, Canada, Singapore, Netherland, Vietnam