You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by samuel gru <sa...@softeam.fr> on 2002/07/10 09:17:29 UTC
java.net.SocketException
Bonjour everybody
I use Jmeter for my tests (send https requests to a web server)
I use a linux PC with 512Mo of memory.
My test plan is simple :
Thread group with 400 threads with a Ram-up of 300 seconds and just 1 loop.
Request defaults
Cookie manager
Page request (https)
File reporter
after launching all the thread, i have some request response Ok
but for some threads (about 200), I have this exception :
java.net.SocketException: Unexpected end of file from server
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getResponseCode(DashoA6275)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.getErrorLevel(HTTPSampler.java:349)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:457)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:165)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
at java.lang.Thread.run(Unknown Source)
the max use of the CPU is 30%.
Can you help me, please ?
Samuel GRU
Softeam
Re: java.net.SocketException
Posted by Mike Stover <ms...@apache.org>.
It sounds like your server might be rejecting some of the threads? To test this, try adding
a Timer to your test and create a delay between samples. If this decreases the number of
errors you see, it's a good indication that your server is being overwhelmed.
-Mike
On 10 Jul 2002 at 9:17, samuel gru wrote:
> Bonjour everybody
>
> I use Jmeter for my tests (send https requests to a web server)
> I use a linux PC with 512Mo of memory.
> My test plan is simple :
> Thread group with 400 threads with a Ram-up of 300 seconds and just 1 loop.
> Request defaults
> Cookie manager
> Page request (https)
> File reporter
>
>
> after launching all the thread, i have some request response Ok
> but for some threads (about 200), I have this exception :
> java.net.SocketException: Unexpected end of file from server
> at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
> at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
> at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
> at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
> at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(DashoA6275)
> at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getResponseCode(DashoA6275)
> at org.apache.jmeter.protocol.http.sampler.HTTPSampler.getErrorLevel(HTTPSampler.java:349)
> at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:457)
> at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:165)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
> at java.lang.Thread.run(Unknown Source)
>
> the max use of the CPU is 30%.
> Can you help me, please ?
>
>
> Samuel GRU
> Softeam
>
--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>