0
votes

I am running the jmeter via command-line in non-GUI mode.

In the GUI mode, on the summary listener report - there is column for Throughput, etc.

How can I add Throughput (and more) to the output of the jlt file when running jmeter via command-line in non-GUI mode?

Also, does the output of the jlt file depend on the presence of listeners in the jmx file?

2

2 Answers

0
votes

Jtl file holds the raw data without summary outputs as Throughput

When viewing jtl with specific listeners it can sum and make average/total of results based on time/count

0
votes

Throughput is being calculated, the formula is

Throughput = (number of requests) / (total time).

See JMeter Glossary for more details

You can use a spreadsheet tool like MS Excel or LibreOffice Calc to calculate the delta between elapsed times of the first and last samplers and divide it by samples count, however more convenient would be going for JMeterPluginsCMD Command Line Tool which can generate tables and charts with your load test metrics.

An example command line to generate a CSV-based equivalent of the Aggregate Report listener would be

JMeterPluginsCMD.bat --generate-csv AggregateReport.csv --input-jtl /path/to/your/results.jtl --plugin-type AggregateReport