当前位置:网站首页>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
边栏推荐
- Leetcode-396 rotation function
- Research and Practice on business system migration of a government cloud project
- Groupby use of spark operator
- Distinct use of spark operator
- 撿起MATLAB的第(9)天
- JSP learning 2
- Hyperbdr cloud disaster recovery v3 Release of version 3.0 | upgrade of disaster recovery function and optimization of resource group management function
- Day (9) of picking up matlab
- C, calculation method and source program of bell number
- The most detailed Backpack issues!!!
猜你喜欢
随机推荐
Config learning notes component
Hyperbdr cloud disaster recovery v3 Release of version 3.0 | upgrade of disaster recovery function and optimization of resource group management function
Day (7) of picking up matlab
捡起MATLAB的第(5)天
Leetcode-374 guess the size of the number
Partitionby of spark operator
Tencent offer has been taken. Don't miss the 99 algorithm high-frequency interview questions. 80% of them are lost in the algorithm
Grbl learning (I)
Day (5) of picking up matlab
GRBL学习(一)
volatile的含义以及用法
Day (8) of picking up matlab
Best practice of cloud migration in education industry: Haiyun Jiexun uses hypermotion cloud migration products to implement progressive migration for a university in Beijing, with a success rate of 1
Ice -- source code analysis
Leetcode-396 rotation function
力扣-198.打家劫舍
Implement default page
Unity shader learning
MySQL - MySQL查询语句的执行过程
How to conduct application security test (AST)