Tech I Enjoy Logo

Custom Search




  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

Example ThreadPoolExecutor using Java :
ThreadPoolExecutor Example using Java Technology.
Thread Deadlock using Java :
Example reproducing a possible Thread 
using Java Technology.
List of Examples on Java Platform :
List of Examples on Java Platform.
Java Reflection using Comparator :
Comparator using Reflection on Java Platform
and example discussed.
Interview Questions and answer of Java Technology :
Interview Questions and answer of Java Technology.
RMI and Java Stub and Skeleton :
Example using RMI using Java Technology.
Thread wait and notify With Example :
Example using wait and notify within Thread 
with code and explained
Example of Drag and Drop using Java Technology :
Example of Drag and Drop using Java Technology.
Image creation using Java AWT :
In-Memory Image creation using AWT on Java Platform.
Synchronized Block wait and notify With Example :
Example using wait and notify from within
synchronized block with code and explained
Event Handling using Java Technology :
Example on how to use Event
and handling code using Java Technology.
Thread design scenario using Java :
Thread design scenario using Java Technology.


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.



Android Examples

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