JMeter's Directory Structure

JMeter is organized by protocols and functionality. This is done so that developers can build new jars for a single protocol without having to build the entire application. We'll go into the details of building JMeter later in the tutorial. Since most of the jmeter developers use eclipse, the article will use eclipse directory as a reference point.

Top Level Directories

Lib Directory Structure

lib/

Src Directory Structure

src/

Protocol Directory Structure

src/protocol/

As a general rule, all samplers related to HTTP will reside in “http” directory. The exception to the rule is the Tomcat5 monitor. It is separate, because the functionality of the monitor is slightly different than stress or functional testing. It may eventually be reorganized, but for now it is in its own directory. In terms of difficulty, writing visualizers is probably one of the harder plugins to write.