Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 79042 invoked from network); 8 Mar 2004 12:17:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Mar 2004 12:17:53 -0000 Received: (qmail 82430 invoked by uid 500); 8 Mar 2004 12:17:52 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 82083 invoked by uid 500); 8 Mar 2004 12:17:50 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 82067 invoked from network); 8 Mar 2004 12:17:49 -0000 Received: from unknown (HELO mail.slb.com) (134.32.26.55) by daedalus.apache.org with SMTP; 8 Mar 2004 12:17:49 -0000 Received: from conversion-daemon.eurmta01.london.eur.slb.com by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) id <0HU900K01B6E2T@eurmta01.london.eur.slb.com> for jmeter-user@jakarta.apache.org; Mon, 08 Mar 2004 12:13:44 +0000 (GMT) Received: from mailrelay2.sema.co.uk (mailrelay2.London.eur.slb.com [157.203.41.14]) by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HU900BR598K86@eurmta01.london.eur.slb.com> for jmeter-user@jakarta.apache.org; Mon, 08 Mar 2004 11:29:08 +0000 (GMT) Received: from lonns01.sema.co.uk (lonns01.sema.co.uk [157.203.40.61]) by mailrelay2.sema.co.uk (8.11.6+Sun/8.11.6) with ESMTP id i28BQjS00044 for ; Mon, 08 Mar 2004 11:26:45 +0000 (GMT) Received: from lones1.sema.co.uk (unverified) by lonns01.sema.co.uk (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 08 Mar 2004 11:15:26 +0000 Received: by lones1.sema.co.uk with Internet Mail Service (5.5.2657.72) id ; Mon, 08 Mar 2004 11:28:56 +0000 Content-return: allowed Date: Mon, 08 Mar 2004 11:28:53 +0000 From: "BAZLEY, Sebastian" Subject: RE: Time Out Assertion available? To: 'JMeter Users List' Message-id: MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Excellent! Thanks for the information - I'll put a comment in jmeter.properties and/or the jmeter script files. If one wants to apply different timeouts to different requests, it be= comes a bit awkward - and the property doesn't seem to be supported in Java 1= .3 - so I suspect we'll still want to consider using an HTTP package that off= ers more control. However, knowing the property name, Google gave me: http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html which has details on a lot of other properties. These could be useful whilst JMeter still uses the default implementa= tion. S. -----Original Message----- =46rom: Krone, Armin [mailto:Armin.Krone@telecash.de] Sent: 08 March 2004 09:19 To: JMeter Users List Subject: AW: Time Out Assertion available? 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 c= losed' instead of waiting infinitely. Just set this property in the jmeter.b= at as a java parameter by 'java -Dsun.net.client.defaultReadTimeout=3D1000 ..= .' for a 1 second timeout for example. Regards Armin -----Urspr=FCngliche Nachricht----- Von: sebb@apache.org [mailto:sebb@apache.org] Gesendet: Samstag, 6. M=E4rz 2004 01:15 An: JMeter Users List Betreff: Re: Time Out Assertion available? I don't think so - JMeter currently uses the standard HttpUrlConnecti= on method, and that does not seem to allow for setting timeouts. There are plans to move to a different Http Client (the Apache one) b= ut 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 time= out, 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 -----=20 =46rom: "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 re= spond 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: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org _____________________________________________________________________= ______ This e-mail and the documents attached are confidential and intended = solely for the addressee; it may also be privileged. If you receive this e-m= ail in error, please notify the sender immediately and destroy it. As its in= tegrity cannot be secured on the Internet, the Atos Origin group liability ca= nnot be triggered for the message content. Although the sender endeavours to = maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages res= ulting =66rom any virus transmitted.=20 _____________________________________________________________________= ______ --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org