JMeter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
<source lang="ini"> | <source lang="ini"> | ||
cat << EOF | sudo tee /usr/share/applications/ | cat << EOF | sudo tee /usr/share/applications/jmeter.desktop >>/dev/null | ||
[Desktop Entry] | [Desktop Entry] | ||
Version=5.5 | Version=5.5 | ||
Line 20: | Line 20: | ||
StartupNotify=false | StartupNotify=false | ||
Comment=Apache JMeter | Comment=Apache JMeter | ||
Exec/opt/ide/apache-jmeter-5.5/bin/jmeter.sh | Exec=/opt/ide/apache-jmeter-5.5/bin/jmeter.sh | ||
Icon=/opt/ide/apache-jmeter-5.5/docs/images/jmeter_square.png | Icon=/opt/ide/apache-jmeter-5.5/docs/images/jmeter_square.png | ||
Keywords=Java,JMeter,Development | Keywords=Java,JMeter,Development | ||
Line 26: | Line 26: | ||
EOF | EOF | ||
</source> | </source> | ||
==Knowledge== | |||
{| | |||
| valign="top" colspan="3"| | |||
<source lang="ini"> | |||
Exec=env JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 /opt/ide/apache-jmeter-5.5/bin/jmeter.sh | |||
</source> | |||
<source lang="bash"> | |||
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 | |||
</source> | |||
JMeter » Firefox » Settings » '''Certificates » View Certificates » Import''' | |||
JMeter » Firefox » Settings » Network Settings » Proxy | |||
JMeter » Firefox » Extensions » Proxy SwitchyOmega » Auto Switch | |||
|- | |||
|colspan='3'| | |||
---- | |||
|- | |||
|valign='top'| | |||
|valign='top'| | |||
|valign='top'| | |||
|} | |||
==References== | ==References== | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://archive.apache.org/dist/jmeter/binaries/ | * [https://github.com/apache/jmeter/issues/3292 JMeter » Test Script Recorder fails due to IO] | ||
* [https://askubuntu.com/questions/144968/ JMeter » Set variable in a <code>.desktop</code> file] | |||
* [https://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder JMeter » HTTP(S) Test Script Recorder] | |||
* [http://pragmatictestlabs.com/2021/12/22/recording-https-traffic-with-apache-jmeter/ JMeter » Recording HTTPS traffic] | |||
* [https://www.blazemeter.com/blog/jmeter-properties-customization JMeter » Customization Guide] | |||
* [https://archive.apache.org/dist/jmeter/binaries/ JMeter » Download » Archive] | |||
* [https://jmeter.apache.org/download_jmeter.cgi JMeter » Download] | * [https://jmeter.apache.org/download_jmeter.cgi JMeter » Download] | ||
* [https://jmeter.apache.org/ JMeter] | * [https://jmeter.apache.org/ JMeter] | ||
Line 49: | 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
| ||