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

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 http://www.innovation.ch/java/HTTPClient/ 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.

S.
----- Original Message ----- 
From: "Krone, Armin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
anything.
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to