测试开始后,jmeter-server在连接回客户端时抛出连接拒绝错误

时间:2019-04-30 20:39:19

标签: jmeter jmeter-5.0

我正在尝试运行一个示例测试以验证配置,并且在测试运行期间,虽然测试已启动,但是服务器日志开始出现泛滥的连接拒绝错误。

在这里,防火墙已启动,因此服务器似乎无法与客户端进行通讯。我需要在客户端的属性文件中设置哪个端口并打开该端口以进行通信?

两台机器都在Windows OS上运行。以下是一些服务器日志摘录:

2019-04-30 15:57:24,166 INFO o.a.j.t.TestPlan: added C:\User\apache-jmeter-5.1.1\lib\APITestHelper.jar to classpath
2019-04-30 15:57:45,932 ERROR o.a.j.s.RemoteListenerWrapper: testStarted(host) on 20.101.22.201
java.rmi.ConnectException: Connection refused to host: 20.101.22.224; nested exception is: 
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[?:?]


2019-04-30 16:00:38,399 ERROR o.a.j.t.RemoteThreadsListenerWrapper: Exception invoking listener on threadStarted.
java.rmi.ConnectException: Connection refused to host: 20.101.22.224; nested exception is: 
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[?:?]

2019-04-30 16:02:49,258 ERROR o.a.j.s.BatchSampleSender: sampleOccurred
java.rmi.ConnectException: Connection refused to host: 20.101.22.224; nested exception is: 
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[?:?]

2019-04-30 16:08:15,103 INFO o.a.j.t.JMeterThread: Thread is done: 20.101.22.201-GET Employees 1-1
2019-04-30 16:08:15,103 INFO o.a.j.t.JMeterThread: Thread finished: 20.101.22.201-GET Employees 1-1
2019-04-30 16:08:36,513 ERROR o.a.j.t.RemoteThreadsListenerWrapper: Exception invoking listener on threadFinished.
java.rmi.ConnectException: Connection refused to host: 20.101.22.224; nested exception is: 
    java.net.ConnectException: Connection timed out: connect

0 个答案:

没有答案