Comparative Study of Testing Tools Apache Jmeter and Load Runner
Comparative Study of Testing Tools Apache Jmeter and Load Runner
com
II. INTRODUCTION
I.ABSTRACT Software testing is a process used to help
Testing automation tools enables developers and identify the correctness, completeness and
testers to easily automate the entire process of quality of developed computer software. With
testing in software development. The objective that in mind, testing can never completely
of the paper is to conduct a comparative study of establish the correctness of computer software.
automated tools such as the Apache JMeter There are many approaches to software testing,
,Load Runner , QTP, based on criteria such as but effective testing of complex products is
the performance , speed, throughput and essentially a process of investigation, not merely
efficiency. The fundamental goal is to analyze a matter of creating and following rote
the features supported by these performance procedure. One definition of testing is "the
testing tools that aid in minimizing the resources process of questioning a product in order to
in script maintenance and increasing efficiency evaluate it", where the "questions" are things the
for script reuse. tester tries to do with the product, and the
product answers with its behavior in reaction to
Keywords: Apache Jmeter , Load Runner, the probing of the tester. Although most of the
Testing Tools, Software Testing. intellectual processes of testing are nearly
identical to that of review or inspection, the
word testing is connoted to mean the dynamic
analysis of the product—putting the product
through its paces.
http://www.ijccr.com
• Cost of fixing the bug will be more if it webpage. As we know that Users satisfaction is
is found in later stage than it is found more important for growth of any business,
earlier. testing becomes more important.
• Quality can be ensured by testing only. So we can assume/treat the Testers as the
In the competitive market, only Quality representatives of the Users [2].
product can exist for long time.
IV. Scope of Software Testing
When we’re doing excellent testing, we’re
Testing will be necessary even if it is not
learning things about the product on behalf of
possible to do 100% testing for an application.
our clients and the project community.
One more important reason for doing testing is
Confirmation, verification, and validation are
user/production environment will be completely
important, but they’re mostly about checking.
different from development environment.
Checking is especially important, especially
useful, and especially inexpensive when
For example, a webpage developer may be using
programmers are doing it as part of the process
Firefox as browser for doing his webpage
of writing a program. Testing in the Bright
development. But the user may be using
Future is something more than just checking.
different browser such as Internet Explorer,
Among other things, testing means actively
Safari, Chrome and Opera.
engaging with the product, interacting with it,
The web page appearing good in Firefox may
providing it with challenging inputs, seeking
not appear good in other browsers (particularly
extents and limitations, exercising it with
IE). So ultimately, user will not be happy even if
complex scenarios, giving it a lengthy set of
the developer puts more efforts to develop the
tasks—one thing after another after another.
http://www.ijccr.com
saying this in an even more businesslike manner measure performance. It was originally designed
is: Testing is a process of technical for testing Web Applications but has since
investigation, performed on behalf of expanded to other test functions. Apache JMeter
stakeholders, that is intended to reveal quality- may be used to test performance both on static
related information about the product with and dynamic resources (files, Servlets, Perl
respect to the context in which it is intended to scripts, Java Objects, Data Bases and Queries,
operate. This includes, but is not limited to, the FTP Servers and more). It can be used to
process of executing a program or application simulate a heavy load on a server, network or
with the intent of finding errors. And what are object to test its strength or to analyze overall
some the common things that necessitate the performance under different load types. You can
need for a testing plan: use it to make a graphical analysis of
performance or to test your server/script/object
• Communication gaps between the behavior under heavy concurrent load.
requirement specified and the developer.
• Over commitment by the developer. A) Advantages
• Not proper understanding of all the
• Can load and performance test many
complexities of the system.
different server types:
• Inadequate requirements gathering [3].
o Web - HTTP, HTTPS
behaviour and performance, while generating when to activate them, and how to group
actual load. Load Runner can emulate hundreds the Users and keep track of them.
or thousands of concurrent user’s to put the • The Results and Analysis program gives
application through the rigors of real-life user us all the results of the load test in
loads, while collecting information from key various forms. It allows us to see
Infrastructure components (Web servers, summaries of data, as well as the details
database servers etc). The results can then be of the load test for pinpointing problems
analysed in detail, to explore the reasons for or bottlenecks.
particular behaviour.LoadRunner is divided up
into three smaller applications: A) Advantages:
• No need to install it on the server under
• The Virtual User Generator allows us to
test. It uses native monitors. For Ex:
determine what actions we would like
perform for windows or for Unix
our Vusers, or virtual users, to perform
• Uses ANSI C as the default
within the application. We create scripts
programming language1 and other
that generate a series of actions, such as
languages like Java and VB.
logging on, navigating through the
• Excellent monitoring and analysis
application, and exiting the program.
interface where you can see reports in
• The Controller takes the scripts that we
easy to understand colored charts and
have made and runs them through a
graphics.
schedule that we set up.We tell the
• Supports most of the protocols.
Controller how many Users to activate,
http://www.ijccr.com
IX.ANALAYSIS
A)UNLIMITEDGENERATE
LOAD
This is a make-or-break item. There are many
scenarios I just can't cover if I can only open a
Item Load Jmeter few thousand socket connections to the server.
Runner a) Load Runner
b) JMeter
mouse, and you are ready to generate capacity is strong. Licensing constraints may
load. Add thread group, add a sampler, limit actual load generated.
and you have the basics. Throw in an b) Jmeter:-With the exception of the high-
assertion or two on your sampler to bandwidth case, per agent capacity is good
validate server responses.
D)Results Reporting
• Running Tests both distributed and local Having key graphs generated at the conclusion
tests can be started form the UI. A menu of a scale run, such as load over time, server
shows the available agents, and grays out CPU, transactions per second, etc, can save a lot
the ones that are already busy. Standalone of tedium, since manually generating these
tests can be started from the command line.
graphs from log files is quite time consuming.
JMeter wins this category hands down.
a) Load Runner
b) Jmeter b) Jmeter
JMeter does not gather any server-side Free. (Apache License)
performance metrics. But it can generate a
limited number of client-side graphs while the
F) TECHNICAL LEVEL
test is in progress. These graphs can be saved
after the test is over. Fortunately, all the test data a) Load Runner
is written in a standard format. So it probably Load Runner has the widest audience of all
makes more sense to generate all the desired these tools; perhaps not surprising given its
graphs via shell scripts during post-processing. maturity as a commercial product. It's browser-
This is the same approach I used with our recording and icon-based script development
previous test harness. give it the lowest technical barriers to entry of
any of the products. A QA engineer with modest
E) COST technical background and little to no coding
a) Load Runner skills can still be productive with tool. And it's
Expect to pay in the low to mid six-figures for a ability to load Windows and other libraries give
license allowing any kind of robust load- it a power and flexibility useful to developers
generation capacity. But that's not all, there are and other more advanced users.
high ongoing support costs as well. For the b)Jmeter
same kind of money I could get over 100
JMeter does not require developer skills to
powerful machines to use as scale agents, as
perform basic tests in any of the protocols it
well as associated network switches, cabling,
support out of the box. A form-driven UI allows
etc.
the user to design their own scenario. This
http://www.ijccr.com
G)STABILITY/BUGGINESS
a)LoadRunner
The controller crashes occasionally under heavy
load, but this is infrequent and largely
manageable. Other than this, the product
seems robust enough.
b) Jmeter
JMeter fares poorly in this area [4],[5].
Fig 2
IX. GRAPHICAL REPRESENTATION X. LINE REPRESENTATION
http://www.ijccr.com
XII). CONCLUSION