

|
|
Home >> Java
How I used Grinder for load testing my web application?
I started this exercise by downloading Grinder from its home
URL as http://grinder.sourceforge.net
I have used Grinder version 3.0-beta32, and of course unzipped it
to find many JAR files and an examples folder with a properties file
grinder.properties and some Python files (with extension as py).
From the default configuration for the grinder.properties
grinder.script=helloworld.py
I commented this and uncommented following line:
grinder.script=http.py
In http.py file, URL to be load tested is changed to
http://localhost
To run default load tester for HTTP based web application, I moved
my command prompt to the examples folder, and executed following
command
java -cp ../lib/grinder.jar net.grinder.Grinder
After running complete load test, some of the data and output
and error files can be found under example/log folder.
I personally found this utility/tool Grinder as very handy and
easy to configure and instantly ready for use to load test
many types of applications.
Note: Please refer appropriate license and documentation before use
References :
Tags: java comparator reflection
Tags: java example drag n drop
Tags: Java Interview Questions
Tags: java rmi tutorial stub skeleton
Tags: Java Thread Deadlock
Tags: Java Thread Design Scenarios
Tags: Java threadpoolexecutor
Tags: Java
DISCLAIMER :
The content provided in this page is not warranted and/or guaranteed by techienjoy.com.
techienjoy.com is not liable for any negative consequences that may result/arise from
implementing directly/indirectly any information covered in these pages/articles/tutorials.
All contents of this site is/are written and provided on an "AS IS" basis,
without WARRANTIES or conditions of any kind, either express or implied, including, without
limitation, merchantability, or fitness for a particular purpose. You are solely responsible
for determining the appropriateness of using or refering this and assume any risks associated
with this.
In spite of all precautions taken to avoid any typo in these pages, there might be some
issues like grammatical mistakes and typos being observed in these pages, techienjoy.com
extends sincerest apologies to all our visitors for the same.
|
| 

|