jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: How to stop iteration and log the error in a file
Date Thu, 14 Oct 2010 22:48:10 GMT
On 14 October 2010 12:58, Saurabh Gupta <stonecold.saurabh@gmail.com> wrote:
> Sebb,
>
> If we choose option "Continue" in Thread Group and save the error in output
> file, it does but here we need to stop the iteration when an error comes and
> log the error in file.

So choose stop thread instead; the error will be recorded in the
sample data file - same as if you had chosen continue.

> Can you please suggest which Listener will be best at the time of load along
> with the configuration options.

Simple Data Writer. Default config will do.

> Best Regards,
> Saurabh
>
> On Thu, Oct 14, 2010 at 4:06 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 14 October 2010 06:11, Saurabh Gupta <stonecold.saurabh@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I have seen that if we choose option "Continue" in Thread Group, it
>> continue
>> > performing action if we get an error.
>> >
>> > Also if we choose "Stop Thread", it will stop the VU and also doesn't log
>> > the error message in file.
>> >
>> > So is there any way to stop the iteration as soon as error occurs and
>> error
>> > is to be logged in file in JMeter??
>>
>> The error will be noted in the sampler data output file.
>>
>> > Please suggest.
>> >
>> > --
>> > Regards,
>> > Saurabh
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>
> --
> Regards,
> Saurabh
>

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


Mime
View raw message