Last active
November 20, 2023 22:33
-
-
Save vovimayhem/1a905d1b1db488c50f02 to your computer and use it in GitHub Desktop.
Install on Linux Mint the latest version of JMeter that has the redirects behavior correct (2.9)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download the jmeter gzipped tarball to a temporary folder: | |
wget -O /tmp/jmeter.tgz http://archive.apache.org/dist/jmeter/binaries/apache-jmeter-2.9.tgz | |
# Extract to /usr/share | |
sudo tar -xzvf /tmp/jmeter.tgz -C /usr/share | |
# Edit the provided JMeter start script, changing the string '`dirname "$0"`' for '/usr/share/jmeter/bin': | |
sudo sed -i 's/`dirname "\$0"`/\/usr\/share\/apache-jmeter-2.9\/bin/g' /usr/share/apache-jmeter-2.9/bin/jmeter | |
# Generate the following symlinks: | |
sudo rm -rf /usr/bin/jmeter* | |
sudo ln -s /usr/share/apache-jmeter-2.9/bin/jmeter /usr/bin/jmeter | |
sudo ln -s /usr/share/apache-jmeter-2.9/bin/jmeter-server /usr/bin/jmeter-server | |
# Add JMeter to the menu (Linux Mint Only) | |
sudo wget -O /usr/share/applications/jmeter.desktop "https://gist.github.com/vovimayhem/1a905d1b1db488c50f02/raw/5b72954ad22d982b593f72e4cd97856f2816d597/jmeter.desktop" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=JMeter | |
Comment=Load testing application | |
Exec=jmeter | |
Icon=/usr/share/pixmaps/jmeter.jpg | |
Terminal=false | |
Type=Application | |
Categories=Development; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment