On 18 September 2013 09:31, Manish Sapariya <[email protected]> wrote: > Hi, > I am completely baffled by this. > > I see following exception for some request. However the request > is successfully served as per the access log of httpd. > ======================
Are you sure it's the same connection? That does not seem possible. If the connection is refused, how can the server handle it? > org.apache.http.conn.HttpHostConnectException: Connection to > http://arabic.gslab.com refused > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) > at > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) > at > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:286) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1088) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1077) > at > org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:428) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.net.ConnectException: Connection timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:529) > at > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) > ... 12 more > > ====================== > > My jmeter setup: > - distributed with one gui and other 10 nodes. > - Each node runs 50 users. > - GUI node do not run the test. > - CentOS 64 bit, using java 64 bit > - The time is synchronized on all machines. > > I would appreciate any pointers to debug this any further. Double (triple) check which connections are succeeeding and which are failing. Try using non-GUI mode on the client node. I'm suprised you need 10 servers for a total of 500 users. Depending on the test plan, a single node can handle that. But perhaps you want to test from multiple IPs. It might be worth trying a single non-GUI test with 500 users and no servers. > Thanks and Regards, > Manish > kPoint wins *Global eLearning > Award<http://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/> > * in “Learning Technologies Solution”! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
