Dear Sebb: I ran test with Threads=60, RampUp=0, Loop=1. I used distributed environment with 10 machines, therefore Threads=600. After running test I got following response for some samples. Error% was 10%. It is very important for me to conclude on this, please help.
*Response: * org.apache.http.conn.HttpHostConnectException: Connection to SERVERNAME 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:619) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ... 12 more On Thu, Aug 29, 2013 at 3:43 PM, sebb <[email protected]> wrote: > On 28 August 2013 10:08, Amit Kumar <[email protected]> wrote: > > In response of failed requests there is text like- could not connect to > > server. Does it mean that server is not able to handle that much users? > > Depends on the exact message. > > In order to connect from one system to another, both the JMeter and > server systems - and the network - have to have sufficient resources. > > There could be failures at any point, but usually the problem is at > the server end; e.g. it needs to be configured with more connections. > > Search online for the exact error message. > > > > > On Wed, Aug 28, 2013 at 2:27 PM, sebb <[email protected]> wrote: > > > >> On 28 August 2013 09:38, Amit Kumar <[email protected]> wrote: > >> > Thanks Sebb for your reply. > >> > For failed samples, requests are having valid data but response > >> assertions > >> > are getting failed. What should we do in this cases? > >> > >> Depends on why the assertions are failing. > >> > >> Perhaps the assertion is wrong, or perhaps the server is responding > >> incorrectly under load. > >> > >> > > >> > On Wed, Aug 28, 2013 at 1:19 PM, sebb <[email protected]> wrote: > >> > > >> >> On 28 August 2013 05:58, Amit Kumar <[email protected]> wrote: > >> >> > Dear All: > >> >> > > >> >> > I have a query regarding to JMeter Results. I am running test with > >> 1000 > >> >> > users on 6 machines in distributed environment. In results some > >> samples > >> >> are > >> >> > generating warning (Status column in Table Result-Red Color). > >> >> > So should we include these failed sample in our result? > >> >> > >> >> Depends on what the test is trying to achieve. > >> >> > >> >> > What should we conclude on the basis of this? > >> >> > >> >> Depends on what is causing the errors. > >> >> You will need to look at the detailed results to see what the errors > >> >> are, and then investigate what is causing them. > >> >> > >> >> > Please give your suggestions !! > >> >> > > >> >> > -- > >> >> > Thanks and Regards, > >> >> > Amit > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [email protected] > >> >> For additional commands, e-mail: [email protected] > >> >> > >> >> > >> > > >> > > >> > -- > >> > Thanks and Regards, > >> > Amit > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > > Thanks and Regards, > > Amit > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Thanks and Regards, Amit
