JMeter: Distributed (Remote) Testing in Linux Environment

﹥>﹥吖頭↗ 提交于 2019-11-29 07:46:33

RMI_HOST_DEF=-Djava.rmi.server.hostname=xxx.xxx.xxx.123 should be either

RMI_HOST_DEF=-Djava.rmi.server.hostname=localhost 

or

RMI_HOST_DEF=-Djava.rmi.server.hostname=<ip of jmeter server>

Also this should be set if you are getting this error

ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.ConnectException: Connection refused to host: 127.0.0.1

edit the file in the slave server,and set the value is:enter code here RMI_HOST_DEF=-Djava.rmi.server.hostname=192.168.5.38 The IPaddress is you slave server. or run command immediate: ./jmeter-server -Djava.rmi.server.hostname=192.168.5.38

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!