JMeter Response time exclude response times form Failed transactions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

JMeter Response time exclude response times form Failed transactions

UserJMeter999
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: JMeter Response time exclude response times form Failed transactions

niraj
I have written code to do exact same thing in JSR223 post processor.


On Fri, 7 Jun 2019 at 1:23 AM, UserJMeter999 <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter Response time exclude response times form Failed transactions

Anmol Sarraf
In reply to this post by UserJMeter999
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 <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter Response time exclude response times form Failed transactions

glinius@live.com
In reply to this post by UserJMeter999
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: [hidden email]
For additional commands, e-mail: [hidden email]