当前位置:网站首页>JMeter setting environment variable supports direct startup by entering JMeter in any terminal directory
JMeter setting environment variable supports direct startup by entering JMeter in any terminal directory
2022-04-23 16:09:00 【Learning is boundless, happy to make a boat】
1. Open at terminal .bash_profile file
vim ~/.bash_profile
2. Then add the environment variables , The contents are as follows ( English input method press "i")
notes :JMETER_HOME For you jmeter Download the corresponding directory of the package decompression , Need to be replaced with your own .
export JMETER_HOME="/Applications/apache-jmeter-5.4"
export PATH="$JMETER_HOME/bin:$PATH"
export CLASSPATH="$JMETER_HOME/lib/ext/ApacheJMeter_core.jar;JMETER_HOME/bin
/jorphan.jar"
~
3. Save and exit ( Press esc Return to English input method and press ":wq")
4. Make the change take effect immediately
source ~/.bash_profile
5. Check whether the path you set is correct
The terminal inputs the following commands in turn , Check that the output is consistent with your 2 Whether the path values set in step are consistent , If not, please check .
echo $JMETER_HOME
echo $CLASSPATH
echo $PATH
6. test
If the above operation is correct , Input directly at the terminal jemter Yes, it can start successfully jmeter Of , as follows :
版权声明
本文为[Learning is boundless, happy to make a boat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231403594231.html
边栏推荐
猜你喜欢
Review 2021: how to help customers clear the obstacles in the last mile of going to the cloud?
Master vscode remote GDB debugging
451. 根据字符出现频率排序
New developments: new trends in cooperation between smartmesh and meshbox
Vision of building interstellar computing network
Force buckle-746 Climb stairs with minimum cost
Spark 算子之coalesce与repartition
Spark 算子之groupBy使用
How to upgrade openstack across versions
GRBL学习(一)
随机推荐
Day (8) of picking up matlab
leetcode-396 旋转函数
VIM specifies the line comment and reconciliation comment
js正则判断域名或者IP的端口路径是否正确
5 minutes, turn your excel into an online database, the magic cube net table Excel database
VIM uses vundle to install the code completion plug-in (youcompleteme)
How to quickly batch create text documents?
ESP32编译环境的搭建
最詳細的背包問題!!!
ES常用查询、排序、聚合语句
The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?
Homewbrew installation, common commands and installation path
matplotlib教程05---操作图像
Method 2 of drawing ROC curve in R language: proc package
Coalesce and repartition of spark operators
运维流程有多重要,听说一年能省下200万?
Spark 算子之sortBy使用
Meaning and usage of volatile
volatile的含义以及用法
Spark 算子之partitionBy