You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mohamed Niyas <ni...@gmail.com> on 2009/05/27 09:00:24 UTC

Qry: Need some info abt "Timeouts" in the Config element HTTPRequest in 2.3.3

Team,

I have got downloaded the latest Jmeter 2.3.3 version. I have seen a new
feature in the HTTPRequestHTTPClient.
I am seeing the new tab section as below.

Timeouts(milliseconds)
Connect: [ ] Response: [ ]

As of now i am facing some issues with my perfromance script. If i check the
option of retrieve embedded resources,
I am not getting any results. The Jmeter results Log saying the following.
The test is run without giving any inputs to
the Timeouts section.

JMETER LOG
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/27 12:06:12 INFO - org.apache.commons.httpclient.HttpMethodDirector:
I/O exception (java.net.ConnectException) caught when processing request:
Connection timed out: connect
2009/05/27 12:06:12 INFO - org.apache.commons.httpclient.HttpMethodDirector:
Retrying request
2009/05/27 12:06:57 INFO - org.apache.commons.httpclient.HttpMethodDirector:
I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught
when processing request: The server tsrvuweb-st02.comhem.com failed to
respond
2009/05/27 12:06:57 INFO - org.apache.commons.httpclient.HttpMethodDirector:
Retrying request
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If i give the input to Connect to 10000 ms also i am not getting any
results.
If i give input to the Response even 25000 ms, the results are coming
immeditely with the sampler result as failed.

Sampler Result:

Response code: Non HTTP response code: java.net.SocketTimeoutException
Response message: Non HTTP response message: Read timed out

*1. Can any one explain what is this Timeouts Reponse & Connect exacly do?*
*2. Can any one please let me know the error that i got without using this
Timeouts, belongs to application or Jmeter tool?*


Awaiting for your reply.

Regards
Mohamed Niyas M
+91 96633 29080

Re: Qry: Need some info abt "Timeouts" in the Config element HTTPRequest in 2.3.3

Posted by sebb <se...@gmail.com>.
On 27/05/2009, Mohamed Niyas <ni...@gmail.com> wrote:
> Team,
>
>  I have got downloaded the latest Jmeter 2.3.3 version. I have seen a new
>  feature in the HTTPRequestHTTPClient.
>  I am seeing the new tab section as below.
>
>  Timeouts(milliseconds)
>  Connect: [ ] Response: [ ]
>
>  As of now i am facing some issues with my perfromance script. If i check the
>  option of retrieve embedded resources,
>  I am not getting any results. The Jmeter results Log saying the following.
>  The test is run without giving any inputs to
>  the Timeouts section.
>
>  JMETER LOG
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  2009/05/27 12:06:12 INFO - org.apache.commons.httpclient.HttpMethodDirector:
>  I/O exception (java.net.ConnectException) caught when processing request:
>  Connection timed out: connect
>  2009/05/27 12:06:12 INFO - org.apache.commons.httpclient.HttpMethodDirector:
>  Retrying request
>  2009/05/27 12:06:57 INFO - org.apache.commons.httpclient.HttpMethodDirector:
>  I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught
>  when processing request: The server tsrvuweb-st02.comhem.com failed to
>  respond
>  2009/05/27 12:06:57 INFO - org.apache.commons.httpclient.HttpMethodDirector:
>  Retrying request
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>  If i give the input to Connect to 10000 ms also i am not getting any
>  results.
>  If i give input to the Response even 25000 ms, the results are coming
>  immeditely with the sampler result as failed.
>
>  Sampler Result:
>
>  Response code: Non HTTP response code: java.net.SocketTimeoutException
>  Response message: Non HTTP response message: Read timed out
>
>  *1. Can any one explain what is this Timeouts Reponse & Connect exacly do?*

They are used to set the connect and response timeouts for the HTTP transport.

This is perhaps stating the obvious, but the connect timeout sets the
maximum time to wait for a connection, and response timeout sets the
maximum timeout for a response.

>  *2. Can any one please let me know the error that i got without using this
>  Timeouts, belongs to application or Jmeter tool?*

The server is not responding.

>
>  Awaiting for your reply.
>
>  Regards
>
> Mohamed Niyas M
>  +91 96633 29080
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org