Ask the Expert

Free load/performance testing tools for Java-based Web applications

Can you please suggest some good free tools for load and performance testing of Java-based Web applications? JMeter can't be used because this application uses pop-up windows.

    Requires Free Membership to View

JMeter may actually be a good solution for you, in spite of the pop-ups. JMeter is not actually aware of what is happening -- in essence, it replays a "script" of URL requests. This can be programmed into JMeter using the recorder, or you can also generate Apache-format access logs from your Web server and replay those Apache logs. So you could stage the scenarios you wish to performance test by manually walking through them, and then importing the Apache access logs associated with your test scenario.

Alternatively (and in some tests, preferably) you can replay actual customer access logs. Using JMeter, you can replace the URL requested with a target URL and maintain the rest of the request (or do the replacement in your text editor of choice).

Other available open source load generation tools include Grinder, httperf, OpenSTA and Microsoft's Web Application Stress Tool. Research your tool first, but most load generation tools simply replay http requests, and therefore no tool is better (or worse) for testing J2EE-based Web applications versus .NET or PHP Web applications.

There are commercial alternatives, as well. Some commercial load generation tools are rather expensive, such as LoadRunner. These tools may or may not provide you with the functionality needed to justify their added expense. My experience with commercial tools has led me to standardize on WAPT (Web Application Performance Test tool). This is a relatively inexpensive tool with provides a very robust user experience. It is focused on the client side of performance testing, so it doesn't include any monitoring of the server.

However, it offers great real-time insight into what's going on from a client perspective. The biggest drawback to WAPT is that it does not replay Apache access logs.

Tools all have trade-offs and there is no one "right" tool for every team, project or test. As an engineer, you should take your time to review several tools and pick the one that meets the highest number of your most important requirements.

This was first published in April 2009

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: