Avg field not visible in .jtl file < Urgent pls >

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

Avg field not visible in .jtl file < Urgent pls >

Prateek Dua
Hi,

We are running Jmeter 4.0 in non gui mode via shell script configured in Jenkins. We have to capture response time of single api running multiple times as an cumulative Avg. in jtl file. But .jtl file is not displaying Avg field. However Jmeter Dashboard report shows it. Screenshots I have attached of jtl file & Jmeter Dashboard report

Reason I'm asking to display Avg field  in jtl file is because we want to compare & calculate difference in response time of an api ( ran multiple times) in Run 1 of .jtl file with same api in Run 2 of jtl file.
 
Please let me know how to display Avg. field in jtl file OR is there any way via which we can compare & calculate Avg response time of 2 Jmeter Dashboard reports. 

--
Prateek Dua | Manager - QA
[hidden email] | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase – III Gurgaon 122 002, India

::DISCLAIMER::

----------------------------------------------------------------------------------------------------------------------------------------------------


This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Avg field not visible in .jtl file < Urgent pls >

Ivan Rancati-3
You could try the following: in Jmeter (gui mode) open your jmx file, go to
Aggregate Report (add one if needed), load the first jtl file, then the
second.

Or use the Performance plugin in Jenkins, that automatically generates
summaries from the jtl files.

On Thu, Jun 21, 2018 at 10:24 AM Prateek Dua <[hidden email]> wrote:

> Hi,
>
> We are running Jmeter 4.0 in non gui mode via shell script configured in
> Jenkins. We have to capture response time of single api running multiple
> times as an cumulative Avg. in jtl file. But .jtl file is not displaying
> Avg field. However Jmeter Dashboard report shows it. Screenshots I have
> attached of jtl file & Jmeter Dashboard report
>
> Reason I'm asking to display Avg field  in jtl file is because we want to
> compare & calculate difference in response time of an api ( ran multiple
> times) in Run 1 of .jtl file with same api in Run 2 of jtl file.
>
> Please let me know how to display Avg. field in jtl file OR is there any
> way via which we can compare & calculate Avg response time of 2 Jmeter
> Dashboard reports.
>
> --
> Prateek Dua | Manager - QA
> [hidden email] | 9810778750
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Avg field not visible in .jtl file < Urgent pls >

glinius@live.com
In reply to this post by Prateek Dua
You will not find average value as it is being *calculated*, it is basically
an  arithmetic mean <https://en.wikipedia.org/wiki/Arithmetic_mean>   of the
response times (sum of all responses times divided by their count)

You can get it from the .jtl results file either by applying above formula
or using  JMeterPluginsCMD Command Line Tool
<https://jmeter-plugins.org/wiki/JMeterPluginsCMD/>   which is capable of
generating CSV version of the  Aggregate Report
<http://jmeter.apache.org/usermanual/component_reference.html#Aggregate_Report>  
from the .jtl results file.

There is also  Merge Results <https://jmeter-plugins.org/wiki/MergeResults/>  
tool which can be used for 2 test runs comparison which can be invoked from
the JMeterPluginsCMD Command Line Tool as well.

Both the tools 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]

Reply | Threaded
Open this post in threaded view
|

Re: Avg field not visible in .jtl file < Urgent pls >

Prateek Dua
Thanks Guys,

I did the same last week using below cmd line plugin Aggregate report to
get CSV of it.

$settings_path/bin/JMeterPluginsCMD.sh --generate-csv
/var/lib/jenkins/workspace/ugc/${run}.csv --input-jtl
/var/lib/jenkins/workspace/ugc/${run}.jtl --plugin-type AggregateReport


On Mon, Jun 25, 2018 at 11:17 AM, [hidden email] <[hidden email]> wrote:

> You will not find average value as it is being *calculated*, it is
> basically
> an  arithmetic mean <https://en.wikipedia.org/wiki/Arithmetic_mean>   of
> the
> response times (sum of all responses times divided by their count)
>
> You can get it from the .jtl results file either by applying above formula
> or using  JMeterPluginsCMD Command Line Tool
> <https://jmeter-plugins.org/wiki/JMeterPluginsCMD/>   which is capable of
> generating CSV version of the  Aggregate Report
> <http://jmeter.apache.org/usermanual/component_reference.html#Aggregate_
> Report>
> from the .jtl results file.
>
> There is also  Merge Results <https://jmeter-plugins.org/
> wiki/MergeResults/>
> tool which can be used for 2 test runs comparison which can be invoked from
> the JMeterPluginsCMD Command Line Tool as well.
>
> Both the tools 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]
>
>


--
Prateek Dua | Manager - QA
[hidden email] | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

--


::DISCLAIMER::


----------------------------------------------------------------------------------------------------------------------------------------------------





This message is intended only for the use of the addressee and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not the
intended recipient, or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify us
immediately by return e-mail and delete this e-mail and all attachments
from your system.