当前位置:网站首页>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
边栏推荐
- go 语言 数组,字符串,切片
- 烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)
- 微信小程序进行蓝牙初始化、搜索附近蓝牙设备及连接指定蓝牙(一)
- 修改ddt生成的测试用例名称
- Subscription number development of wechat applet (message push)
- Three point positioning based on ibeacons (wechat applet)
- 读了一篇博客,重新理解闭包整理一下
- RobotFramework 之 用例标签机制
- CDH cluster integration Phoenix based on CM management
- 9月8日,临去松山湖的前夜
猜你喜欢
微信小程序进行蓝牙初始化、搜索附近蓝牙设备及连接指定蓝牙(一)
Prediction of tomorrow's trading limit of Low Frequency Quantization
基础知识学习记录
基于CM管理的CDH集群集成Phoenix
There is a mining virus in the server
Intégration de Clusters CDH Phoenix basée sur la gestion cm
Chapter I review of e-commerce spike products
联想产品经理林林:天津当地网络运营商网络故障 ZUI系统后台服务器暂时无法正常工作
Basic knowledge learning record
Program compilation and debugging learning record
随机推荐
Jmeter安装教程以及我遇到的问题的解决办法
PATH环境变量
leetcode--357. Count the number of different figures
Basic knowledge learning record
微信小程序进行蓝牙初始化、搜索附近蓝牙设备及连接指定蓝牙(一)
_模_板_
Node接入支付宝开放平台的沙箱实现支付功能
Easyexcel读取excel表地理位置数据,按中文拼音排序
Jacob print word
Quartus prime hardware experimental development (de2-115 board) experiment 1 CPU instruction calculator design
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
jacob打印word
Mock测试
RobotFramework 之 用例标签机制
scikit-learn构建模型的万能模板
基于ibeacons签到系统
微信小程序的订阅号开发(消息推送)
request模块
接口文档yaml
Yarn online dynamic resource tuning