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 Software Testing is two 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 name and valid password
(Expected: Application Home Page)

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


Negative Test Cases:
1 Login to xyz Application with invalid user name and valid password
2 Login to xyz Application with valid user name and invalid password
3 Login to xyz Application with invalid user name and invalid password
4 Login to xyz Application with blank user name and valid password etc...


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

Performance Testing:

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

2) Login to xyz Application with maximum load and more than the capacity(10000, 11000...) -Stress Testing

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

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

Generally, Software Testing can be done in two ways,

1) Manual Testing
2) Automated Testing

Ex: We can conduct Functional Testing manually or using Test Tools like UFT or Selenium etc...

But Manual Testing is impractical for performance Testing, Automated Testing only 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 and Apply multiple users (Virtual users) Load

> Distribute the Load across multiple Computers

> Run Load Scenario/s

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

5 comments:

Nice video and any one can understand easily

Could you please update all videos on performance testing...

Sir can u provide qc and jira toolvideo

Post a Comment