I will be going to present the session on Performance Testing to let people know about the importance (what and why) of performance testing in software and how can we easily perform performance testing using the tool Jmeter. I will be more focused to introduce the use of the Jmeter tool in Performan...
I will be going to present the session on Performance Testing to let people know about the importance (what and why) of performance testing in software and how can we easily perform performance testing using the tool Jmeter. I will be more focused to introduce the use of the Jmeter tool in Performance Testing.
Size: 655.06 KB
Language: en
Added: Nov 16, 2020
Slides: 22 pages
Slide Content
Performance Testing With Jmeter
Presented by : Aditi Varshney
Sr. Software Consultant QA
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings,
you are requested not to join
sessions after a 5 minutes
threshold post the session start
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
01What is Performance Testing
02Types of Performance Testing
03
Performance Testing symptoms and issues
04What ,why and how is Jmeter
05Installation and Demo
Performance Testing
Software Performance testing is type of testing perform to determine the
performance of system to major the measure, validate or verify quality
attributes of the system like responsiveness, Speed, Scalability, Stability
under variety of load conditions.
Need of Performance Testing
●Provide Performance Metrics
●Enhance Scalability and Reliability of Software
●Engage customers with better website speed
●Resolve glitches before it goes to the market
●Build responsiveness of an application
Types of Performance Testing
●Almost impossible without one .
●Without tool, relies on massive hardware and personnel to generate load.
●The cost of repeating ‘manual’ test never diminishes.
●Without a tool , no report are created
1. Response Time
2. CPU Utilization
3. Disk I/o
4. Network I/o
5. Other
●
Why To use Performance Testing Tool
Performance Testing Life Cycle
●Identify Test Environment
●Identify Performance Acceptance Criteria
●Plan & Design Test
●Configure Test Environment
●Implement Test Design
●Execute Test
●Analyze Test
Performance Testing Issues
●Application Server
●Database server
●Web Server
●Network Server
Symptops
Page Check Error
Long Response Time
Memory Leak
High CPU usage
Https Errors
Page Not Available
Erroneous Data return
What is Jmeter
●Apache JMeter is a open source testing tool.
● It is 100 % pure java based desktop application.
● It was originally designed for the load testing web applications but has since
expanded to other test functions.
● It can perform all type of performance testing like – Baseline test, Smoke test
,Load test, Stress Test.
Why Jmeter for Performance Testing
●GUI Design and Interface
●Perform Type of Testing- Functional Testing,
Regression testing and Regression Testing
●Support various type of protocol- Web(Http,
Https). SOAP/REST, FTP, Database via JDBC
,TCP etc.
●100% Java scripted
●Full Multithreading framework
●Scripting is easy i.e. -groovy, Java, JavaScript, beanshell, any language etc.
●Result Analysis and Caches
●Pluggable Samplers
●Record & Playback
Benefits of Jmeter Over Other Tool
●Availability
●Load Generation Capacity
●Execution
●Analysis Report
●Open-source & Community support
●Scripting
●Building test-scenarios
●Elements
Architecture of JMeter
●Create Request to target server
●Server Responds
●JMeter Save Response
●Collect Statistical.
●End Process.
●Result/Reports.
Services Provided by Jmeter
●Distributed Load Testing
●Server Monitoring
●Recording Test
●Graph Listener
●Building Jmeter
●Integration With CI/CD
Jmeter Integration With CI/CD
●Installation of Jmeter
●Create Jmeter Script
●Added in Repository
●Installation of Jenkins
●Add Plugins in Jenkins-
●Create Job in Jenkins
●Run the Build
●Analyze Results
Terminology
Elements of Test Plan-
Demo
1.Record JMeter script using Blazemeter Extension
●Add Blazemeter Extension in chrome browser.
●Start Recording .
●Save recording in JMX format.the scenario in blazemeter
●Configure it in JMeter .
●Add listeners and run the script.
2. Record JMeter script using Proxy
●Add Https Test script recorder in JMeter.
●Click on start button
●Apache JMeter Temporary Root CA certificate get installed in bin directory.
● Open browser , add manual proxy and add certificate.
●Start recording your scenario from browser.
●Playback as per the requirement.