Vocab
Capacity Testing
Determines:
* How many users
* How many transactions
* Number of data volumes from transactions
are needed to meet performace objectives
Vocab
Concurrency Testing
Focuses on
the impact of situations were specific actions occur simultaneously
Concurrency issues are notoriously difficult to find and reproduce
What are the three characteristics of performance testing?
Vocab
Endurance Testing
Focuses on the stability over time.
Verifies no resource capacity problems, such as:
* Memory leaks
* Database connections
* Thread pools
Vocab
Load Generation
Simulates a load for testing:
* Time-based tests
* Resource usage
* Capacity
Steps to generate:
1. Define load scenarios
2. Choose your load generation tool, such as JMeter, Gatling, etc
3. Configure the load (see below)
4. Monitor and log analytics
Configure:
* Ramp-up time: The rate at which VUsers are added to the test.
* User think time: The delay between requests from each VUser.
* Request rate: The frequency of requests per second.
* Data volume: The amount of data transferred during each request.
Vocab
Load Testing
Can the system handle increasing levels of anticipated loads from transaction requests from controlled numbers of concurrent users or processes
Vocab
Spike Testing
Ability of a system to respond to sudden bursts of peak loads and return to a steady state.
Vocab
Performance Testing
Umbrella term
Any testing that focuses on performance (AKA responsiveness) of the system or component under different volumes of load
Responsiveness might be swapped out for performance on the exam
Vocab
Scalability Testing
Ability to meet future requirements beyond which are currently required.
Determine the ability of the system to grow, without violating currently specified performance requirements or failing.
Observability implications - - Threshold values can then be set and monitored in production to provide a warning about when a problem is about to arise.
Vocab
Stress Testing
Ability of a system or component to handle peak loads that are at or beyond the limits of anticipated workloads.
ALSO
Ability of a system to handle reduced resources, such as:
* compute capacity
* bandwidth
* memory
Is performance testing functional or non-functional?
Non-functional - the testing does not address the functionality of the application directly
What are the 5 performance testing principles?
What are the two testing types used in perf testing?
What are some of the static testing activities?
What are some of the dynamic testing activities?
True or False
The use of realistic environments, data, and loads are critical for accurate results, for system testing and system integration testing.
True
How soon should performance testing begin in an agile environment?
As soon as possible, starting with the requirements.
Performance requirements will be found in the “acceptance criteria” of a user story.
What if the necessary hardware isn’t available?
Use simulators for the time being
What are the 4 ways to generate loads?
Describe 3 requirements for a performance test load
General Knowledge
What is SUT
System Under Test
Describe Load Generation via User Interface (UI)
Describe Load Generation with Crowds
Describe Load Generation via API
API - Application Programming Interface