Table of Contents |
---|
Prerequisites
- Download and install jmeter: http://jmeter.apache.org
Code Block #!/bin/bash # get source from an apache mirror wget http://supergsego.com/apache//jmeter/binaries/apache-jmeter-3.1.tgz # verify the md5 local_md5=`md5 -q apache-jmeter-3.1.tgz` remote_md5=`curl https://www.apache.org/dist/jmeter/binaries/apache-jmeter-3.1.tgz.md5 | cut -f 1 -d ' '` cat apache-jmeter-3.1.tgz.md5 if [ "$local_md5" != "$remote_md5" ] then echo "md5's do not match" exit else echo "congratulations md5s match" fi # untar it. tar xvfz apache-jmeter-3.1.tgz # move it sudo mv apache-jmeter-3.1 /usr/local/apache-jmeter-3.1 # link it sudo ln -s /usr/local/apache-jmeter-3.1/bin/jmeter /usr/bin/jmeter
- For linux:
- unzip/untar the jmeter binary package.
- move the unzipped directory to /usr/local/
- link it to your path if it is not already in there
- sudo ln -s /usr/local/apache-jmeter-3.1/bin/jmeter /usr/bin/jmeter;
Setup Your Instance
- Set up database if you plan to use one.
...