0% found this document useful (0 votes)
9 views

Performance Testing Using Jmeter

Uploaded by

trancham46
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Performance Testing Using Jmeter

Uploaded by

trancham46
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Performance Testing Using

Presented by: Bùi Hoàng Dương


Tuesday, July 3, 2018
What is Performance testing ?

- -- -
Performance testing is an non-functional testing performed
- -- to determine
-stability under a
how a system performs in terms of responsiveness and ---
- measure, validate or
- --
particular workload. It can also serve to investigate, -
- -
---- such as scalability,
verify other quality attributes of the system,
i a l
t ---- --
reliability
-
and resource usage e n
-- nfid -----
Co ------
----
--
GOAL/OBJECTIVE IS TO FIND THE BOTTLE NECK IN THE SYSTEM

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Focus of Performance Testing

- ---
Performance testing measures the quality attributes of the--system, such
-- --
as scalability, reliability and resource usage.
- -- -
The focus of Performance testing: --- -
--- - a l ---
 Speed/Response Time - Determines whether the application n i
t ----responds
-- nfid ----- e
quickly.
C o ----
 Scalability - Determines maximum user load -the
- -- software application
can handle. --
 Stability - Determines if the application is stable -- under varying loads

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Why Performance Testing is Needed?

- - --
Performance testing uncovers what needs to be improved--before the
-- --
product goes to market. Without performance testing,
- -- - software is likely to suffer
from issues such as:
--- -
-- -
- it simultaneously, a l ---
 Running slow while several users use
n i
t ----
-- systems i e
d and-poor- -- usability.
 Inconsistencies across different operating f
n ----
o
C degrade - overall system
 Bottlenecks are obstructions in system which - - -
--
performance. Some common performance -bottlenecks are:
• CPU utilization --
• Memory utilization
• Network utilization

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Types of Performance Testing

- ---
-- - -
Load testing - Applying desired number of load and checking the stability & response time of
the application.
- --
- and checking the stability &
Stress testing - Applying more then desired number of- -- -
load
--
response time of the application.
---- n i a l
t the expected
-- ---
- load over a long
-- nfid -----
Soak/Endurance testing - To make sure the software can handle e -
period of time.
C o ----
Spike testing - by increasing the number of users suddenly
-- --by a very large amount and
measuring the performance of the system. --
-- the stability & response time of
Volume testing - Transferring Huge volume of date & monitor
the application.
Scalability testing - determines or validates whether adding another Y resource (database,
memory, disk, CPU, etc) increases speed of X proportionally

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


About JMeter

- ---
 It is an open source tool.
-- --
 It can load & perform test many different server types:
-- --
- -- -
• Web – HTTP,HTTPS
--
• SOAP ---- n i a l
t ---- ---
• Database – JDBC
-- nfid ----- e
• LDAP
C o ----
-- - -
--
• JMS
• Mail – POP3(s) and IMAP(s)
 It allows concurrent sampling by many thread groups -
-
 Test results can be captured in various format like summary report,
graph, results in tree & table, etc.

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


JMeter Work Flow

- ---
-- --
----
- -- -
--
---- n i a l
t ---- ---
-- nfid -----e
Co ------
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


- ---
-- --
--
Pre-testing Activities
-- -- ---
-
---- n i a l
t ---- ---
-- nfid -----e
Co ------
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Design Review

- - --
-- --
---
- that are never put into the code.
- -- -
The cheapest performance issues to address are ones
--
---- n i a l
t ---- ---
-- tonfsee
Testers should review the application design e
id if there- -- are any obvious potential performance
problems. o - -- -
C ----
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Environment Prep - Network

- ---
- - --
--- -
- - -
Performance testing is often a network intensive-activity which can affect others in the
organization --
---- n i a l
t ---- ---
-- nfid -----e
Co --network.
Testing should be done on a separate, segregated
-- - -
--- -
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Environment Prep - Hardware

- ---
-- --
- --
- different hardware is appropriate for both
Depending on what your goals are for your testing,
- -- -
the AUT and load generators. --
---- n i a l
t ---- ---
-- nfid ----- e
Co --hardware.
Testers should acquire and configure the correct
- -- -
--- -
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Environment Prep - Software

- - --
-- --
----
Generating load is not as easy as it sounds.
- -- -
--
---- n i a l
t ---- ---
Testers should acquire or create load generators e
-- nfidand configure - -- them for their desired
goal o - -- -
C ----
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Mission

- ---
- - --
-- -
- load at a server to see what is going to
--- -
Performance testing without a Mission is just throwing
happen. --
---- n i a l
t ---- ---
-- nfid ----- e
Testers should determine Why they are doing
Co their -- - -
testing.
- --
--- you the expected Response time and
NFR document should be available – It will provide
required Concurrent user load, Scenarios to be tested and other performance attributes.
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Audience

- ---
- - --
---
-will largely dictate what you do
Determining who you are generating numbers for,
- -- -
--
---- l --
• Development
i a
t ---- -
e n
-- nfid -----
• Marketing

• Operations
Co ------
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Metrics

- - --
-- --
- - --
- -- -
Performance testing is all about numbers and metrics.
--
---- n i a l
t ---- ---
- are
Testers should determine which metrics-they i e
dconcerned- -- about and how to get them.
f
n ---- -
o
C ---
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Give Warning

- ---
-- --
---
-advance warning.
Let anyone who might be affected by your testing
- -- -
--
---- n i a l
t ---- ---
-- nfid ----- e
Co ------
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential


Report

- ---
-- --
----
- -- -
--
----
Microsoft Word

a l
Document
i ---
e n t ----
-- nfid -----
Co ------
----
--

Copyright © 2024 VATECH Networks | All Rights Reserved. / Confidential

You might also like