当前位置:网站首页>Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
2022-04-23 14:04:00 【学海无涯乐做舟】
1. 在终端打开.bash_profile文件
vim ~/.bash_profile
2. 然后添加环境变量,内容如下(英文输入法下按"i")
注:JMETER_HOME为你jmeter下载包解压的对应目录,需要替换为你自己的。
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.保存退出(按esc返回然后英文输入法下按":wq")
4. 使更改立马生效
source ~/.bash_profile
5.检测你设置的路径是否正确
终端依次输入以下命令,检查输出结果与你第2步设置的路径值是否一致,如果不一样请就检查。
echo $JMETER_HOME
echo $CLASSPATH
echo $PATH
6.测试
如果上述操作无误的话,在终端直接输入jemter是可以成功启动jmeter的,如下:
版权声明
本文为[学海无涯乐做舟]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_41918841/article/details/111355479
边栏推荐
- 生成随机高质量符合高斯分布的随机数
- Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)
- 网站_收藏
- 微信小程序通过低功耗蓝牙设备进行定位及测距(二)
- 多线程 @Async 线程池
- Business case | how to promote the activity of sports and health app users? It is enough to do these points well
- Choreographer full resolution
- 理解虚基类、虚函数与纯虚函数的概念(转)
- Subscription number development of wechat applet (message push)
- Force deduction brush question 101 Symmetric binary tree
猜你喜欢
RobotFramework 之 用例执行
CentOS mysql多实例部署
Use of WiFi module based on wechat applet
Wechat applet obtains login user information, openid and access_ token
Cdh6 based on CM management 3.2 cluster integration atlas 2 one
Indoor and outdoor map switching (indoor three-point positioning based on ibeacons)
Prediction of tomorrow's trading limit of Low Frequency Quantization
微信小程序通过低功耗蓝牙设备进行定位及测距(二)
帆软报表设置单元格填报以及根据值的大小进行排名方法
smart-doc + torna生成接口文档
随机推荐
DeepinV20安装Mariadb
jacob打印word
JS force deduction brush question 102 Sequence traversal of binary tree
Chrome插件 之 Selenium IDE、XPath 安装
微信小程序基于udp协议与esp8266进行通信
Intégration de Clusters CDH Phoenix basée sur la gestion cm
室内外地图切换(室内基于ibeacons三点定位)
微信小程序 input隐藏和不可操作的设置
Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)
分页SQL
leetcode--380. O (1) time insertion, deletion and acquisition of random elements
Introduction to spark basic operation
基於CM管理的CDH集群集成Phoenix
nodejs通过require读取本地json文件出现Unexpected token / in JSON at position
Program compilation and debugging learning record
Un modèle universel pour la construction d'un modèle d'apprentissage scikit
33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
帆软中需要设置合计值为0时,一整行都不显示的解决办法
Programming travel function
CDH cluster integration Phoenix based on CM management