我正在jmeter上运行测试脚本,我想保存从表格中查看结果中获得的结果'监听器。我只是不明白我将如何这样做,就像我在Summary Report和Aggregate Report监听器中保存结果一样;也就是说,没有“保存表格数据”。与其他侦听器不同,在表中查看结果的底部。我怎样才能做到这一点?
答案 0 :(得分:1)
Summary Report and Aggregate Report have "Save Table Data" button because the majority of values in them are calculated.
View Results in Table listener just displays raw data therefore it does not require to calculate anything hence there is no "Save Table Data" button.
I am under impression that you are using JMeter a little bit wrong. Normally you should not be saving listeners output separately, moreover you don't even need the listeners during the test run.
Run your test in command-line non-GUI mode like:
jmeter -n -t test.jmx -l results.jtl
After your test is done open JMeter GUI add a listener of your choice to Test Plan and open results.jtl
file with that listener
Make sure that all the listeners are either disabled or deleted during the test execution as they cause huge memory overhead which may cause lesser throughput or even ruin your test. See Greedy Listeners - Memory Leeches of Performance Testing arcticle for more detailed explanation.
答案 1 :(得分:0)