iEntry 10th Anniversary RSS Newsletter Advertising
Join the WebProWorld Forum!
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook
Thursday, August 17, 2006

Put A JMeter On Your Application

Web developers building applications on top of the various web services out there can get a better idea of performance from the Apache JMeter framework.

Apache JMeter has been around for a while. I can remember trying to get it working on Solaris 7 to test an application running on BEA's Weblogic 4.5.1.

JMeter worked very well then, and revealed some truly terrifying issues that needed to be addressed. I still feel a shiver of fear when I hear the words 'thread count' mentioned in public.

So it's with a tremble that I revisit the topic of JMeter, which has been addressed in admirable fashion on BEA's website by Dmitri Nevedrov on the topic of testing web services.

JMeter is listed within Apache's Jakarta project, and provides a performance-testing framework for developers to use in assessing how well the application works. A load testing option in JMeter can be invoked to simulate the effect of heavy traffic, perhaps that of a vigorous Digging or Slashdotting.

Nevedrov's article focuses on working with Weblogic, but the instructions provided should be sufficient to enable its use by web developers as a complementary tutorial for JMeter and other platforms like IBM's WebSphere.

In the load test example, Nevedrov shows how the response time rises as the thread count increases. He also verified the response coming from the server was a valid SOAP response and not a HTTP error.

"JMeter has HTTP, FTP, and LDAP samplers," Nevedrov wrote. "Creating these requests is a straightforward task and is well described in the JMeter manual; it usually involves creating a Thread Group, adding the sampler and the timer and the listener."

Database testing is an option with JMeter as well. A developer can use the JDBC Request element in JMeter, or creating a test as a script or Java class.

"Database and query tuning are particularly critical in applications dealing with large amounts of data, and, JMeter is a tool that is capable of providing some metrics in such evaluations," Nevedrov wrote.

---
Tag:

Add to Del.icio.us | Digg | Yahoo! My Web | Furl

Bookmark WebProNews:

David Utter is a staff writer for WebProNews covering technology and business.

News Tags: JMeter, Apache, Web

Publish A Comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
4 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
SEARCH
Popular WPN Business Resources












Subscribe to WebProNews


Send me relevant info