Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter - How to load result file?

I have done a test JMeter and am able to get results.csv or result.jtl.

How do I load it into JMeter from the GUI and command line?

like image 290
theAnonymous Avatar asked Jul 10 '17 05:07

theAnonymous


2 Answers

What do you mean by "load"? You have the results, now you need to analyze them. It can be done in different ways depending on how you plan to represent results and what metrics do you need to report, for example:

  1. Using Microsoft Excel or equivalent like Libre Office Calc
  2. Using JMeter GUI:

    • Open JMeter GUI
    • Add Listener of your choice to the Test Plan (for example Aggregate Report is quite good)
    • Using "Browse" button locate your results file and load it
    • JMeter will parse the results file, perform necessary calculations and display the metrics. If you need you can click "Save Table Data" to export the results for later re-use

      JMeter Listener display results

  3. You can plot some charts reflecting the test metrics using Graphs Generator Listener
  4. You can generate HTML Reporting Dashboard like:

    jmeter -g your_result_file.jtl -o /where/you/want/the/dashboard/to/be/generated
    
  5. You can use a 3rd-party analysis service like JAnalyzer or BM.Sense

like image 169
Dmitri T Avatar answered Oct 23 '22 07:10

Dmitri T


You need to add listener to create jtl and result files.

Write in listener filename: results.csv

like image 28
user7294900 Avatar answered Oct 23 '22 08:10

user7294900