On 23/04/2009, [email protected] <[email protected]> wrote: > We are using jmeter 2.3.1 for application testing.
Current version is 2.3.2. > > For testing HTTP Request we need to set a timeout, for example 20 sec > > > In the file jmeter.properties we found > > # set the socket timeout (or use the parameter http.socket.timeout) > > #httpclient.timeout=0 > > # 0 == no timeout > > We have set httpclient.timeout=2 or to 10 but we got no timeout > Which HTTP Sampler are you using? The above settings only apply to the HttpClient one. > > > In the JMeter API we found > > setTimeout(String) > <http://jakarta.apache.org/jmeter/api/org/apache/jmeter/protocol/http/sa > mpler/WebServiceSampler.html#setTimeout%28java.lang.String%29> - Method > in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler > <http://jakarta.apache.org/jmeter/api/org/apache/jmeter/protocol/http/sa > mpler/WebServiceSampler.html> > > > > Is it possible to set a timeout for a HTTP, SQL and SOAP request? In the > GUI and in the jmx file we didn't found any entry. > > > > Is there any timeout control under development? Not at present. > Or is there any other > way to implement/set a specific timeout for a request? I don't think so. Feel free to open a Bugzilla enhancement request with details of what you want. > > Thanks for help > > > > Roger Steen > > > > > > Sitz der Gesellschaft / Corporate Headquarters: Lufthansa Systems Business > Solutions GmbH, Raunheim, Registereintragung / Registration: Amtsgericht > Darmstadt 83850 > Geschaeftsfuehrung / Management Board: Bernd Appel > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
