CSE 565: Final Exam Review Questions And Accurate
Answers Rated A+
Performance testing objective - ANSWER Verify requirements are met for specific load
conditions including stress and volume scenarios
What are the 4 entry criteria for performance testing? - ANSWER 1. Measurable performance
requirements
2. Reasonably stable system
3. Test environment similar to the customer's site
4. Tools (such as load generator and resource monitor)
What all should be covered by load testing? - ANSWER Different volumes of activity and
different mixes of activity
T/F: For all use cases, the load should be varied and response times should be tracked -
ANSWER False. This should only be done for relevant use cases.
What can resource usage help identify? - ANSWER Bottlenecks or sources of performance
problems
Stress testing objective - ANSWER Verify the requirements are met when resources are
saturated and pushed beyond their limits
,Stress testing steps - ANSWER 1. Identify stress points
2. Develop a strategy to stress the parts of the system identified in step 1
3. Verify the intended stress is actually generated
4. Observe behavior
When observing behavior during stress testing, what should you be looking for? - ANSWER
Stress related requirements are met and functional correctness is achieved
What are some reasons stress may not be actually generated during stress testing? - ANSWER
1. The testing strategy may be ineffective
2. The system performance may be better than expected
Volume testing objective - ANSWER Verify requirements are met when there is a large
amount of activity over an extended period of time
What errors can be detected through volume testing? - ANSWER 1. Memory leaks
2. Counter overflows
3. Resource depletion
Configuration testing objective - ANSWER Verify functional and performance requirements
are met on different configurations the application runs on
, Configuration testing steps - ANSWER 1. Identify parameters that define each configuration
that may have an impact on the system's ability ot function (i.e. cpu, memory, os, database,
etc)
2. Group similar parameters together to reduce number of configurations
3. Identify configuration combinations to test (boundaries, risk based, DoE)
Why might modifications to code introduce errors? - ANSWER 1. Code ripple effects
2. Unintended feature interactions
3. Changes in performance synchronization, resource sharing, etc
T/F: Regression testing is only performed at the unit level - ANSWER False. Can also be at the
integration and system test level
T/F: Usually just a subset of regression tests will be run based on the modification. - ANSWER
True. It is often impractical to run all tests.
What are the two strategies to choosing the subset of regression tests to run? - ANSWER 1.
Testing of code deltas
2. Ripple effect analysis
What does testing of code deltas require? - ANSWER A configuration management tool to
identify code change deltas
Answers Rated A+
Performance testing objective - ANSWER Verify requirements are met for specific load
conditions including stress and volume scenarios
What are the 4 entry criteria for performance testing? - ANSWER 1. Measurable performance
requirements
2. Reasonably stable system
3. Test environment similar to the customer's site
4. Tools (such as load generator and resource monitor)
What all should be covered by load testing? - ANSWER Different volumes of activity and
different mixes of activity
T/F: For all use cases, the load should be varied and response times should be tracked -
ANSWER False. This should only be done for relevant use cases.
What can resource usage help identify? - ANSWER Bottlenecks or sources of performance
problems
Stress testing objective - ANSWER Verify the requirements are met when resources are
saturated and pushed beyond their limits
,Stress testing steps - ANSWER 1. Identify stress points
2. Develop a strategy to stress the parts of the system identified in step 1
3. Verify the intended stress is actually generated
4. Observe behavior
When observing behavior during stress testing, what should you be looking for? - ANSWER
Stress related requirements are met and functional correctness is achieved
What are some reasons stress may not be actually generated during stress testing? - ANSWER
1. The testing strategy may be ineffective
2. The system performance may be better than expected
Volume testing objective - ANSWER Verify requirements are met when there is a large
amount of activity over an extended period of time
What errors can be detected through volume testing? - ANSWER 1. Memory leaks
2. Counter overflows
3. Resource depletion
Configuration testing objective - ANSWER Verify functional and performance requirements
are met on different configurations the application runs on
, Configuration testing steps - ANSWER 1. Identify parameters that define each configuration
that may have an impact on the system's ability ot function (i.e. cpu, memory, os, database,
etc)
2. Group similar parameters together to reduce number of configurations
3. Identify configuration combinations to test (boundaries, risk based, DoE)
Why might modifications to code introduce errors? - ANSWER 1. Code ripple effects
2. Unintended feature interactions
3. Changes in performance synchronization, resource sharing, etc
T/F: Regression testing is only performed at the unit level - ANSWER False. Can also be at the
integration and system test level
T/F: Usually just a subset of regression tests will be run based on the modification. - ANSWER
True. It is often impractical to run all tests.
What are the two strategies to choosing the subset of regression tests to run? - ANSWER 1.
Testing of code deltas
2. Ripple effect analysis
What does testing of code deltas require? - ANSWER A configuration management tool to
identify code change deltas