Hi,
 I was trying to run the jmeter in distributed mode.But im not able to
succceed in that.can u tell me how ro do that.I have installed jmeter on
server linux.

Server side  settiings

a.Installed jmeter on sever linux os-centos
b.Installed the jdk 1.6 and ran the 
c.In the jmeter properties added the ipaddress of the target system.
d.Ranned the jmeter-server on linux
e.Ran the rmiregistry  
After running im getting a message port already in use.
 Bin.exception-port already in use
f Ran the sh jmter

On clent  side
1.In the jmeter-propeties file 
 added the ip of server
2.Ran the jmeter.bat

In the sever side i got an message connection refused
please help  me in this.
Anything wrong i had done.

Thanks,
kirann
After this  iwent to the master system and went to run-remort start- 

Deepak Shetty wrote:
> 
> Just to take a step back
> You have two options
> 
> a. Run Jmeter in distributed mode(master/slave). in this case your test
> begins when you start it from the JMeter master. There is no need for a
> scheduler in this case
> OR
> b. You run each jmeter separately , standalone, and start them at the same
> time
> 
> what option are you trying out?
> 
> 
> 
> On Fri, Oct 2, 2009 at 6:08 AM, nanduri <[email protected]> wrote:
> 
>>
>> hi,
>> for scheduling in jmetr the time smust be given based on system time or
>> we
>> need to give unixyimestamp i have already tried it but it was not
>> working.please help in this .I have jmeter server in linux and client in
>> windows.how do i doi by scheduling it .please help me in this.
>>
>> Thanks,
>> kirann
>>
>> Deepak Shetty wrote:
>> >
>> > you can specify a time on the ThreadGroup. Check the scheduler box and
>> you
>> > will get options to specify the time.
>> >
>> > However what  I meant use windows Task scheduler to start up separate
>> > jmeter
>> > instances at a predefined time on different machines (or perhaps at
>> > exactly
>> > the same time). This means not using the distributed test functionality
>> of
>> > Jmeter , you will run each jmeter instance by itself
>> >
>> >>i got connection refused error.
>> > You really need to provide better information if you expect people to
>> > diagnose your problems. What did you do , where did you get this error,
>> at
>> > what step , what log did you see.
>> >
>> > regards
>> > deepak
>> >
>> > On Thu, Oct 1, 2009 at 11:21 AM, nanduri <[email protected]>
>> wrote:
>> >
>> >>
>> >> Hi,
>> >>  Can u tell me where is task scheduler in jmeter i already tried with
>> the
>> >> below document but im not aable to succeded i got connection refused
>> >> error.please help me in this.How do i this in linux and windows.
>> >>
>> >> Thanks,
>> >> kirann
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> >
>> >>
>> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
>> >> >
>> >> > You can also run jmeter as standalone on separate instances (use
>> >> > taskscheduler in windows or cron in unix to start all the tests at
>> the
>> >> > same
>> >> > time) , write the output to a CSV file and then simply combine the
>> >> > results.
>> >> >
>> >> > regards
>> >> > deepak
>> >> >
>> >> >
>> >> > On Thu, Oct 1, 2009 at 10:33 AM, nanduri <[email protected]>
>> >> wrote:
>> >> >
>> >> >>
>> >> >> Hi,\Can u tell me ho do we run the scripts in btch mode im new to
>> >> >> jmeter.Please help me out.Actually i want to generate 2000 threads
>> as
>> >> i
>> >> >> read
>> >> >> form documentation distributed testing is best could u please help
>> me,
>> >> >>
>> >> >> Thanks,
>> >> >> kirann
>> >> >>
>> >> >> Voarick Fabrice wrote:
>> >> >> >
>> >> >> > Hi Oliver,
>> >> >> >
>> >> >> > Thanks for your reply, I guess you are right , this distributed
>> >> testing
>> >> >> is
>> >> >> > really problematic when addressing more than one nic.
>> >> >> >
>> >> >> > Best Regards,
>> >> >> > Fabrice
>> >> >> >
>> >> >> >
>> >> >> > Fabrice Voarick
>> >> >> >
>> >> >> > Architecture & Live Media
>> >> >> >
>> >> >> > UEFA Media Technologies SA
>> >> >> >
>> >> >> > Tel.     +41 (0)22 707 25 19
>> >> >> > Mobile +41 (0)79 292 66 37
>> >> >> > Email: [email protected]
>> >> >> >
>> >> >> > Route de St-Cergue 9
>> >> >> > CH-1260 Nyon 1, Switzerland
>> >> >> > Tel. +41 (0)848 00 25 25
>> >> >> > Fax +41 (0)848 01 25 25
>> >> >> >
>> >> >> >
>> >> >> > Europe's football website: http://www.uefa.com
>> >> >> >
>> >> >> > -----Original Message-----
>> >> >> > From: Oliver Erlewein (DSLWN) [mailto:
>> [email protected]]
>> >> >> > Sent: vendredi, 11. août 2006 07:26
>> >> >> > To: JMeter Users List
>> >> >> > Subject: RE: Distributed testing
>> >> >> >
>> >> >> > Hi Fabrice,
>> >> >> >
>> >> >> > Save yourself a lot of trouble, start the tests in batch mode on
>> all
>> >> >> > machines time synchronised and then collate the results after the
>> >> test
>> >> >> > and evaluate them. That's a lot safer and you can run more
>> threads
>> >> on
>> >> >> > one machine (no gui overhead). You can still unse the gui to
>> design
>> >> the
>> >> >> > tests and see if they run. A good tool to do the graps with is
>> >> GNUplot.
>> >> >> >
>> >> >> > Cheers
>> >> >> > Oliver
>> >> >> >
>> >> >> > -----Original Message-----
>> >> >> > From: Voarick Fabrice [mailto:[email protected]]
>> >> >> > Sent: Tuesday, 8 August 2006 18:58
>> >> >> > To: [email protected]
>> >> >> > Subject: Distributed testing
>> >> >> >
>> >> >> > Hi all,
>> >> >> >
>> >> >> > We are trying to set up a distributed testing with the
>> configuration
>> >> as
>> >> >> > following:
>> >> >> >
>> >> >> > - 1 laptop holding the master and gui Jmeter
>> >> >> > - 2 slaves holding the remote jmeter engine
>> >> >> > - 3 target servers to test through a net app network load
>> balancer.
>> >> >> >
>> >> >> > We have followed the full procedure and did not succeed in set up
>> >> the
>> >> >> > distributed testing.
>> >> >> >
>> >> >> > I saw in the forum that distributed testing is not working when
>> >> having
>> >> >> > more than one nic in the servers.
>> >> >> >
>> >> >> > I have changed the binding order of the network cards to make the
>> >> >> > correct card and IP appear first, but still I have the same
>> error.
>> >> >> > Please see log (truncated with only useful info for more
>> >> readability)
>> >> >> >
>> >> >> >
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.util.JMeterUtils: Setting
>> Locale
>> >> to
>> >> >> > en_GB
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: Loading user
>> properties
>> >> >> from:
>> >> >> >
>> >> >> > user.properties
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: Loading system
>> properties
>> >> >> > from:
>> >> >> > system.properties
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: Version 2.2
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: java.version=1.5.0_07
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: os.name=Windows 2003
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: os.arch=x86
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: os.version=5.2
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: Default Locale=English
>> >> >> > (United
>> >> >> > Kingdom)
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: JMeter  Locale=English
>> >> >> > (United
>> >> >> > Kingdom)
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: JMeterHome=C:\jmeter
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: user.dir=C:\jmeter\bin
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.JMeter: PWD     =C:\jmeter\bin
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> >> > Starting backing engine on 1099
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.engine.StandardJMeterEngine:
>> >> >> > Listeners will be started after enabling running version
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.engine.StandardJMeterEngine:
>> To
>> >> >> > revert to the earlier behaviour, define
>> >> >> > jmeterengine.startlistenerslater=false
>> >> >> > 2006/08/04 13:23:23 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> Bound
>> >> >> > to registry on port 1099
>> >> >> > 2006/08/04 13:23:37 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> Reset
>> >> >> > 2006/08/04 13:23:37 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> Reset
>> >> >> > 2006/08/04 13:23:37 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> >> > received
>> >> >> > host: 83.231.158.87
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Cannot find .className property for htmlParser, using default
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Parser for text/html is
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Parser for application/xhtml+xml is
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Parser for application/xml is
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Parser for text/xml is
>> >> >> > 2006/08/04 13:23:37 INFO  -
>> >> >> > jmeter.protocol.http.sampler.HTTPSamplerBase:
>> >> >> > Parser for text/vnd.wap.wml is
>> >> >> > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
>> >> >> > 2006/08/04 13:23:58 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> >> > received test tree
>> >> >> > 2006/08/04 13:23:58 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>> >> >> > running test
>> >> >> > 2006/08/04 13:23:58 INFO  - jmeter.engine.StandardJMeterEngine:
>> >> Running
>> >> >> > the test!
>> >> >> > 2006/08/04 13:23:59 INFO  -
>> jmeter.samplers.RemoteListenerWrapper:
>> >> Test
>> >> >> > Started on 83.231.158.87
>> >> >> > 2006/08/04 13:24:20 ERROR -
>> jmeter.samplers.RemoteListenerWrapper:
>> >> >> > testStarted(host) java.rmi.ConnectException: Connection refused
>> to
>> >> >> host:
>> >> >> >
>> >> >> > 10.130.158.86; 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.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unk
>> >> >> > nown
>> >> >> > Source)
>> >> >> >       at
>> >> >> >
>> >> >>
>> >>
>> org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListe
>> >> >> > nerWrapper.java:74)
>> >> >> >       at
>> >> >> >
>> >> >>
>> >>
>> org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart
>> >> >> > (StandardJMeterEngine.java:209)
>> >> >> >       at
>> >> >> >
>> >> >>
>> >>
>> org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.j
>> >> >> > ava:331)
>> >> >> >       at java.lang.Thread.run(Unknown Source) Caused by:
>> >> >> > java.net.ConnectException: Connection timed out: connect
>> >> >> >       at java.net.PlainSocketImpl.socketConnect(Native Method)
>> >> >> >       at java.net.PlainSocketImpl.doConnect(Unknown Source)
>> >> >> >       at java.net.PlainSocketImpl.connectToAddress(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)
>> >> >> >       ... 9 more
>> >> >> >
>> >> >> > 2006/08/04 13:24:20 INFO  -
>> jmeter.samplers.RemoteListenerWrapper:
>> >> Test
>> >> >> > Started on 83.231.158.87
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > 83.231.158.87 is the address of the primary NIC
>> >> >> > Connection refused to host: 10.130.158.86; -> Is the address of
>> >> another
>> >> >> > NIC
>> >> >> > present on the server and reserved for backup network
>> >> >> >
>> >> >> > I have read a bug report (Bug 29101) that states about a similar
>> >> >> > problem.
>> >> >> > Is there any way to work around this situtation?
>> >> >> > Due to the fact the server is hosted on a provider site , we can
>> >> hardly
>> >> >> > ask
>> >> >> > provider to remove the other network cards from the server.
>> >> >> >
>> >> >> > Thanks for any help & Best regards
>> >> >> >
>> >> >> >
>> >> >> > Fabrice Voarick
>> >> >> > Architecture & Live Media
>> >> >> > UEFA Media Technologies SA
>> >> >> > Email: [email protected]
>> >> >> > Europe's football website: http://www.uefa.com
>> >> >> >
>> >> >> >
>> >> >> >
>> >> ---------------------------------------------------------------------
>> >> >> > To unsubscribe, e-mail:
>> [email protected]
>> >> >> > For additional commands, e-mail:
>> [email protected]
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://www.nabble.com/Distributed-testing-tp5701340p25703360.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]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Distributed-testing-tp5701340p25704152.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]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Distributed-testing-tp5701340p25715583.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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Distributed-testing-tp5701340p25728362.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]

Reply via email to