Top Banner
Performance testing & beers Berlin QA // Because blame doesn´t fix bugs José Aracil // Operations Manager // Globe Testing
30

Berlin QA - Performance Testing

May 10, 2015

Download

Technology

Globe Testing

Berlin QA // Because blame doesn´t fix bugs
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Berlin QA - Performance Testing

Performance testing & beers

Berlin QA // Because blame doesn´t fix bugs

José Aracil // Operations Manager // Globe Testing

Page 2: Berlin QA - Performance Testing

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

About usWe are fun!

Page 3: Berlin QA - Performance Testing

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

About us Focussed on Software Testing and ALM

Knowledgeable and experienced staff

Innovation: in the forefront of our services

Obsessed with excellence and attention to detail

Page 4: Berlin QA - Performance Testing

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Our services

Functional Testing Performance Testing Performance Management

Test Execution(manual or automated)

Test managementPerformance, load,stress,

soak…

System optimization

Availability and

performanceUnderstand

end user experience

Proactive problem

resolution

Foundation

Traceability & Control Vision & ReportingProcess Standardization (i.e. Waterfall, Agile)

DevOps

Application Lifecycle Management

Training & Coaching Outsourcing & turnkey projects

Diagnostics

Consulting ServicesQA Tools Deployment

Page 5: Berlin QA - Performance Testing

Current situationWhere we stand right now

Confidential & Proprietary

Page 6: Berlin QA - Performance Testing

Application evolution

• Valuable, but growth is capped• Costly, brittle, monolithic and

proprietary• Must change structure to evolve

• Next generations of SAP and Oracle based on SOA

• SOA driving new custom applications and legacy integrations

• New Web 2.0 models• “Mashups” in the enterprise

New and Agile Business CapabilitiesShared Services / Composite Apps

Yesterday’s applications: Today’s applications:

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 7: Berlin QA - Performance Testing

The challenges of our modern world

Composite Applications

Service oriented applications

Modern, mobile applications

Agile & Modern business require MODERN and FAST applications

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 8: Berlin QA - Performance Testing

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

The challenges of our modern worldAgile & Modern business require MODERN and FAST applications

Application Unavailable

10x more performance risks

Functional defects

Page 9: Berlin QA - Performance Testing

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Performance Testing

Page 10: Berlin QA - Performance Testing

Performance• Optimal application performance is in the

experience of the end user.

Why is my application not performing?• Looks simple, if we optimize all layers in

isolation, the resulting system should perform.

Performance is in the eyes of the beholder

Page 11: Berlin QA - Performance Testing

Performance• Optimal application performance is in the

experience of the end user.

Why is my application not performing?• Looks simple, if we optimize all layers in

isolation, the resulting system should perform.

Performance is in the eyes of the beholder

Page 12: Berlin QA - Performance Testing

Performance• Optimal application performance is in the

experience of the end user.

Why is my application not performing?• Looks simple, if we optimize all layers in

isolation, the resulting system should perform.

Performance is in the eyes of the beholder

Page 13: Berlin QA - Performance Testing

Probably a MEMORY leak…

or may be a CODE issue…

I guess it is NETWORK!

Does your application have performance issues?

Page 14: Berlin QA - Performance Testing

It is probably a memory leak issue!

No, it may be a CODE issue!

I guess is Network related!

We are not ready for the 100, 1000, 100000 users!

We SHOULD haveTESTEDPerformance!

Page 15: Berlin QA - Performance Testing

How HP LoadRunner Works

5 Analysis, diagnostics and reporting

DatabaseInternet/WANMiddle Tier

(HTTP, WebSphere, Server, Network)Applicatio

nEnd user

Thousands of users are simulated

Transaction recording

“Transfer Funds”

“Check Balance”

“Pay Bills”

Scripting1

Test Scenario

Test planning2

Load generation

3 Monitorization4

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 16: Berlin QA - Performance Testing

Planning

Recipe for successTest Strategy

•Set expectations•Project planning•Environment description•Responsible people•Test scenario definition•Test case definition•Monitors to be used•“Live” document

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 17: Berlin QA - Performance Testing

Planning

Preparation

Test Env. + Data

Recipe for successTest Strategy

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

•Env. Setup (pre-prod)•Data load to resemble prod.

Page 18: Berlin QA - Performance Testing

Planning

Preparation

Tool setup

Recipe for successTest Strategy

Test Env. + Data •Performance testing tools•Monitorization tools•Other tools (reporting,…)

12/04/2023

Page 19: Berlin QA - Performance Testing

Planning

Preparation

Test case design

•Transactions•Image and text checks•Test data

Recipe for successTest Strategy

Tool setupTest Env. + Data

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 20: Berlin QA - Performance Testing

Planning

Preparation

Monitor config.

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design•Select any “interesting” metrics that should be monitored•Identify advanced metrics

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 21: Berlin QA - Performance Testing

Planning

Preparation

Scripting

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config.

•Turn test cases into automated scripts•Complexity changes depending on the tool used

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 22: Berlin QA - Performance Testing

Planning

Preparation

Smoke Test

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

•Check that previous phases have been done properly•It doesn´t add value to carry on if there are pending items

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 23: Berlin QA - Performance Testing

Planning

Preparation

Execution

Baseline

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

•Obtain a standard for comparison•If performance is not good, it doesn´t add value to carry on with other test

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 24: Berlin QA - Performance Testing

Planning

Preparation

Execution

Performance Testing

•Iterative process•Minimum 2 iterations

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

Baseline

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 25: Berlin QA - Performance Testing

Planning

Preparation

Execution

SOAK Test

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

Baseline

Performance Testing

Análisis +

Changes

+ R

eport

Other tests

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Load Testing

Page 26: Berlin QA - Performance Testing

Planning

Preparation

Execution

Stress

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

Baseline

Soak Test Load Testing Other tests

Performance Testing

Análisis +

Changes

+ R

eport

•Optional test•Only if previous test are successful

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 27: Berlin QA - Performance Testing

Planning

Preparation

Execution

Reporting

Final report

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

Baseline

Soak Test Load Testing Other tests

Stress

Performance Testing

Análisis +

Changes

+ R

eport

•Summary of the test executed, problems found and solutions applied•Too much detail doesn´t add value to the project

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 28: Berlin QA - Performance Testing

Planning

Preparation

Execution

Reporting

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Monitor config. Scripting

Smoke Test

Baseline

Soak Test Load Testing Other tests

Stress

Final report

Performance Testing

Análisis +

Changes

+ R

eport

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Page 29: Berlin QA - Performance Testing

Planning

Preparation

Execution

Reporting

Final reportStressSOAK TestPerformance TestingBaselineSmoke TestScriptingMonitor config.Test case designTool setupTest Env. + Data

•Transactions•Image and text checks•Test data

•Iterative process•Minimum 2 iterations

Recipe for successTest Strategy

Tool setupTest Env. + Data Test case design

Test Strategy

Monitor config. Scripting

Smoke Test

Baseline

Soak Test Load Testing Other tests

Stress

Final report

Performance Testing

Análisis +

Changes

+ R

eport

•Set expectations•Project planning•Environment description•Responsible people•Test scenario definition•Test case definition•Monitors to be used•“Live” document

•Performance testing tools•Monitorization tools•Other tools (reporting,…)

•Select any “interesting” metrics that should be monitored•Identify advanced metrics

•Turn test cases into automated scripts•Complexity changes depending on the tool used

•Check that previous phases have been done properly•It doesn´t add value to carry on if there are pending items

•Obtain a standard for comparison•If performance is not good, it doesn´t add value to carry on with other test

Other tests

•Optional test•Only if previous test are successful

•Summary of the test executed, problems found and solutions applied•Too much detail doesn´t add value to the project

12/04/2023Confidential and Propietary // All rights reserved // Globe Testing

Load Testing•Env. Setup (pre-prod)•Data load to resemble prod.

Success Guaranteed!

Page 30: Berlin QA - Performance Testing

Confidential and Propietary // All rights reserved // Globe Testing

Thank you for your timeJosé Aracil // [email protected]