【发布时间】:2021-08-31 04:42:04
【问题描述】:
我正在使用 jmeter 5.4.1,并在为此设置整个环境时遇到问题。 我在主从机器之间有防火墙。 我可以请求打开一些端口,但在此之前我想知道如何配置它们? 需要在 jmeter.properties 和 jmeter-server 文件中进行哪些更新才能创建 JMeter 远程负载测试。
【问题讨论】:
标签: performance testing jmeter rmi
我正在使用 jmeter 5.4.1,并在为此设置整个环境时遇到问题。 我在主从机器之间有防火墙。 我可以请求打开一些端口,但在此之前我想知道如何配置它们? 需要在 jmeter.properties 和 jmeter-server 文件中进行哪些更新才能创建 JMeter 远程负载测试。
【问题讨论】:
标签: performance testing jmeter rmi
In jmeter.properties nothing, don't touch this file, perform all the configuration either in user.properties 或通过-J command-line arguments。
回到您的问题,我相信official documentation 非常全面,但是以防万一您不能或不愿意阅读:
在主人:
remote_hosts=ip,addresses,or,dns,hostnames,of,slaves,separated,by,comma
client.rmi.localport=xxxx
在奴隶中:
client.rmi.localport=xxxx
server.rmi.localport=yyyy
如果您不希望主机和从机之间进行安全通信 - 请将下一行添加到两者:
server.rmi.ssl.disable=true
所以在防火墙中你需要打开这些xxxx 和yyyy 端口
更多信息:
【讨论】: