Integrated Approach to Web Performance Testing
Transcript of Integrated Approach to Web Performance Testing
Integrated Approach to Web Performance Testing:
A Practitioner's Guide
B. M. Subraya Infosys Technologies Limited, Mysore, India
I R M P r e s s Publisher of innovative scholarly and professional
information technology titles in the cyberage
Hershey • London • Melbourne • Singapore
Integ rated Approach to Web Performance Testing:
A Fractitioner's Guide
Table of Contents
Chapter 1. Web-Based Systems and Performance Testing 1 Web Systems and Poor Performance 2 Classification of Web Sites 4 The Need for Performance Testing 5 General Perception about Performance Testing 12 Performance Testing: "LESS" Approach 14 Difference between the Components of LESS 18 Performance Testing Life Cycle 21 Performance Testing vs. Functional Testing 22
Chapter 2. Performance Testing: Factors that Impact Performance ...29 Project Peculiarities 29 Technical Peculiarities 31 Web Site Contents 32 Client Environment 34 Server Environment 36 Network Environment 43 Web Caching 45 Challenges Ahead 48
Chapter 3. Performance Testing: Reference Technology and Languages 52 Client Server and Web-Based Technology 52 Web Server and Application Server 56 Evolution ofMulti-TierArchitecture 62 Scripting Languages for Web-Based Applications 68 Meeting the Challenges 73
Chapter 4. Test Preparation Phase I: Test Definition 77 Need for Test Definition Phase 77 Peformance Requirements and Their Importance 79 Business Functions Related Performance Requirement 80 Infrastructure and Network Environment 85 Explicitly Specified Requirements for Performance 88 Developing Performance Test Strategy Document 92
Chapter 5. Test Preparation Phase II: Test Design 102 Importance of Test Design Phase 102 Benchmark Requirements 104 Developing a Workload 111 Sequencing Transactions 119 Selection of Tools 122
Chapter 6. Test Preparation Phase III: Test Build 124 Developing the Performance Test Plan 124 Working with the Proper Testing Environment 126 Challenges in Creating a Simulated Environment 136 Developing Test Scripts 138 Preparing the Test Schedule 141 Defming the Testing Process 141 Analysis of Risk Factors 143
Chapter 7. Performance Test Execution Phase 148 Entry Criteria 148 Exit Criteria 152 Elaboration Testing 156 Seif Satisfaction Test (SST) 157 Multiple Test Runs 158 Challenges in Test Execution 160 Guidelines for Test Execution 163
Chapter 8. Post Test Execution Phase 167 Objectives of the Analysis Phase 168 Analysis Process 168 Analyze Test Logs 169 Verifying Pass or Fail Criteria 172 Test Reports 173 Areas of Improvement 185 Tuning Process 187 Guidelines for Performance Tuning 195
Chapter 9. Performance Test Automation 201 Performance Test Automation Process 202 Preparation Phase 203 Planning Phase 216 Execution Phase 224 Postexecution Phase 226
Chapter 10. Introduction to Performance Monitoring and Tuning: Java and .NET 234 Areas of Bottlenecks in Web-Based Applications 235 Performance Counters in che Operating System 236 Performance Monitoring and Tuning in UNIX 237 Performance Monitoring and Tuning in Windows 2000 241 Architectural Similarities between Java and .NET 242 General Guidelines for Performance Monitoring 245 Performance Monitoring and Tuning: Java 247 Performance Monitoring and Tuning: .NET 253 .NET Framework Tuning 259 Coding Guidelines 266
Appendix Section 270
Glossary 347
AbouttheAuthor 360
Index 361