自动“保存表数据";摘自Jmeter的摘要报告/汇总报告 [英] Automaticng "Save Table Data" from Summary Report/Aggregate Report of Jmeter
问题描述
我想知道如何自动从JMeter的摘要报告中保存表数据",以便可以得出吞吐量率的结论.
I would like to know how to "Save Table Data" from Summary Report of JMeter automatically so that I can conclude on the Throughput rate.
当前,我可以单击报表底部的保存表数据"按钮并将其存储,但是如何使其自动化.
Currently I can click over "Save Table Data" button at the bottom of the report and store it but how can I automate it.
此外,在浏览器中添加文件名可以保存数据,但标题的摘要/汇总报告屏幕上显示的标题却有所不同.
Also, adding File name in browser saves the data but the header's are different as shown onscreen of Summary/Aggregate report.
P.S:我要自动下载/保存摘要报告"/汇总报告"屏幕上显示的标题
P.S: I want to download/save the headers that are displayed on screen of Summary Report / Aggregate Report automatically
推荐答案
看看仪表板包含具有此信息的统计表.
Have a look at the jmeter Non-GUI-Mode options -e
and -o
. The generated HTML Dashboard contains a statistics table with this information.
但是,表数据的进一步处理似乎很棘手,因为在生成的<report_name>/content/js/dashboard.js
文件中将其硬编码为JSON.
However, further processing of the table data seems tricky, because it is hard-coded as JSON in the generated <report_name>/content/js/dashboard.js
file.
这篇关于自动“保存表数据";摘自Jmeter的摘要报告/汇总报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!