Testing using Apache jMeter September 11, 2007Posted by Phill in Open Source, Testing, Tutorials.
Tags: apache jmeter, Testing
Apache jMeter is a popular utility used for performance testing. It can be used to test a wide variety of applications, including Web Applications, LDAP Servers, FTP Servers etc. As I had to use it recently to performance test a Struts-based web application, I thought I’d write up a short introduction to using it.
The first thing you’ll need to know is about Thread Groups. These contain a variety of requests which a typical user might make (something like a use case). For example, if you were testing a ‘Change Password’ function then the sequence of steps would be Login -> Go to ‘Change Password’ page -> Submit new password. This would be represented by a thread group. If your application is simple you may not need more than one thread group; if it’s more complicated you may want several thread groups to test all the use cases.