JMeter: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
Line 84: Line 84:
* [[ZA Proxy]]
* [[ZA Proxy]]
* [[VSCode]]
* [[VSCode]]
* [[Wrk]]


| valign="top" |
| valign="top" |

Latest revision as of 20:33, 5 January 2024

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