Introduction to Performance Testing

Introduction to Performance Testing

i) What is Performance Testing?
ii) Functional Testing Vs. Performance Testing
iii) How to Conduct Performance Testing?
iv) Performance Test Process (Automated Test Process)
------------------------------------------------------------
i) What is Performance Testing?

It is a Test Type,
Basically is 2 types,

1) Functional Testing

2) Non Functional Testing

Functional Testing

Checking the Functionality of the System (AUT)

Non Functional Testing

Checking Quality Attributes of the System (AUT)

Quality Attributes:

Performance,
(Load, Stress, Spike, Endurance etc...)

Usability,

Recovery,

Compliance,

Localization

Internationalization, Etc...
---------------------------------------------------------------
ii) Functional Testing Vs. Performance Testing

Functional Test Requirement: Login to xyz Application 

Functional Testing: 

Positive Scenario:
1 Login to xyz Application using valid user advert as well as valid password
(Expected: Application Home Page)

Negative Scenario: Login to xyz Application alongside invalid input  (Expected: Meaningful Error Message)


Negative Test Cases:
1 Login to xyz Application alongside invalid user advert as well as valid password
2 Login to xyz Application alongside valid user advert as well as invalid password
3 Login to xyz Application alongside invalid user advert as well as invalid password
4 Login to xyz Application alongside blank user advert as well as valid password etc...


Performance Test Requirement: Login to xyz Application with multiple users load

Performance Testing:

1) Login to xyz Application alongside increasing multiple users Load(2000, 3000, 4000....)(Expected: Login within 6 Seconds) - Load Testing

2) Login to xyz Application alongside maximum charge as well as to a greater extent than than the capacity(10000, 11000...) -Stress Testing

3) Login to xyz Application alongside abrupt increments/decrements of Load (1000, 7000, 2000...) - Spike Testing

4) Login to xyz Application with multiple users over a menstruum of Time (5000 Users for 2 Hours/repeat Login performance for 5000 users for 2 hours of Time) - Endurance Testing
-------------------------------------------------------------------
iii) How to Conduct Performance Testing?

Generally, tin endure done inwards 2 ways,

1) Manual Testing
2) Automated Testing

Ex: We tin deport Functional Testing manually or using Test Tools similar UFT or Selenium etc...

But Manual Testing is impractical for performance Testing, Automated Testing solely possible.

Popular Test Tools for Performance Testing:

1) LoadRunner (Commercial Tool)

2) JMeter (Open Source Tool)

3) RPT (Commercial Tool)

4) SilkPerformer (Commercial Tool)

5) WebLoad Etc...
------------------------------------------------------------
iv) Performance Test Process (Automated Test Process)

Important Steps:

> Setup Performance Test Environment

> Create Test Script

> Create as well as Apply multiple users (Virtual users) Load

> Distribute the Load across multiple Computers

> Run Load Scenario/s

> Analysis (Analyze the Test Result)
------------------------------------------------------------

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post