|
Build Quality Apps with JMeter
Use open source JMeter for performance testing: It can save you from a poorly running application
by Peter Varhol
August 2002 Issue
Testing and profiling is important to make sure your applications run efficiently and smoothly (see "," July 2002), and I've mentioned JMeter as an Apache project that enables you to test and evaluate the performance of your Java applications. JMeter can be used to test performance on static and dynamic resources, including files, servlets, scripts, Java objects, and databases using JDBC, FTP services, and other components of an application.
JMeter can be downloaded in ZIP or TAR format from jakarta.apache.org. You install it simply by unzipping it. The only requirement is an installation of the Java runtime environment (JRE) 1.3. You may also want to have some other items on your system, depending on your goals and target applications. If you're testing HTTPS connections, you have to install an implementation of Secure Sockets Layer (SSL), such as Sun's Java Secure Socket Extensions. If your testing requirements include database access, you will add your JDBC driver to the CLASSPATH. And if you don't want to use the Apache Xerces XML parser, you can install an alternative.
If you decide to rebuild JMeter, or have to do so because of other changes you make to the distribution, the process is easy because a build.bat file is included. I rebuilt JMeter several times, in several configurations, and had no problems completing a good build. Unless you want to build custom components along with JMeter, however, simply executing this batch file is all you have to do.
Back to top
|