当前位置:网站首页>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
边栏推荐
- VsCode-Go
- pthread_self()为何重复了
- Nacos+AspnetCore+Ocelot实战编码
- leetcode--357. Count the number of different figures
- mysql新表,自增id长达20位,原因竟是......
- Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
- Pytorch 经典卷积神经网络 LeNet
- 33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
- Go语言 RPC通讯
- How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
猜你喜欢

Wechat applet obtains login user information, openid and access_ token

微信小程序获取登录用户信息、openid和access_token

趣谈网络协议

基于ibeacons三点定位(微信小程序)

STM32学习记录0007——新建工程(基于寄存器版)

Easyexcel读取excel表地理位置数据,按中文拼音排序

Universal template for scikit learn model construction
Use of WiFi module based on wechat applet

Lin Lin, product manager of Lenovo: network failure of local network operator in Tianjin. The background server of Zui system can't work normally for the time being
Check in system based on ibeacons
随机推荐
Business case | how to promote the activity of sports and health app users? It is enough to do these points well
SQL数据库
生成随机高质量符合高斯分布的随机数
全局变量能否放在头文件中定义
Logging模块
Program compilation and debugging learning record
腾讯根据ip解析地址
Taobao released the baby prompt "your consumer protection deposit is insufficient, and the expiration protection has been started"
leetcode--380. O (1) time insertion, deletion and acquisition of random elements
Pytorch 经典卷积神经网络 LeNet
室内外地图切换(室内基于ibeacons三点定位)
微信小程序调用客服接口
CDH cluster integration Phoenix based on CM management
DDT+Excel进行接口测试
联想产品经理林林:天津当地网络运营商网络故障 ZUI系统后台服务器暂时无法正常工作
Restful WebService和gSoap WebService的本质区别
POI operation word template replaces data and exports word
org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su
对List集合进行分页
As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture