Software Testing Part-2
Software Testing Part-2
• Performance Testing
Performance Testing
Ensure application performs well under expected workload
• Focus is on:
• Speed determines application response time
• Scalability determines maximum workload application can handle
• Stability determines if application is stable under varying loads
Why Performance Testing?
• Share application’s performance attribute with stakeholder (e.g. client)
• Helps identify bottlenecks before system goes live or prior to busy season
• Load Runner
• Blaze Meter
• Apica
• WebLoad
• How it works?
• For web based applications, increase load slowly until reaches to threshold
• Use multiple geographical locations
• Observe number of loops completed in a given time
• Monitor CPU/memory & database performance
• Report results
Stress Testing
Meant to measure performance outside system parameters
• To verify if the system prints meaningful error messages while crashing or random
exceptions.
• Identify problems that are likely to occur with large volume of data
• Check for warning and error messages, whether it comes at all for volume
problems
• Analyze the use case for improvement once a baseline has been established
• Example:
• Suppose an OPD application is expected to run for 4hours a day; under soak
test, application will be executed for 8hours.
Analyze Results