performance testing process piotr pawluk. purpose. first thing you should do, is to define purpose...

12
Performance Testing Process Piotr Pawluk

Upload: johnathon-madden

Post on 31-Mar-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Performance Testing Process

Piotr Pawluk

Page 2: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Purpose.

• First thing you should do, is to define purpose of the tests, e.g.:

• Number of users will increase, and you want to know upfront, that application can handle it.

• It is new application, and you do not know if it can support expected number of users.

• You want to know if application responds fast enough and process expected number of data, to meet business requirements.

• Users complain about some functionality performance, and you want to find the reason.

• …

Page 3: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Tools

Page 4: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Preparation Scripts for automation

• Usually there is no point to test every functionality of the application, so as first step business or system analyst should select which functionalities are (will be) used most intensively. And somebody who knows the application should prepare step by step description of performed activities.

• It is important that these activities will be iterated many times during test, so they should be prepared in the way that it is possible.

Page 5: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Preparation Usage profiles

• Number of concurrent users

• Density of usage

During test particular number of concurrent users will be simulated, with predefined density of activities. So Performance Testing specialist should know it before running the test.

Page 6: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

PreparationEnvironment

• Scripts will be recorded, so during preparation some working environment will be necessary. For Performance Test Specialist scripts preparation is the most time consuming part, so environment should be available as early as possible. During recording the system will be used by single user, so it may be used for other types of testing, or for training at the same time.

• Environment for test execution should be as similar to production as possible. The best is to use hardware and system which is dedicated to be production after system go life. During execution the environment will be extensively used, and may be even broken. So at this time no other activities should be performed. And some recovery actions – like system restart- should be prepared.

Page 7: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

PreparationAccounts

• Some applications do not require login, some requires, but it does matter how many times same user account logins at the same time, and for some it is important that each user is logged in separately.

• In some systems security has impact on performance, so test accounts should has similar access, as users who use the application most often.

• And for each case required number of test accounts should be prepared – at least one for scripts recording, and full number for test execution.

Page 8: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Preparation Access for monitoring

• If resources monitoring is in scope of performance testing, then performance test specialist should be granted access to tested system for monitoring.

Page 9: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Execution

o Reserve timeslot on environmento Application Specialists to monitor application

Page 10: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Results

If issues where found - somebody will have to fix them, so resources should be secured.

Page 11: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Questions?

Page 12: Performance Testing Process Piotr Pawluk. Purpose. First thing you should do, is to define purpose of the tests, e.g.: Number of users will increase,

Doing now what patients need next