![]() ![]() |
![]() This page expands on grinder.sourceforge.net/g3/getting-started.html as a step-by-step "classroom" approach to installing, configuring, running, and making use of this free tool for performance testing. Along the way, I hope to point out internals and insights gained from experience. | Topics this page:
|
|
![]() ![]() ![]() |
| ![]()
Agents read from a common network a share grinder.properties file which specifies the number of worker processes, threads, plug-ins, etc. |
![]() ![]() ![]() |
|
![]() ![]() ![]() |
|
Facility Desc. | Invocation command in Windows | Result | src Folder |
---|---|---|---|
Console | java net.grinder.Console | - | Console |
Agent | java net.grinder.Grinder %GRINDERPROPERTIES% | waiting for console signal | "Grinder" |
Proxy | java net.grinder.TCPProxy -console -http > grinder.py | - | "TCPProxy" |
Its java net.grinder.TCPSniffer proxy creates test scripts from HTTP traffic captured from the browser.
The agent will finish immediately if the Console is not already invoked.
Note: Ironically, the "grinder.py" default python script file is not provided by default.
The Grinder's "Console" is like LoadRunner's "Controller". It is the central program (on a "main" machine) which starts and stops load generator ("injector") worker processes which interpret and carry out Jython test scripts. During a test run, it collates the "samples" it receives, and displays statistics summarizing the activity.
Unlike LoadRunner (which presents activity of all agents on a single screen), the status of each Grinder agent is presented on a separate window. Also, I haven't see where Grinder calculates all the analysis that LoadRunner provides (graphs of standard deviation, 90th percentile, median, etc.).
|
Communities discussing this
"performance-book-1.0"The "EPizza" folder contains "test_scripts.zip"The "Pet Store" folder contains files "grinder.properties" and "http-plugin-sniffer-post-340" |
![]() ![]() ![]() |
| ![]() ![]()
|
![]() ![]() ![]() |
| ![]()
|
![]() ![]() ![]() | ||
|
![]() ![]() |
These entries in the grinder.properties file overrides the default zero sleep time:
grinder.initialSleepTime=500 grinder.sleepTimeFactor=0.01 grinder.sleepTimeVariation=0.005
To add pauses within a Jython script:
To ...
![]()
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page ![]() Thank you! |