Installing Apache JMeter
To enable our performance testing, we'll install the open source tool Apache JMeter.
Getting ready
You'll need to install Java JDK Version 6 or higher on a machine to follow this recipe.
How to do it…
Follow these steps to complete the installation of Apache JMeter:
Navigate to http://jmeter.apache.org/download_jmeter.cgi, and select the latest binary version for download. If you're on Windows, it will be easier to proceed with the ZIP file.
The next step will assume that you've selected the ZIP version, or that you know what you're doing with the
tar.gz
file. Unzip the downloaded file. On Windows, you can right-click and select Extract All; on Linux, you can use theunzip
orgunzip
commands.Place the extracted contents in a suitable location. The rest of the recipe will use the location
C:\performance-testing\apache-jmeter-2.8
.Within the
bin
directory, runjmeterw.cmd
on Windows, orjmeter.sh
on Linux (if using the ZIP bundle, remember to set the file as executable first...