JMeter 5.3 常見問題解法

總之把遇到的問題記錄下來吧!

常見問題

  1. Permissions 0664 for ‘xxxx.pem’ are too open.

解法:

金鑰權限問題,修改

chmod 400 xxx.pem

2. Server failed to start: java.rmi.server.ExportException: Listen failed on port

解法:

ssl問題,2.3版無這情況,5.3版本會遇到,修改slaver端的jmeter.properties

預設路徑 /usr/share/jmeter/bin/

server.rmi.ssl.disable=true

3. OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error=’Not enough space’ (errno=12)

解法:

內存不夠,修改jmeter.sh (Linux) / jmeter.bat (Windows)