JMeter – Performance Testing Software

Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. Specifically it provides complete support for database testing via JDBC.

Some References: Homepage http://jakarta.apache.org/jmeter/   ·  Wiki Page   ·  User Manual

Initial Installation Steps
<br /> $ su -<br /> $ cd /opt<br /> $ wget http://apache.planetmirror.com.au/dist/jakarta/jmeter/binaries/jakarta-jmeter-2.1.1.tgz<br /> $ wget http://apache.planetmirror.com.au/dist/jakarta/jmeter/source/jakarta-jmeter-2.1.1_src.tgz<br /> $ tar xvfz jakarta-jmeter-2.1.1.tgz<br /> $ tar xvfz jakarta-jmeter-2.1.1_src.tgz<br /> $ ln -s jakarta-jmeter-2.1.1 jmeter<br /> $ echo "PATH=/opt/jmeter/bin:$PATH;export PATH" > /etc/profile.d/jmeter.sh<br /> $ . /etc/profile.d/jmeter.sh<br /> $ jmeter &#038;<br />

Adding MySQL Support
<br /> cd /tmp<br /> wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-3.1.12.tar.gz/from/http://mysql.planetmirror.com/<br /> tar xvfz mysql-connector-java-3.1.12.tar.gz<br /> cp mysql-connector-java-3.1.12/mysql-connector-java-3.1.12-bin.jar /opt/jakarta-jmeter-2.1.1/lib/<br />

Steps to perform simple MySQL JDBC Test.

  1. Launch JMeter
  2. Add a new Thread Group (using right click)
  3. Define Thread Settings (no messing around 3 threads x 1000 iterations)
  4. Add a Sampler JDBC Request
  5. Add initial sample SQL query
  6. Add a JDBC Connection Configuration
  7. Define JDBC Connnection details (I’m using the sakila sample database at this time)
  8. Define a Results View
  9. Run the sucker

This is just a quick intro to prove it all works, There are quite a lot of reporting output possible, something for my next post.
Click on Image for a larger view.

Tagged with: General Java Linux Open Source

Related Posts

MySQL and Heatwave Summit Presentation

Last week I had the opportunity to speak at the MySQL and Heatwave Summit in San Francisco. I discussed the impact of the new MySQL 8.0 default caching_sha2_password authentication, replacing the mysql_native_password authentication that was the default for approximately 20 of the 30 years that MySQL has existed.

Read more

Readyset QueryPilot Announcement

At the MySQL and Heatwave Summit 2025 today, Readyset announced a new data systems architecture pattern named Readyset QueryPilot . This architecture which can front a MySQL or PostgreSQL database infrastructure, combines the enterprise-grade ProxySQL and Readyset caching with intelligent query monitoring and routing to help support applications scale and produce more predictable results with varied workloads.

Read more

More CPUs or Newer CPUs

In a CPU-bound database workload, regardless of price, would you scale-up or scale-new? What if price was the driving factor, would you scale-up or scale-new? I am using as a baseline the first available AWS Graviton2 processor for RDS (r6g).

Read more