Discussion:
Problems in distributed testing with jmeter
Indraneel Chowdhury
2007-05-31 08:13:18 UTC
Permalink
Hi,

I am trying to run JMeter in distributed mode. I have a slave windows (Windows XP) machine and a master linux (RHEL 4) machine with gnome configured so that I can get a GUI. Both the machines are on the same subnet. I start the jmeter server on the windows machine without problem. When I start the jmeter GUI on the master and try to ‘remote start’ the slave it bombs with a “Bad Call to host” error. The jmeter log gives me this java.rmi.connectIOException: non-JRMP server at remote endpoint. Can anybody help, please?

Thanks and regards





____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
Matt
2007-05-31 08:29:55 UTC
Permalink
Have you started the rmi service on the Windows machine? this is how JMeter
connects to it's slaves.
Post by Indraneel Chowdhury
Hi,
I am trying to run JMeter in distributed mode. I have a slave windows
(Windows XP) machine and a master linux (RHEL 4) machine with gnome
configured so that I can get a GUI. Both the machines are on the same
subnet. I start the jmeter server on the windows machine without problem.
When I start the jmeter GUI on the master and try to 'remote start' the
slave it bombs with a "Bad Call to host" error. The jmeter log gives me this
java.rmi.connectIOException: non-JRMP server at remote endpoint. Can
anybody help, please?
Thanks and regards
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all
the tools to get online.
http://smallbusiness.yahoo.com/webhosting
Indraneel Chowdhury
2007-05-31 08:44:28 UTC
Permalink
I don't think you have to explicitly start "rmiregistry" on windows. When I start jmeter server, I get a window with title: j2sdk1.4.2\jre\bin\rmiregistry.exe . Am I missing something?

Thanks and regards
Indraneel





____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
Matt
2007-05-31 09:29:52 UTC
Permalink
Nope that looks good. Is the Windows firewall blocking the rmi port?
Post by Indraneel Chowdhury
I don't think you have to explicitly start "rmiregistry" on windows. When
j2sdk1.4.2\jre\bin\rmiregistry.exe . Am I missing something?
Thanks and regards
Indraneel
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
Indraneel Chowdhury
2007-05-31 10:23:40 UTC
Permalink
OK, I solved the first problem. But now I have another one :-). The path to rmiregistry was wrong (I don't have any idea how the window title showed "j2sdk1.4.2\jre\bin\rmiregistry.exe"). I changed the path to rmiregistry and it worked.
I have one slave with IP 172.16.40.117 and one master with IP 172.16.40.125. Both are on the same subnet, the default gateway being 172.16.40.1
Now when I start the server the log says:
2007/05/31 15:30:18 INFO - jmeter.engine.RemoteJMeterEngineImpl: Bound to registry on port 9191
When I start the master, that runs fine too and the log says:
2007/05/31 15:30:18 INFO - jmeter.engine.ClientJMeterEngine: sent host 172.16.40.117:9191
2007/05/31 15:30:18 INFO - jmeter.engine.ClientJMeterEngine: sent test

The slave jmeter log thereafter says:
2007/05/31 15:31:15 INFO - jmeter.engine.RemoteJMeterEngineImpl: received test tree
2007/05/31 15:31:15 INFO - jmeter.engine.RemoteJMeterEngineImpl: running test
2007/05/31 15:31:15 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2007/05/31 15:31:15 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on 172.16.40.117:9191

But then the whole thing bombs saying:
2007/05/31 15:31:16 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 172.16.14.158; nested exception is:
java.net.ConnectException: Connection refused: connect
I don't understand how the host 172.16.14.158 comes in the picture. In the end the log says:
2007/05/31 15:40:25 INFO - jmeter.engine.StandardJMeterEngine: Test has ended

though there are no result (jtl) files. I am completely perplexed. Please help.

Thanks and regards
Indraneel


----- Original Message ----
From: Matt <***@gmail.com>
To: JMeter Users List <jmeter-***@jakarta.apache.org>
Sent: Thursday, May 31, 2007 2:59:52 PM
Subject: Re: Problems in distributed testing with jmeter

Nope that looks good. Is the Windows firewall blocking the rmi port?
Post by Indraneel Chowdhury
I don't think you have to explicitly start "rmiregistry" on windows. When
j2sdk1.4.2\jre\bin\rmiregistry.exe . Am I missing something?
Thanks and regards
Indraneel
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
Indraneel Chowdhury
2007-05-31 13:54:15 UTC
Permalink
This is getting interesting. I start the slave on the Windows machine by running jmeter-server. I start the master on a Windows XP box on the same subnet and bingo! It works. I need to get this going from the linux box though, sigh.

Thanks and regards
Indraneel




____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
sebb
2007-05-31 21:34:03 UTC
Permalink
The java version may be relevant. It needs to be 1.4 or higher, and a
fully compliant implementation. Some non-SUN JVMs don't seem to be
able to run JMeter.
Post by Indraneel Chowdhury
This is getting interesting. I start the slave on the Windows machine by running jmeter-server. I start the master on a Windows XP box on the same subnet and bingo! It works. I need to get this going from the linux box though, sigh.
Thanks and regards
Indraneel
____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
Loading...