You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by UserJMeter999 <us...@gmail.com> on 2019/06/06 19:53:20 UTC

JMeter Response time exclude response times form Failed transactions

JMeter Response time exclude response times form Failed transactions

If successful transaction takes on avg 20 secs but failed one will fail in 2
secs. Since Jmeter is including failed response times along with passed one
for avg response calculation. Avg response time is showing lesser compared
to actual.

Is there any way to configure Jmeter to just include success samplers
response time into overall avg response time calculation.?



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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


Re: JMeter Response time exclude response times form Failed transactions

Posted by Anmol Sarraf <sa...@gmail.com>.
Hi ,

The easiest way is just select aggregate report listener and there check
the checkbox of success . It will give you the response time for passed
transactions .

On Fri, 7 Jun 2019 at 1:23 AM, UserJMeter999 <us...@gmail.com> wrote:

> JMeter Response time exclude response times form Failed transactions
>
> If successful transaction takes on avg 20 secs but failed one will fail in
> 2
> secs. Since Jmeter is including failed response times along with passed one
> for avg response calculation. Avg response time is showing lesser compared
> to actual.
>
> Is there any way to configure Jmeter to just include success samplers
> response time into overall avg response time calculation.?
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: JMeter Response time exclude response times form Failed transactions

Posted by "glinius@live.com" <gl...@live.com>.
The easiest option is using  Filter Results Tool
<https://jmeter-plugins.org/wiki/FilterResultsTool/>   plugin in order to
post-process the .jtl result file and exclude any failed samplers from it. 

The relevant syntax would be something like:


> FilterResults.bat --output-file only-successes.jtl --input-file
> your-results-file.jtl --success-filter true

Replace *only-successes.jtl* and *your-results-file.jtl* with actual file
names of your choice. 

You will need  Merge Results plugin
<https://jmeter-plugins.org/wiki/MergeResults/>   as well to get this done,
both the plugins can be installed using  JMeter Plugins Manager
<https://www.blazemeter.com/blog/how-install-jmeter-plugins-manager>  





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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


Re: JMeter Response time exclude response times form Failed transactions

Posted by Niraj <ni...@gmail.com>.
I have written code to do exact same thing in JSR223 post processor.


On Fri, 7 Jun 2019 at 1:23 AM, UserJMeter999 <us...@gmail.com> wrote:

> JMeter Response time exclude response times form Failed transactions
>
> If successful transaction takes on avg 20 secs but failed one will fail in
> 2
> secs. Since Jmeter is including failed response times along with passed one
> for avg response calculation. Avg response time is showing lesser compared
> to actual.
>
> Is there any way to configure Jmeter to just include success samplers
> response time into overall avg response time calculation.?
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>