JMeter

From Chorke Wiki
Revision as of 20:33, 5 January 2024 by Shahed (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
sudo apt update
sudo apt install jmeter
sudo apt install openjdk-11-jdk

Upgrade

sudo mkdir -p /opt/ide
sudo wget -cq https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.5.tgz -P /opt/ide
sudo tar -xzf /opt/ide/apache-jmeter-5.5.tgz -C /opt/ide
sudo rm  -rf  /opt/ide/apache-jmeter-5.5.tgz
cat << EOF | sudo tee /usr/share/applications/jmeter.desktop >>/dev/null
[Desktop Entry]
Version=5.5
Terminal=false
Type=Application
Name=Apache JMeter
StartupNotify=false
Comment=Apache JMeter
Exec=/opt/ide/apache-jmeter-5.5/bin/jmeter.sh
Icon=/opt/ide/apache-jmeter-5.5/docs/images/jmeter_square.png
Keywords=Java,JMeter,Development
Categories=Development;IDE;Java;
EOF

Knowledge

Exec=env JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 /opt/ide/apache-jmeter-5.5/bin/jmeter.sh
cat << EOF | sudo tee -a /opt/ide/apache-jmeter-5.5/bin/user.properties >/dev/null
proxy.cert.validity=365
proxy.cert.directory=/home/shahed/.config/jmeter
EOF
JMeter » Firefox » Settings   » Certificates       » View Certificates » Import
JMeter » Firefox » Settings   » Network Settings   » Proxy
JMeter » Firefox » Extensions » Proxy SwitchyOmega » Auto Switch

References