You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by MJB_BWS <mi...@bluewhalesystems.com> on 2009/04/28 12:25:48 UTC
1/5 of test threads don't finish
Hello,
I'm having a problem with a load test makes an HTTP request to download a
file. My thread group has 300 threads with a rampup time of 60s. When
running the test, generally between 50 and 65 of the requests never finish,
and the cleanup section at the end of the test never runs. This only happens
when there are some requests that have an error - when I run the same test
with 100 requests instead of 300 then there are no errors and all threads
finish.
Does anyone know what might be causing these unfinished requests?
A piece of information that might be useful: The threads that report an
error do so with the following exception:
java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
at java.lang.Thread.run(Thread.java:619)
Thanks,
Mike
--
View this message in context: http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23274302.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
Re: 1/5 of test threads don't finish
Posted by pradeep1234 <pr...@snapon.com>.
whats the meaning of below 2 lines.
1> Did you change to using the HttpClient sampler?
2> changing the Samplers to HttpClient. Now the timeout works.
what need to change and where...can you specify?
Thanks in advance
Regards
Pradeep K Tiwari
9818062276
sebb-2-2 wrote:
>
> On 30/06/2009, pradeep1234 <pr...@snapon.com> wrote:
>>
>> These errors occurs only when I run the test for below mentioned server,
>> and
>> when I run the test on another server which is our office n/w, I don't
>> received any error while script run.
>>
>> and one sample has the below error message in Response Tab.
>>
>>
>> java.net.UnknownHostException: spoepc.pp.xw.gm.com
>
> That is not a JMeter error - the host name is not known.
>
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>> Source)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>> Source)
>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown
>> Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
>> Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
>> Source)
>> at java.net.HttpURLConnection.getResponseCode(Unknown Source)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:291)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:522)
>>
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
>> at
>>
>> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
>> at
>> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
>> at java.lang.Thread.run(Unknown Source)
>>
>> Caused by: java.net.UnknownHostException: spoepc.pp.xw.gm.com
>>
>> 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 sun.net.NetworkClient.doConnect(Unknown Source)
>> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>>
>> at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
>> at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
>> Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
>> Source)
>> at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
>> at java.net.URLConnection.getContentLength(Unknown Source)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:261)
>> ... 6 more
>>
>>
>> pradeep1234 wrote:
>> >
>> > Hi Sebb,
>> >
>> > I am facing the issue in 2.3.4 as mentioned below.
>> >
>> > java.net.UnknownHostException: spoepc.pp.xw.gm.com
>> > 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 sun.net.NetworkClient.doConnect(Unknown Source)
>> > at sun.net.www.http.HttpClient.openServer(Unknown Source)
>> > at sun.net.www.http.HttpClient.openServer(Unknown Source)
>> > at sun.net.www.http.HttpClient.<init>(Unknown Source)
>> > at sun.net.www.http.HttpClient.New(Unknown Source)
>> > at sun.net.www.http.HttpClient.New(Unknown Source)
>> > at
>> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
>> > Source)
>> > at
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
>> > Source)
>> > at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
>> Source)
>> > at
>> >
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
>> > at
>> >
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
>> > at
>> >
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
>> > at
>> >
>> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
>> > at
>> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
>> > at java.lang.Thread.run(Unknown Source)
>> >
>> > Here "spoepc.pp.xw.gm.com" is server name, on which I am putting the
>> load.
>> > How can I avoid these failures from JMETER Script run, only .01% of
>> > samplers having this error.
>> >
>> > Thanks
>> > Pradeep K Tiwari
>> > 9818062276
>> >
>> >
>> >
>> > sebb-2-2 wrote:
>> >>
>> >> On 29/04/2009, MJB_BWS <mi...@bluewhalesystems.com>
>> wrote:
>> >>>
>> >>>
>> >>> sebb-2-2 wrote:
>> >>> >
>> >>> > Works for me. Did you change to using the HttpClient sampler?
>> >>> >
>> >>> > If so, then send me the properties files privately.
>> >>> >
>> >>>
>> >>>
>> >>> Ah, I missed changing the Samplers to HttpClient. Now the timeout
>> works.
>> >>
>> >> Glad it's sorted.
>> >>
>> >> Just in case anyone else needs to set timeouts:
>> >>
>> >> The latest version of JMeter (2.3.4) now supports connect and
>> response
>> >> timeouts via the GUI - there's no need to update the properties files
>> >> (but that will still work for HttpClient).
>> >>
>> >> Also, if you are using Java 1.5 or later, timeouts specified on the
>> >> GUI also work with the Java version of the HTTP sampler.
>> >>
>> >>> Thanks,
>> >>> Mike
>> >>>
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
>> >>>
>> >>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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/1-5-of-test-threads-don%27t-finish-tp23274302p24267744.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
>>
>>
>
> ---------------------------------------------------------------------
> 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/1-5-of-test-threads-don%27t-finish-tp23274302p24269723.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
Re: 1/5 of test threads don't finish
Posted by sebb <se...@gmail.com>.
On 30/06/2009, pradeep1234 <pr...@snapon.com> wrote:
>
> These errors occurs only when I run the test for below mentioned server, and
> when I run the test on another server which is our office n/w, I don't
> received any error while script run.
>
> and one sample has the below error message in Response Tab.
>
>
> java.net.UnknownHostException: spoepc.pp.xw.gm.com
That is not a JMeter error - the host name is not known.
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
> at java.net.HttpURLConnection.getResponseCode(Unknown Source)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:291)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:522)
>
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
> at
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
> at java.lang.Thread.run(Unknown Source)
>
> Caused by: java.net.UnknownHostException: spoepc.pp.xw.gm.com
>
> 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 sun.net.NetworkClient.doConnect(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>
> at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
> at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
> Source)
> at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
> at java.net.URLConnection.getContentLength(Unknown Source)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:261)
> ... 6 more
>
>
> pradeep1234 wrote:
> >
> > Hi Sebb,
> >
> > I am facing the issue in 2.3.4 as mentioned below.
> >
> > java.net.UnknownHostException: spoepc.pp.xw.gm.com
> > 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 sun.net.NetworkClient.doConnect(Unknown Source)
> > at sun.net.www.http.HttpClient.openServer(Unknown Source)
> > at sun.net.www.http.HttpClient.openServer(Unknown Source)
> > at sun.net.www.http.HttpClient.<init>(Unknown Source)
> > at sun.net.www.http.HttpClient.New(Unknown Source)
> > at sun.net.www.http.HttpClient.New(Unknown Source)
> > at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> > Source)
> > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> > Source)
> > at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> > at
> > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
> > at
> > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
> > at
> > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
> > at
> > org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
> > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
> > at java.lang.Thread.run(Unknown Source)
> >
> > Here "spoepc.pp.xw.gm.com" is server name, on which I am putting the load.
> > How can I avoid these failures from JMETER Script run, only .01% of
> > samplers having this error.
> >
> > Thanks
> > Pradeep K Tiwari
> > 9818062276
> >
> >
> >
> > sebb-2-2 wrote:
> >>
> >> On 29/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
> >>>
> >>>
> >>> sebb-2-2 wrote:
> >>> >
> >>> > Works for me. Did you change to using the HttpClient sampler?
> >>> >
> >>> > If so, then send me the properties files privately.
> >>> >
> >>>
> >>>
> >>> Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
> >>
> >> Glad it's sorted.
> >>
> >> Just in case anyone else needs to set timeouts:
> >>
> >> The latest version of JMeter (2.3.4) now supports connect and response
> >> timeouts via the GUI - there's no need to update the properties files
> >> (but that will still work for HttpClient).
> >>
> >> Also, if you are using Java 1.5 or later, timeouts specified on the
> >> GUI also work with the Java version of the HTTP sampler.
> >>
> >>> Thanks,
> >>> Mike
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> 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/1-5-of-test-threads-don%27t-finish-tp23274302p24267744.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: 1/5 of test threads don't finish
Posted by pradeep1234 <pr...@snapon.com>.
These errors occurs only when I run the test for below mentioned server, and
when I run the test on another server which is our office n/w, I don't
received any error while script run.
and one sample has the below error message in Response Tab.
java.net.UnknownHostException: spoepc.pp.xw.gm.com
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:291)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:522)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: spoepc.pp.xw.gm.com
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 sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
Source)
at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
at java.net.URLConnection.getContentLength(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:261)
... 6 more
pradeep1234 wrote:
>
> Hi Sebb,
>
> I am facing the issue in 2.3.4 as mentioned below.
>
> java.net.UnknownHostException: spoepc.pp.xw.gm.com
> 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 sun.net.NetworkClient.doConnect(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.<init>(Unknown Source)
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
> at
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
> at java.lang.Thread.run(Unknown Source)
>
> Here "spoepc.pp.xw.gm.com" is server name, on which I am putting the load.
> How can I avoid these failures from JMETER Script run, only .01% of
> samplers having this error.
>
> Thanks
> Pradeep K Tiwari
> 9818062276
>
>
>
> sebb-2-2 wrote:
>>
>> On 29/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>>>
>>>
>>> sebb-2-2 wrote:
>>> >
>>> > Works for me. Did you change to using the HttpClient sampler?
>>> >
>>> > If so, then send me the properties files privately.
>>> >
>>>
>>>
>>> Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
>>
>> Glad it's sorted.
>>
>> Just in case anyone else needs to set timeouts:
>>
>> The latest version of JMeter (2.3.4) now supports connect and response
>> timeouts via the GUI - there's no need to update the properties files
>> (but that will still work for HttpClient).
>>
>> Also, if you are using Java 1.5 or later, timeouts specified on the
>> GUI also work with the Java version of the HTTP sampler.
>>
>>> Thanks,
>>> Mike
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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/1-5-of-test-threads-don%27t-finish-tp23274302p24267744.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
Re: 1/5 of test threads don't finish
Posted by pradeep1234 <pr...@snapon.com>.
Hi Sebb,
I am facing the issue in 2.3.4 as mentioned below.
java.net.UnknownHostException: spoepc.pp.xw.gm.com
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 sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
Here "spoepc.pp.xw.gm.com" is server name, on which I am putting the load.
How can I avoid these failures from JMETER Script run, only .01% of samplers
having this error.
Thanks
Pradeep K Tiwari
9818062276
sebb-2-2 wrote:
>
> On 29/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>>
>>
>> sebb-2-2 wrote:
>> >
>> > Works for me. Did you change to using the HttpClient sampler?
>> >
>> > If so, then send me the properties files privately.
>> >
>>
>>
>> Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
>
> Glad it's sorted.
>
> Just in case anyone else needs to set timeouts:
>
> The latest version of JMeter (2.3.4) now supports connect and response
> timeouts via the GUI - there's no need to update the properties files
> (but that will still work for HttpClient).
>
> Also, if you are using Java 1.5 or later, timeouts specified on the
> GUI also work with the Java version of the HTTP sampler.
>
>> Thanks,
>> Mike
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
>>
>>
>
> ---------------------------------------------------------------------
> 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/1-5-of-test-threads-don%27t-finish-tp23274302p24267664.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
Re: 1/5 of test threads don't finish
Posted by sebb <se...@gmail.com>.
On 29/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>
>
> sebb-2-2 wrote:
> >
> > Works for me. Did you change to using the HttpClient sampler?
> >
> > If so, then send me the properties files privately.
> >
>
>
> Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
Glad it's sorted.
Just in case anyone else needs to set timeouts:
The latest version of JMeter (2.3.4) now supports connect and response
timeouts via the GUI - there's no need to update the properties files
(but that will still work for HttpClient).
Also, if you are using Java 1.5 or later, timeouts specified on the
GUI also work with the Java version of the HTTP sampler.
> Thanks,
> Mike
>
>
> --
> View this message in context: http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: 1/5 of test threads don't finish
Posted by pradeep1234 <pr...@snapon.com>.
I am getting the Same issue of time out,
I have made the changes in jmeter.properties file for
#httpclient.parameters.file=httpclient.parameters by removing the #.
now issue is if I run for 15 minutes its working fine and if runs for 30
minutes then again error occurs.
I have not added the line http.socket.timeout$Integer=10000, caz if I add
this line, then numbers of transaction count minimized.
any suggestion what else changes needed.
Thanks,
Pradeep Kumar Tiwari
MJB_BWS wrote:
>
>
> sebb-2-2 wrote:
>>
>> Works for me. Did you change to using the HttpClient sampler?
>>
>> If so, then send me the properties files privately.
>>
>
> Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
>
> Thanks,
> Mike
>
>
--
View this message in context: http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p24158908.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
Re: 1/5 of test threads don't finish
Posted by MJB_BWS <mi...@bluewhalesystems.com>.
sebb-2-2 wrote:
>
> Works for me. Did you change to using the HttpClient sampler?
>
> If so, then send me the properties files privately.
>
Ah, I missed changing the Samplers to HttpClient. Now the timeout works.
Thanks,
Mike
--
View this message in context: http://www.nabble.com/1-5-of-test-threads-don%27t-finish-tp23274302p23294212.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
Re: 1/5 of test threads don't finish
Posted by sebb <se...@gmail.com>.
On 28/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>
> It sounds like that would fix my issue; unfortunately I can't get it to work.
> I tried making the changes you suggested, as well as defining
> http.socket.timeout and http.connection.timeout in jmeter.properties but the
> problem persists.
>
> Looking in jmeter.log, I see no logging about the httpclient.parameters
> file.
>
> Any suggestions?
Works for me. Did you change to using the HttpClient sampler?
If so, then send me the properties files privately.
> Thanks,
> Mike
>
>
>
> sebb-2-2 wrote:
> >
> > On 28/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
> >>
> >> That's what causes the timeouts, sure. But why aren't all the test
> >> threads
> >> finishing - either with error or success?
> >
> > Most likely JMeter is not getting a response from the server.
> >
> > If you change to using the HttpClient version of the Http Sampler, you
> > can enable connect and socket timeouts by making the changes below.
> >
> > jmeter.properties:
> >
> > Uncomment this line (remove the #):
> >
> > #httpclient.parameters.file=httpclient.parameters
> >
> > And add the following in httpclient.parameters:
> >
> > http.socket.timeout$Integer=10000
> > http.connect.timeout$Integer=10000
> >
> > where the timeout is in milliseconds
> >
> > See
> >
> > http://hc.apache.org/httpclient-3.x/preference-api.html
> >
> >> Thanks,
> >> Mike
> >>
> >>
> >>
> >> Ronan Klyne-2 wrote:
> >> >
> >> > MJB_BWS wrote:
> >> >> Hello,
> >> >>
> >> >> I'm having a problem with a load test makes an HTTP request to
> >> download a
> >> >> file. My thread group has 300 threads with a rampup time of 60s. When
> >> >> running the test, generally between 50 and 65 of the requests never
> >> >> finish,
> >> >> and the cleanup section at the end of the test never runs. This only
> >> >> happens
> >> >> when there are some requests that have an error - when I run the same
> >> >> test
> >> >> with 100 requests instead of 300 then there are no errors and all
> >> threads
> >> >> finish.
> >> >>
> >> >> Does anyone know what might be causing these unfinished requests?
> >> >
> >> > It is likely that your server or client is under more load than it can
> >> > handle.
> >> >
> >> >> A piece of information that might be useful: The threads that report
> >> an
> >> >> error do so with the following exception:
> >> >>
> >> >> java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
> >> >> at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> >> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> >> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> >> >> at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
> >> >> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> >> >> at sun.net.www.http.HttpClient.New(HttpClient.java:323)
> >> >> at
> >> >>
> >> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
> >> >> at
> >> >>
> >> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
> >> >> at
> >> >>
> >> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
> >> >> at
> >> >>
> >> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
> >> >> at
> >> >>
> >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
> >> >> at
> >> >>
> >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
> >> >> at
> >> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
> >> >> at java.lang.Thread.run(Thread.java:619)
> >> >>
> >> >> Thanks,
> >> >> Mike
> >> >
> >> >
> >> > --
> >> > Ronan Klyne
> >> > Business Collaborator Developer
> >> > Tel: +44 01189 028515
> >> > ronan.klyne@groupbc.com
> >> > http://www.groupbc.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/1-5-of-test-threads-don%27t-finish-tp23274302p23274457.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
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > 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/1-5-of-test-threads-don%27t-finish-tp23274302p23279072.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: 1/5 of test threads don't finish
Posted by MJB_BWS <mi...@bluewhalesystems.com>.
It sounds like that would fix my issue; unfortunately I can't get it to work.
I tried making the changes you suggested, as well as defining
http.socket.timeout and http.connection.timeout in jmeter.properties but the
problem persists.
Looking in jmeter.log, I see no logging about the httpclient.parameters
file.
Any suggestions?
Thanks,
Mike
sebb-2-2 wrote:
>
> On 28/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>>
>> That's what causes the timeouts, sure. But why aren't all the test
>> threads
>> finishing - either with error or success?
>
> Most likely JMeter is not getting a response from the server.
>
> If you change to using the HttpClient version of the Http Sampler, you
> can enable connect and socket timeouts by making the changes below.
>
> jmeter.properties:
>
> Uncomment this line (remove the #):
>
> #httpclient.parameters.file=httpclient.parameters
>
> And add the following in httpclient.parameters:
>
> http.socket.timeout$Integer=10000
> http.connect.timeout$Integer=10000
>
> where the timeout is in milliseconds
>
> See
>
> http://hc.apache.org/httpclient-3.x/preference-api.html
>
>> Thanks,
>> Mike
>>
>>
>>
>> Ronan Klyne-2 wrote:
>> >
>> > MJB_BWS wrote:
>> >> Hello,
>> >>
>> >> I'm having a problem with a load test makes an HTTP request to
>> download a
>> >> file. My thread group has 300 threads with a rampup time of 60s. When
>> >> running the test, generally between 50 and 65 of the requests never
>> >> finish,
>> >> and the cleanup section at the end of the test never runs. This only
>> >> happens
>> >> when there are some requests that have an error - when I run the same
>> >> test
>> >> with 100 requests instead of 300 then there are no errors and all
>> threads
>> >> finish.
>> >>
>> >> Does anyone know what might be causing these unfinished requests?
>> >
>> > It is likely that your server or client is under more load than it can
>> > handle.
>> >
>> >> A piece of information that might be useful: The threads that report
>> an
>> >> error do so with the following exception:
>> >>
>> >> java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
>> >> at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>> >> at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>> >> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>> >> at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>> >> at
>> >>
>> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
>> >> at
>> >>
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
>> >> at
>> >>
>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
>> >> at
>> >>
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
>> >> at
>> >>
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
>> >> at
>> >>
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
>> >> at
>> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
>> >> at java.lang.Thread.run(Thread.java:619)
>> >>
>> >> Thanks,
>> >> Mike
>> >
>> >
>> > --
>> > Ronan Klyne
>> > Business Collaborator Developer
>> > Tel: +44 01189 028515
>> > ronan.klyne@groupbc.com
>> > http://www.groupbc.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/1-5-of-test-threads-don%27t-finish-tp23274302p23274457.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
>>
>>
>
> ---------------------------------------------------------------------
> 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/1-5-of-test-threads-don%27t-finish-tp23274302p23279072.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
Re: 1/5 of test threads don't finish
Posted by sebb <se...@gmail.com>.
On 28/04/2009, MJB_BWS <mi...@bluewhalesystems.com> wrote:
>
> That's what causes the timeouts, sure. But why aren't all the test threads
> finishing - either with error or success?
Most likely JMeter is not getting a response from the server.
If you change to using the HttpClient version of the Http Sampler, you
can enable connect and socket timeouts by making the changes below.
jmeter.properties:
Uncomment this line (remove the #):
#httpclient.parameters.file=httpclient.parameters
And add the following in httpclient.parameters:
http.socket.timeout$Integer=10000
http.connect.timeout$Integer=10000
where the timeout is in milliseconds
See
http://hc.apache.org/httpclient-3.x/preference-api.html
> Thanks,
> Mike
>
>
>
> Ronan Klyne-2 wrote:
> >
> > MJB_BWS wrote:
> >> Hello,
> >>
> >> I'm having a problem with a load test makes an HTTP request to download a
> >> file. My thread group has 300 threads with a rampup time of 60s. When
> >> running the test, generally between 50 and 65 of the requests never
> >> finish,
> >> and the cleanup section at the end of the test never runs. This only
> >> happens
> >> when there are some requests that have an error - when I run the same
> >> test
> >> with 100 requests instead of 300 then there are no errors and all threads
> >> finish.
> >>
> >> Does anyone know what might be causing these unfinished requests?
> >
> > It is likely that your server or client is under more load than it can
> > handle.
> >
> >> A piece of information that might be useful: The threads that report an
> >> error do so with the following exception:
> >>
> >> java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
> >> at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> >> at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> >> at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
> >> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> >> at sun.net.www.http.HttpClient.New(HttpClient.java:323)
> >> at
> >> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
> >> at
> >> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
> >> at
> >> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
> >> at
> >> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
> >> at
> >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
> >> at
> >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
> >> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
> >> at java.lang.Thread.run(Thread.java:619)
> >>
> >> Thanks,
> >> Mike
> >
> >
> > --
> > Ronan Klyne
> > Business Collaborator Developer
> > Tel: +44 01189 028515
> > ronan.klyne@groupbc.com
> > http://www.groupbc.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/1-5-of-test-threads-don%27t-finish-tp23274302p23274457.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: 1/5 of test threads don't finish
Posted by MJB_BWS <mi...@bluewhalesystems.com>.
That's what causes the timeouts, sure. But why aren't all the test threads
finishing - either with error or success?
Thanks,
Mike
Ronan Klyne-2 wrote:
>
> MJB_BWS wrote:
>> Hello,
>>
>> I'm having a problem with a load test makes an HTTP request to download a
>> file. My thread group has 300 threads with a rampup time of 60s. When
>> running the test, generally between 50 and 65 of the requests never
>> finish,
>> and the cleanup section at the end of the test never runs. This only
>> happens
>> when there are some requests that have an error - when I run the same
>> test
>> with 100 requests instead of 300 then there are no errors and all threads
>> finish.
>>
>> Does anyone know what might be causing these unfinished requests?
>
> It is likely that your server or client is under more load than it can
> handle.
>
>> A piece of information that might be useful: The threads that report an
>> error do so with the following exception:
>>
>> java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
>> at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>> at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>> at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
>> at
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
>> at
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
>> at
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
>> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
>> at java.lang.Thread.run(Thread.java:619)
>>
>> Thanks,
>> Mike
>
>
> --
> Ronan Klyne
> Business Collaborator Developer
> Tel: +44 01189 028515
> ronan.klyne@groupbc.com
> http://www.groupbc.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/1-5-of-test-threads-don%27t-finish-tp23274302p23274457.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
Re: 1/5 of test threads don't finish
Posted by Ronan Klyne <ro...@groupbc.com>.
MJB_BWS wrote:
> Hello,
>
> I'm having a problem with a load test makes an HTTP request to download a
> file. My thread group has 300 threads with a rampup time of 60s. When
> running the test, generally between 50 and 65 of the requests never finish,
> and the cleanup section at the end of the test never runs. This only happens
> when there are some requests that have an error - when I run the same test
> with 100 requests instead of 300 then there are no errors and all threads
> finish.
>
> Does anyone know what might be causing these unfinished requests?
It is likely that your server or client is under more load than it can
handle.
> A piece of information that might be useful: The threads that report an
> error do so with the following exception:
>
> java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Socket.java:469)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> at sun.net.www.http.HttpClient.New(HttpClient.java:323)
> at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
> at java.lang.Thread.run(Thread.java:619)
>
> Thanks,
> Mike
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028515
ronan.klyne@groupbc.com
http://www.groupbc.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org