jmeter 远程启动无法连接

chencliff 发布于 2014/09/29 14:44
阅读 14K+
收藏 0

解读下一代网络:算力网络正从理想照进现实!>>>

用jmeter进行socket的压力测试,测试程序没有问题,在本地开300线程,没有问题,本地用远程启动的方式跑也没问题

后来在另外两个机器上启动jmeter-server,用本机远程启动,就是报无法连接。。。

2014/09/29 14:38:21 INFO  - jmeter.JMeter: Creating summariser <summary> 
2014/09/29 14:38:21 INFO  - jmeter.JMeter: Configuring remote engine for 192.168.3.241:1099 
2014/09/29 14:38:42 INFO  - jmeter.JMeter: Starting remote engines 
2014/09/29 14:38:42 INFO  - jmeter.engine.ClientJMeterEngine: running clientengine run method 
2014/09/29 14:38:42 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 
2014/09/29 14:38:42 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 
2014/09/29 14:38:43 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
2014/09/29 14:38:43 INFO  - jmeter.samplers.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 
2014/09/29 14:38:43 INFO  - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 
2014/09/29 14:39:04 ERROR - jmeter.engine.ClientJMeterEngine: Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: 10.88.10.13; nested exception is: 
java.net.ConnectException: Connection timed out: connect 
2014/09/29 14:39:04 INFO  - jmeter.engine.ClientJMeterEngine: Interrupting RMI Reaper 
2014/09/29 14:39:04 ERROR - jmeter.JMeter: Error in NonGUIDriver org.apache.jmeter.engine.JMeterEngineException: Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: 10.88.10.13; nested exception is: 
java.net.ConnectException: Connection timed out: connect
at org.apache.jmeter.engine.ClientJMeterEngine.runTest(ClientJMeterEngine.java:156)
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:830)
at org.apache.jmeter.JMeter.startNonGui(JMeter.java:732)
at org.apache.jmeter.JMeter.start(JMeter.java:390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:259)
Caused by: java.rmi.ConnectException: Connection refused to host: 10.88.10.13; nested exception is: 
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.rconfigure(Unknown Source)
at org.apache.jmeter.engine.ClientJMeterEngine.runTest(ClientJMeterEngine.java:133)
... 8 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 14 more


恳请各位指教!

以下是问题补充:

@chencliff:JDK都是一个exe安装出来的,机器都是WIN7,防火墙都已经关闭 (2014/09/29 14:47)
加载中
0
chencliff
chencliff
我的错!那两台机器有双网卡,KAO!
返回顶部
顶部