当我从mac中的bin文件夹中点击jmeter时显示此错误:
bash: export: `home]': not a valid identifier
shubhams-MacBook-Pro:~ shubhamsaini$ /Users/hell/Downloads/apache-jmeter-5.1/bin/jmeter ; exit;
/Users/hell/Downloads/apache-jmeter-5.1/bin/jmeter: line 128: [: : integer expression expected
/Users/hell/Downloads/apache-jmeter-5.1/bin/jmeter: line 192: [path/bin/java: No such file or directory
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
答案 0 :(得分:1)
我认为您无法通过“点击”来运行JMeter
确保已安装Java Runtime Environment version 8 or higher for Mac
安装Java后,通过启动Terminal application并键入以下命令来验证它是否可以使用:
java --version
您应该看到已安装的Java版本作为输出
假设第2步成功:
导航到JMeter的bin文件夹:
cd /Users/hell/Downloads/apache-jmeter-5.1/bin/
启动JMeter:
./jmeter.sh