Software Testing Tool
Software Testing Tool
A Report On
Bachelor of Engineering in
Submitted by
AMIT AGARWAL[1JS14IS092]
Stress Testing: Every web server has a maximum load capacity. When the
load goes beyond the limit, the web server start responding slowly and
produce errors. The purpose of the stress testing is to find the maximum
load the web server can handle.
The figure below shows how JMeter simulates the heavy load :
Create a Performance Test Plan in
Jmeter
In this tutorial, we are doing a performance analysis of Google.com for 1000
users
Right click on the Test Plan and add a new thread group: Add -> Threads
(Users) -> Thread Group
Ramp-Up Period tells JMeter how long to delay before starting next user. For
example, if we have 100 users and a 100 second Ramp-Up period, then the
delay between starting users would be 1 second (100 users /100 seconds)
Step 2) Adding JMeter elements
Now we determine what JMeter elements in this test. The elements are
In the HTTP Request Defaults control panel, enter the Website name under test
(http://www.google.com)
HTTP Request
Right-click on Thread Group and select: Add -> Sampler -> HTTP Request.
In HTTP Request Control Panel, the Path field indicates which URL request you
want to send to Google server.
For example, if you enter "calendar" in Path field. JMeter will create the URL
request http://www.google.com/calendar to Google server
If you keep the Path field blank JMeter will create the URL
request http://www.google.com to Google server.
In this test, you keep the Path field blank to make JMeter create the URL
request http://www.google.com to Google server.
Right click Test Plan, Add -> Listener -> Graph Results
The picture below presents a graph of a test plan, where we simulated 100 users
who accessed on website www.google.com.
At the bottom of the picture, there are the following statistics, represented in
colors:
Green: Throughput rate that represents the number of requests per minute
the server handled
Throughput
Deviation
The Throughput is the most important parameter. It represents the ability of the
server to handle heavy load. The higher the Throughput is, the better is the
server performance.
The deviation is shown in red - it indicates the deviation from the average.
The smaller the better.
Let compare the performance of Google server to other web server. This is the
performance test result of website http://www.yahoo.com/ (You can choose other
website)
The deviation is 2689, much higher than Google (577). So we can determine the
performance of this website is less than Google server.