Introduction to performance testing

17
Introduction to Performance Testing By Anushka Wickramaratne

description

Presentation done at inauguration of the Colombo PerfTest Meet Up

Transcript of Introduction to performance testing

Page 1: Introduction to performance testing

Introduction to Performance TestingBy

Anushka Wickramaratne

Page 2: Introduction to performance testing

Agenda

• What is Performance Testing?• What is Performance Tuning?• What is Performance Engineering?• Why PT?• Attributes of PT• Performance Test Types• Optimization mechanisms• Myths• PT cycle• PT Tools• Tools Architecture• PT in a Nutshell?

Page 3: Introduction to performance testing

Once upon a time in Sri Lanka…..

Page 4: Introduction to performance testing

Discipline concerned with detecting and reporting the current behavior of the software system.

What is Performance testing?

Page 5: Introduction to performance testing

Process by which software is tested and tuned to improve the system performance.

What is Performance Tuning?

Page 6: Introduction to performance testing

Process that applied at every phase of the SDLC.

What is Performance Engineering?

Page 7: Introduction to performance testing

Why Performance testing?

• To confirm and validate SLA

• To compare two systems to find which performs better or to check the current product capacity.

• To measure what parts of the system or workload causes the system to perform badly.

Page 8: Introduction to performance testing

Attributes of Performance Testing

Back to Ravana’s Story

• Speed

• Scalability

• Stability

• Confidence

Page 9: Introduction to performance testing

Performance Test Types

• Performance Testing

• Load Testing

• Stress Testing

• Capacity Testing

• Endurance Testing

• Spike Testing

Page 10: Introduction to performance testing

Performance Optimization Mechanisms

• Front End Optimization (FEO)

• Back End Optimization (BEO)Web Performance Optimization (WPO)

Page 11: Introduction to performance testing

Performance Testing Myths

• PT is done to break the code.

• PT is all about learning and using a load testing tool & vice-versa

• Results that are true for the testing server can be simply scaled up or down.

• PT can ONLY be done towards the end of the testing life cycle.

Page 12: Introduction to performance testing

Performance Test Cycle

Page 13: Introduction to performance testing

Performance Test Tools

• Free/Open source– Jmeter– Open STA

• Commercial– Load Runner– Webload

• Create Own

• Supporting tools- Httpwatch- Yslow- Bad Boy

Page 14: Introduction to performance testing

Common PT Tool Architecture

Page 15: Introduction to performance testing

Performance Testing in a Nutshell

Page 16: Introduction to performance testing
Page 17: Introduction to performance testing