我在我的一个mesos节点上安装了jmeter,但是我无法运行它,因为出现了这个错误
================================================== ==============================
Do not use GUI mode for load testing, only for Test creation and Test debugging.
For load testing, use CLI Mode (was NOT GUI):
jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
Modify current env variable HEAP = "- Xms1g -Xmx1g -XX: MaxMetaspaceSize = 256m" in the jmeter batch file
Check: https://jmeter.apache.org/usermanual/best-practices.html
================================================== ==============================
An error occurred: Can not connect to the window server using ': 0' as the value of the DISPLAY variable.
1条答案
按热度按时间wmomyfyw1#
一
DISPLAY
只有在gui模式下运行时才需要。因为您在mesos中运行这个,所以不能使用gui模式。添加-n
选项以cli模式运行。jmeter:入门:cli模式