The document discusses performance testing in software quality assurance. It begins with an agenda that covers fundamentals of performance testing, types of performance tests, and Jmeter. Under fundamentals, it defines performance testing and discusses response time, throughput, reliability, and scalability. It then covers different types of performance tests like smoke, load, stress, spike, and endurance tests. Load tests evaluate behavior under expected load while stress tests use beyond expected maximum load. Spike tests evaluate behavior under sudden load changes and endurance tests apply sustained high load over time.
2. Agenda
1 Fundamentals of Performance Testing
2 Types of Performance Tests
3 Jmeter
Software Testing Software Quality Assurance February 9, 2023 2 / 27
3. Fundamentals of Performance Testing
Agenda
1 Fundamentals of Performance Testing
2 Types of Performance Tests
3 Jmeter
Software Testing Software Quality Assurance February 9, 2023 3 / 27
4. Fundamentals of Performance Testing
Introduction
Performance testing is non-functional testing technique which is used
to test response time, throughput, reliability, and scalability of the
system
It is usually done after functional testing
It reveals that how system behaves in various situations
The prime goal is to determine how much workload the system can
take before breaking down or stalling
Software Testing Software Quality Assurance February 9, 2023 4 / 27
5. Fundamentals of Performance Testing
Response time
Response time is the total time between a request for service and the
fulfillment of that request
Round trip network latency + Processing time
Software Testing Software Quality Assurance February 9, 2023 5 / 27
6. Fundamentals of Performance Testing
Throughput
Number of transactions that application can handle per unit time
Kilo bytes received/sent per unit time
Software Testing Software Quality Assurance February 9, 2023 6 / 27
7. Fundamentals of Performance Testing
Reliability
Ability of the system to work accurately under the given conditions
Number of errors
Number of requests
Software Testing Software Quality Assurance February 9, 2023 7 / 27
8. Fundamentals of Performance Testing
Scalability
How system responds when the number of user requests are scaled up
or down
Scalability in terms of response time, throughput, and percentage of
errors
Vertical scalabilty vs Horizontal scalbility
Software Testing Software Quality Assurance February 9, 2023 8 / 27
9. Types of Performance Tests
Agenda
1 Fundamentals of Performance Testing
2 Types of Performance Tests
3 Jmeter
Software Testing Software Quality Assurance February 9, 2023 9 / 27
10. Types of Performance Tests
Type of performance tests
Smoke test
Load test
Stress test
Spike test
Endurance test
Software Testing Software Quality Assurance February 9, 2023 10 / 27
11. Types of Performance Tests
Load test vs Stress Test
Load testing is performed to evaluate that how system behaves under
the expected load
Stress testing is performed to evaluate that upper limits of a system’s
capacity using a load beyond the expected maximum.
Software Testing Software Quality Assurance February 9, 2023 11 / 27
12. Types of Performance Tests
Spike testing
The main purpose of spike testing is to evaluate the behavior of
system under sudden increment or decrement in user load and
determine recovery time after a spike of user load
Software Testing Software Quality Assurance February 9, 2023 12 / 27
13. Types of Performance Tests
Endurance testing
In endurance testing, a system is tested with high load extended over
a significant amount of time to evaluate the behavior of software
application under sustained use
Software Testing Software Quality Assurance February 9, 2023 13 / 27