I am trying to set up Jmeter Remote Configuration for my maven project.
I have the Client(master) sending the test to Slave machine but my Master machine does not collect results and finishes even before the slave is done running the tests and my results.jtl file is empty. Since the client already closed the connection the slave is unable to connect and the logs are below.Also, dont have issues running master-slave config from jmeter GUI (so that validates there are not network related issues with proxy or likewise)
Here isthe Jmeter-Server.log -
2013/08/19 12:06:00 INFO - jmeter.samplers.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000
2013/08/19 12:06:00 INFO - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2013/08/19 12:06:00 INFO - jmeter.samplers.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000
2013/08/19 12:06:00 INFO - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2013/08/19 12:06:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter engine on host 172.28.220.58 base '.'
2013/08/19 12:06:00 INFO - jmeter.services.FileServer: Set new base='.'
2013/08/19 12:06:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Cleaning previously set properties {}
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: Applying properties {}
2013/08/19 12:06:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Running test
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : ATEServicesPerfTest
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group ATEServicesPerfTest.
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2013/08/19 12:06:00 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2013/08/19 12:06:00 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2013/08/19 12:06:00 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2013/08/19 12:06:00 INFO - jmeter.threads.JMeterThread: Thread started: ATEServicesPerfTest 1-1
2013/08/19 12:06:00 WARN - jmeter.protocol.java.sampler.JUnitSampler: ClassNotFoundException:: 1
2013/08/19 12:06:00 ERROR - jmeter.samplers.BatchSampleSender: sampleOccurred java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
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.samplers.RemoteSampleListenerImpl_Stub.processBatch(Unknown Source)
at org.apache.jmeter.samplers.BatchSampleSender.sampleOccurred(BatchSampleSender.java:172)
at org.apache.jmeter.samplers.DataStrippingSampleSender.sampleOccurred(DataStrippingSampleSender.java:92)
at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:104)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(Unknown Source)
... 12 more
2013/08/19 12:06:01 ERROR - jmeter.samplers.BatchSampleSender: sampleOccurred java.rmi.ConnectException: Connection refused to host: 172.28.220.63; nested exception is:
java.net.ConnectException: Connection refused: 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.samplers.RemoteSampleListenerImpl_Stub.processBatch(Unknown Source)
at org.apache.jmeter.samplers.BatchSampleSender.sampleOccurred(BatchSampleSender.java:172)
at org.apache.jmeter.samplers.DataStrippingSampleSender.sampleOccurred(DataStrippingSampleSender.java:92)
at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:104)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: 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)
... 13 more
013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Applying properties {}
2013/08/20 16:57:07 INFO - jmeter.engine.RemoteJMeterEngineImpl: Running test
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : ATEServicesPerfTest
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group ATEServicesPerfTest.
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2013/08/20 16:57:07 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2013/08/20 16:57:07 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2013/08/20 16:57:07 INFO - jmeter.threads.JMeterThread: Thread started: ATEServicesPerfTest 1-1
2013/08/20 16:57:07 WARN - jmeter.protocol.java.sampler.JUnitSampler: ClassNotFoundException:: 1
2013/08/20 16:57:07 INFO - jmeter.threads.JMeterThread: Thread finished: ATEServicesPerfTest 1-1
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2013/08/20 16:57:07 INFO - jmeter.samplers.DataStrippingSampleSender: Test Ended on 172.28.220.33
2013/08/20 16:57:07 INFO - jmeter.samplers.BatchSampleSender: Test Ended on 172.28.220.33
2013/08/20 16:57:07 INFO - jmeter.samplers.DataStrippingSampleSender: Test Ended on 172.28.220.33
2013/08/20 16:57:07 INFO - jmeter.samplers.BatchSampleSender: Test Ended on 172.28.220.33
2013/08/20 16:57:07 INFO - jmeter.engine.StandardJMeterEngine: Test has ended on host 172.28.220.33
On Monday, August 19, 2013 1:11:14 PM UTC-5, Ardesco wrote:
mvn verify -X -P performance-tests
2) pom.xml in springExample has the remote machine's IP address. Like wise as you would know the slave machine has master's IP address in jmeter.properties and is launched in server mode.
2) Step 1) creates jmeter related setup under target directory.
3) The other 2 attachments(.jtl and .log) are the ones we had under out target with the results and the logs on the master.
4) jmeter-server.log is the output for the slave machine.
The common theme in both steps 3 and 4 is class not found exception.
The test runs on slave with 1.8.1 but the master would not wait for the results. With the 1.8.2-SNAPSHOT that problem(the server not waiting for results)is fixed but we ran into classnotfound exception. Any help would be greatly appreciated.
Please let me know if anymore clarification with our sample project