jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nanduri <nandurivk0...@gmail.com>
Subject Re: Distributed testing
Date Thu, 01 Oct 2009 18:21:50 GMT

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 <nandurivk0730@gmail.com> 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: fabrice.voarick@uefa.ch
>> >
>> > 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:Oliver.Erlewein@datacom.co.nz]
>> > 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:Fabrice.Voarick@uefa.ch]
>> > Sent: Tuesday, 8 August 2006 18:58
>> > To: jmeter-user@jakarta.apache.org
>> > 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: fabrice.voarick@uefa.ch
>> > Europe's football website: http://www.uefa.com
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>> >
>> >
>>
>> --
>> 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: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message