In JMeter 2.3.3 you can set a response timeout in the HTTP Request, or HTTP
Request HTTPClient nodes.

JMeter 2.3.3 release notes:
"HTTP Samplers now support connection and request timeouts (requires Java
1.5 for Java Http sampler)"

If this doesn't suit your needs, you could use a beanshell component:

   1. Get the timestamp of the start of the sample.
   2. In a loop check for null response, compare current time with
   timestamp.
   3. If the difference is greater than your requirement, mark the sample as
   failed.

On Mon, Jun 15, 2009 at 1:13 AM, l_u_c_f_e_r_13 <[email protected]>wrote:

>
> As I said I have ho response (it just hangs) so I can't use 'Response
> Assertion'. Also I couldn't found 'Post Processor -> HTTP request
> defaults',
> I don't have mentioned sample for "Post Processor".
> --
> View this message in context:
> http://www.nabble.com/Hot-to-stop-http-request-execution-in-case-of-no-response-tp24019369p24028905.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]
>
>

Reply via email to