You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ðavîd Låndïs <dl...@gmail.com> on 2007/07/04 22:29:09 UTC

How to Logout with Once Only Controller?

The JMeter user guide describes how to login to the application using the
Once Only Controller. Everything under that controller is executed only the
first time through the loop for that Thread Group.

Is there a Controller (or other way) to execute a group of requests only the
*last* time through the loop?? This would be helpful for logging out/ending
the sessions created during testing.

Thanks,
Dave

RE: Timeouts!

Posted by Ashwini <as...@relq.com>.
Thx a lot!!
Ash

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, July 05, 2007 5:23 PM
To: JMeter Users List
Subject: Re: Timeouts!

On 05/07/07, Ashwini <as...@relq.com> wrote:
>
>
>
> Hi everyone,
>
>
>
> I would like to now how the timeouts are tracked in JMeter 2.2, as they
are
> not captured in the log file.

They are not captured separately. They are treated as failed requests.

> Say, I send 1000 requests for which, I get 900 right responses, 60 errors
> and the rest I donno where it vanishes...
>
> Do I need to consider the leftover 40 as time outs?

Not really; an actual timeout would create a sample.

JMeter does not apply its own timeouts to samples; it uses whatever
the protocol is set up to use. JMeter will wait until the response
arrives, or some kind of error (e.g. timeout) occurs.

In most cases JMeter is able to create a sample; however there may be
some unusual errors which are not trapped by the sampler. These will
be logged in the jmeter.log file.

>
>
> Your help would definitely be very valuable!!

Check the log file - are there any errors? Did the threads all finish
normally?

If this does not reveal the problem, please create a Bugzilla issue.

Once the issue has been created, re-open it and attach the following files:
* jmeter.log
* jmeter.properties (if you have changed it)
* test plan (JMX)
* output (JTL) file(s)

Remember to obscure any sensititve data before uploading the files.

>
>
> Thx in advance,
>
> Ash
>
>
> ---------------------------------------------------------------------
> 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



DISCLAIMER:
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


DISCLAIMER:
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

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


Re: Timeouts!

Posted by sebb <se...@gmail.com>.
On 05/07/07, Ashwini <as...@relq.com> wrote:
>
>
>
> Hi everyone,
>
>
>
> I would like to now how the timeouts are tracked in JMeter 2.2, as they are
> not captured in the log file.

They are not captured separately. They are treated as failed requests.

> Say, I send 1000 requests for which, I get 900 right responses, 60 errors
> and the rest I donno where it vanishes...
>
> Do I need to consider the leftover 40 as time outs?

Not really; an actual timeout would create a sample.

JMeter does not apply its own timeouts to samples; it uses whatever
the protocol is set up to use. JMeter will wait until the response
arrives, or some kind of error (e.g. timeout) occurs.

In most cases JMeter is able to create a sample; however there may be
some unusual errors which are not trapped by the sampler. These will
be logged in the jmeter.log file.

>
>
> Your help would definitely be very valuable!!

Check the log file - are there any errors? Did the threads all finish normally?

If this does not reveal the problem, please create a Bugzilla issue.

Once the issue has been created, re-open it and attach the following files:
* jmeter.log
* jmeter.properties (if you have changed it)
* test plan (JMX)
* output (JTL) file(s)

Remember to obscure any sensititve data before uploading the files.

>
>
> Thx in advance,
>
> Ash
>
>
> ---------------------------------------------------------------------
> 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


Timeouts!

Posted by Ashwini <as...@relq.com>.
Hi everyone,

 

I would like to now how the timeouts are tracked in JMeter 2.2, as they are
not captured in the log file.

Say, I send 1000 requests for which, I get 900 right responses, 60 errors
and the rest I donno where it vanishes... 

Do I need to consider the leftover 40 as time outs?  

 

Your help would definitely be very valuable!!

 

Thx in advance,

Ash