“没有x11显示变量”-这是什么意思?

wmtdaxz3  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(461)

我在我的一个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.
wmomyfyw

wmomyfyw1#

DISPLAY 只有在gui模式下运行时才需要。因为您在mesos中运行这个,所以不能使用gui模式。添加 -n 选项以cli模式运行。
jmeter:入门:cli模式

相关问题