Tech I Enjoy Logo
spacer imageHomespacer imagespacer imageFlexspacer imagespacer imageJavaspacer imagespacer imageSpringspacer imageHibernatespacer imagespacer imageStrutsspacer imagespacer imageMiscellaneousspacer imagespacer imageAboutspacer imagespacer imageContactspacer image
  
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

© Copyright 2010, TECHIENJOY, All Rights Reserved.      Privacy Policy     Disclaimer