black tea testing #2 - performance testing: why? when? how?

12
Performance testing Why? When? How? Serhiy Lyakhov

Upload: antoninaburlachenko

Post on 25-May-2015

227 views

Category:

Technology


2 download

DESCRIPTION

В доповіді описано те, як проводити перформенс тестування веб-систем, на що необхідно звернути увагу, а також як коректно представити результати вашої роботи. Мінімум теорії, максимум прикладів з особистого досвіду. В доповіді будуть освітлені особливості перформенс тестування в аутсорсингових проектах

TRANSCRIPT

Page 1: Black Tea Testing #2 - Performance testing: why? when? how?

Performance testing

Why?

When?

How?

Serhiy Lyakhov

Page 2: Black Tea Testing #2 - Performance testing: why? when? how?

Why?●Small start-up: To be in a trend (to launder money)

●Big start-up: To check if they could serve millions of customers (to launder money)

●Small company: To ensure they could become big●Big company: To release great and fast product (not to lose customers and money)●My opinion: To release normal product

Page 3: Black Tea Testing #2 - Performance testing: why? when? how?

When?

● End of the testing cycle

● Middle of the testing cycle

● Start of the testing cycle

Page 4: Black Tea Testing #2 - Performance testing: why? when? how?

How?●Chose appropriate tool●Prepare testing environment before starting testing cycle●Some hints for creating and running tests.●Write correct testing logs●Provide understandable reports.

Page 5: Black Tea Testing #2 - Performance testing: why? when? how?

Performance testing Tool

● Support protocols

● Availability of scripting module

● Possibility of distributed testing

Page 6: Black Tea Testing #2 - Performance testing: why? when? how?

Testing environment

● Identify servers (app,DB) specifications

● Identify KPI for monitoring

● Install server monitoring tools

Page 7: Black Tea Testing #2 - Performance testing: why? when? how?

Running tests

● Define users quantity and rump-up period● Try to cover most used User actions but not

whole functionality● Create properties file (if possible one for all

tests)● Run trial tests on testing environment

Page 8: Black Tea Testing #2 - Performance testing: why? when? how?

Logging

● Different logs for debugging and testing● Better failure identification

● Disadvantage: could decrease server speed where script is running

Page 9: Black Tea Testing #2 - Performance testing: why? when? how?

Reporting

● Prepare good visual reports– Performance tests– Server health

● Write understandable verbal results explanation

Page 10: Black Tea Testing #2 - Performance testing: why? when? how?

Bad report

Page 11: Black Tea Testing #2 - Performance testing: why? when? how?

Good report

Page 12: Black Tea Testing #2 - Performance testing: why? when? how?