Monday, July 27, 2009

Grinder Load Testing Framework

1) To start the agent issue below command
java -cp "E:\apps\grinder-3.2\grinder-3.2\lib\grinder.jar" net.grinder.Grinder

2) To start the console
java -cp "E:\apps\grinder-3.2\grinder-3.2\lib\grinder.jar" net.grinder.Console

You have to set classpath for grinder.jar and jython.jar before this.

This assumes grinder is installed at E:\apps\grinder-3.2

Use TCPProxy to create a macro of the activity of testing

Here is a sample grinder.properties file

grinder.logDirectory=log
grinder.threads=5
grinder.processes=1
grinder.runs=0
grinder.script=mailcom.py

No comments: