jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krone, Armin" <>
Subject AW: Time Out Assertion available?
Date Mon, 08 Mar 2004 09:18:53 GMT

thank you for your input.
I found a working solution for my timeout-problem:
Java 1.4 has got a property ''. This can be
set to a appropriate value and raises a ' Stream closed'
instead of waiting infinitely. Just set this property in the jmeter.bat as a
java parameter by 'java ...' for a
1 second timeout for example.

Regards Armin

-----Ursprüngliche Nachricht-----
Von: []
Gesendet: Samstag, 6. März 2004 01:15
An: JMeter Users List
Betreff: Re: Time Out Assertion available?

I don't think so - JMeter currently uses the standard HttpUrlConnection
method, and that does not seem to allow for setting

There are plans to move to a different Http Client (the Apache one) but that
has not been implemented yet.

Or potentially you could use as a
drop-in replacement by setting the appropriate
properties - see the documentation. That implementation supports timeout,
but I'm not sure if you can set the timeout from
properties, or whether it would need code changes in JMeter.

----- Original Message ----- 
From: "Krone, Armin" <>
To: <>
Sent: Thursday, March 04, 2004 10:38 AM
Subject: Time Out Assertion available?

Hi List

is there a possibility to set a time out value for a HTTP Request?
I do a HTTP Request to a Servlet but sometimes the Servlet doesn't respond
I tried unsuccessful Duration Assertion - this works only if there is a
respond (in time/not in time). What I'm looking for is a 'Time Out
Assertion' which waits a adjustable time period and gives a negative
response to the results, if the request expires.

Best regards
Armin Krone

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message