The Sun-specific properties described in the networking document you sent me worked great. Thank you.
As for the HTTPClient, I will try to find what protocol the server uses. What I do not understand is why HHTPRequest works fine, while HTTPCLinet does not. Michael sebb-2-2 wrote: > > On 18/07/2008, msmolyak <[EMAIL PROTECTED]> wrote: >> >> My JMeter test has been built using default HTTP requests. It works in >> general, except when the requests time out. It appears that for standard >> HTTP Requests there is no way to set a timeout. Consequently JMeter >> just >> sits waiting for the response and eventually the test has to be stopped. >> (My >> first question is whether there is a way to tell JMeter to time out if >> no >> response is received). > > JMeter uses the standard Java Http implementation, so see > http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html for the > properties you can set. These can be added to system.properties or > defined on the command-line using -D. > > It looks like there are some timeouts you can specify, depending on > the JVM you are using. > >> I tried to use HTTPClient requests instead since JMeter allows setting >> the >> timeout for those. When I tried using the same requests as before (same >> parameters, same headers) only using HTTPClient implementation, I >> received a >> browser error. The environment where I test is very restrictive and they >> check for browser version for their applications (e.g., Firefox is not >> permitted). The error says that "Web browser is sending a >> WWW-Authenticate >> header field that the Web server is not configured to accept". The HTTP >> error is 401.2 - Unauthorized: Access is denied due to server >> configuration. >> >> As I said, the headers did not change from those used by regular JMeter >> HTTP >> requests, which worked fine. What makes the IIS web server reject calls >> from >> HTTPClient and how to make HTTP Client requests work? > > Perhaps the server is using NTLMv2? > HttpClient only supports NTLMv1. > > You'll need to use a protocol analyser such as WireShark to see what > the differences are. > > BTW, NTLM support is only available in Sun Java on Windows platforms. > >> Thank you, >> >> Michael >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/HTTPClient-request-fail-where-default-HTTP-Request-succeeds-tp18538479p18538479.html >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/HTTPClient-request-fail-where-default-HTTP-Request-succeeds-tp18538479p18546294.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

