Hello,

 

when I sent an request with the "http Request" to a non responding
server, the "view result tree" shows after 6 minutes the following stack
trace:

 

java.io.IOException: Stream closed

            at java.io.BufferedInputStream.ensureOpen(Unknown Source)

            at java.io.BufferedInputStream.read(Unknown Source)

            at java.io.FilterInputStream.read(Unknown Source)

            at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSam
pler.java:235)

            at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
ava:449)

            at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:514)

            at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:503)

            at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)

            at java.lang.Thread.run(Unknown Source)

 

Is there any way to set a timeout for a http request?

 

In the coresponding "duration assertion"  the timeout is recognized but
the "mailer visualizer doesn't send his errror mail.

Any hints?

 

An other question:

What does the httpclient.timeout parameter in the properties file? Is it
possible to use this parameter for setting an http - timeout? 

 

Any help would be great. Thanks in advance.

 

Andreas

 

 

 

Reply via email to