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

Preview:

DESCRIPTION

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

Citation preview

Performance testing

Why?

When?

How?

Serhiy Lyakhov

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

When?

● End of the testing cycle

● Middle of the testing cycle

● Start of the testing cycle

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.

Performance testing Tool

● Support protocols

● Availability of scripting module

● Possibility of distributed testing

Testing environment

● Identify servers (app,DB) specifications

● Identify KPI for monitoring

● Install server monitoring tools

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

Logging

● Different logs for debugging and testing● Better failure identification

● Disadvantage: could decrease server speed where script is running

Reporting

● Prepare good visual reports– Performance tests– Server health

● Write understandable verbal results explanation

Bad report

Good report

Recommended