Hi Chintan: I am currently trying to use Jmeter for distributed testing and after some reading and research on this forum, I followed the steps below and it worked. I am using Jmeter 2.3.4 and Java 1.6:
Server side: 1. Set your CLASSPATH variables as shown below: set JMETER_HOME=<Jmeter dir> eg., set JMETER_HOME=c:\jakarta-jmeter-2.3.3 set CLASSPATH="%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar" set SERVER_PORT= 2. In your Jmeter.properties file, make sure the following values are set and save the file server_port=1664 server.rmi.port=1664 server.rmi.create=true 3. Start the jmeter in the server mode. On the Client side: 1. Update the jmeter.properties file to have remote_hosts=<server ipaddress>:<port on which the rmirgistry listens, eg., 1664> 2. Start the client It should work now. When you run the script remotely on the server, you should see comments like "Starting the test....." in the Server log. Hope this helps. --Ramya sebb-2-2 wrote: > > On 28/05/2009, Chintan Kachhi <[email protected]> wrote: >> >> I am using JMeter version 2.3.3. I have followed the instructions in: >> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf >> >> My system is the master system, and my friend's system is the slave >> system. I am trying to do remote testing by running JMeter: Run -> Remote >> Start -> his I.P. address. However this is not working, and looking at >> the log, I am getting the following error messages: >> >> >> 2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to >> initialise remote engine java.rmi.NoSuchObjectException: no such object >> in table >> at >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown >> Source) >> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) >> at sun.rmi.server.UnicastRef.invoke(Unknown Source) >> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) >> at java.rmi.Naming.lookup(Unknown Source) >> at >> org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51) >> at >> org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:64) >> at >> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163) >> at >> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74) >> at >> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80) >> at >> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42) >> at >> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59) >> at java.awt.event.InvocationEvent.dispatch(Unknown Source) >> at java.awt.EventQueue.dispatchEvent(Unknown Source) >> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown >> Source) >> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) >> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown >> Source) >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >> at java.awt.EventDispatchThread.run(Unknown Source) > > I've not seen that particular error before - it looks like the client > is able to reach the RMI server but that cannot find JMeter. > > What does the server log say? > >> >> I hope I am doing it correctly. According to the documentation, he only >> has his JMeter server running ( not the JMeter running), and I only have >> my JMeter running ( and not the JMeter server running, even though >> running both in both the systems also did not make any difference). We >> both have the same JMeter version 2.3.3 running with the same JDK version >> 1.5. Is there something else that needs to be edited? The only change I >> made in the jmeter.properties file was to add his ip address under the >> remote_hosts property. >> >> Thanks, >> >> Chintan >> >> >> _________________________________________________________________ >> Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. >> >> http://www.microsoft.com/india/windows/windowslive/photos.aspx > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p25263870.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

