Sebb, thank you for your input. I found a working solution for my timeout-problem: Java 1.4 has got a property 'sun.net.client.defaultReadTimeout'. This can be set to a appropriate value and raises a 'java.io.IOExcetion: Stream closed' instead of waiting infinitely. Just set this property in the jmeter.bat as a java parameter by 'java -Dsun.net.client.defaultReadTimeout=1000 ...' for a 1 second timeout for example.
Regards Armin -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

