Load Test
Testing the application under varying acceptable loads
Stress Test
Testing the behavior of the application for peak loads
Scalability Test
Checking the system for hardware and user scalability
Workload Distribution
Workload Distribution is a representation of the functions performed by a user community on a system. It is based on a percentage of users performing a specific function over a given period of time.
Performance testing process consists of 8 phases
1. Analyze Performance- Load requirements
2. Create Performance Test Plan
3. Create Performance Test Cases
4. Ensure Testing Environment Setup
5. Generate Scripts
6. Execute Performance test
7. Review Test Results and Prepare Reports
8. Recommendations
Analyze Performance – Load Requirements
This phase consists of analyzing Performance requirements, architecture and target Production system
Entry
High level Performance testing requirements
Inputs
· Use case documents
· Performance test requirements
Tasks
· Understand the application
· Understand the architecture
· Understand the target production environment
· Identify the performance testing tool
· Revalidate resources for performance testing
Verification / Validation
Review understanding with customer
Outputs
· Performance testing tool identified
· Performance test team revalidated based on the requirements
Exit
Understanding of architecture and application
Refer… Guidelines for gathering performance testing requirements
Create Performance - Load Test Plan
This phase consists of preparation of Test Plan based on the requirements and other information like estimations and Risks. For Defect Tracking and Build Management (Refer… Guidelines for Build and Release Management, Guidelines for Metrics Definition Standard, Guidelines for Defect Management)
Entry
Understanding of architecture and application
Inputs
Performance test requirements
Task
· Identify business critical transactions
· Analyze the load model
· Prepare Volumetric data
· Analyze the test data required for performance testing
· Plan Workload Distribution
· Prepare a performance test Plan (Refer… Performance test plan template)
· Review performance test plan with customer
Validation
Test plan review
Output
Performance test plan
Exit
Sign off on performance test plan
Create Performance - Load Test Cases
This phase involves preparation of Load-Performance test cases based on requirements. (Refer… Guidelines for Software Testing)
Entry
Identification of Critical transactions
Inputs
Performance Test Plan and Performance Test Requirements
Task
· Prepare Performance Test Cases
· Identify business critical transactions
· Analyze the sequence of transactions that are most critical
· Identify the steps involved in each transaction
· Analyze the test data required for performance testing
· Document the identified scenarios and transactions in the test plan
· Review performance test plan with customer
Validation
· Review of the feasibility of the transactions and their flow
· Review of the newly documented test transactions in the test plan
Output
· Performance Test Cases
· Feasible transactions for scripting and test data generation
· An updated performance test plan
Exit
Sign off on the identified transactions and the updated performance test plan
Sign off of performance Test Cases
Ensure Testing Environment
This phase consist of Environment setup to ensure the readiness for test execution. (Refer… Guidelines for Test Data Management)
Entry
· Performance test plan
· Understanding of application architecture
Inputs
· Performance test plan
· Performance test tool
Task
· Setup environment for testing
· Setup test tool
· Setup test data required
· Setup the required application user access and other accesses
· Deploy application build
Validation
· Environment validation
· Access rights verification
· Tool setup verification
· Test data verification
· Application build verification
Output
Test data
Exit
Environment ready
Generate Scripts
This phase consists of generating Automation scripts for Performance and Load testing.
Entry
· Environment is ready
· Application is stable without critical defects
Inputs
· Performance test plan
· Performance Test Cases
· Test data
Task
Generate the test scripts as per the performance test plan
Validation
· Test scripts
· Test scenarios Review
Output
Test scripts
Exit
Validated test scripts
Execute Performance Test
This phase consists of execution of Test Cases for analyzing performance of application under real time loads.
Entry
· Environment is ready
· Test Cases
· Test scripts
· Build is updated
Inputs
· Test scenarios
· Test Cases
· Test Scripts
Task
· Setup test scenarios
· Execute the tests
· Monitor the servers required
· Monitor the network if required
· Re-Run the tests if required
· Save the results
· Raise defects (If it is in scope)
Validation
Tests results
Output
Test results
Exit
Test execution complete
Review Test Results and Prepare Reports
This phase consists of review of test results.
Entry
Test execution complete
Inputs
Test results
Task
· Analyze the results
· Prepare a report (Refer… performance test report)
· Present to the stake holders
Validation
Review the results
Output
Performance test report
Exit
Sign off on the test report
Recommendations
This phase consists of preparation of Test report denoting completion of testing activity.
Entry
Sign off on the Test Report
Inputs
Test Report
Task
· Analyze the Report
· Identify Performance bottlenecks
· Identify improvement areas
· Identify steps for improvement
Validation
Results review
Output
Recommendations for performance improvements/tuning suggestions
Exit
Presentation of the recommendations
No comments:
Post a Comment