Jmeter - Getting previous results in mail

前端 未结 1 822
粉色の甜心
粉色の甜心 2021-01-29 03:14

I\'m using Jmeter - it runs automatically every 4 hours (through crontab). I\'m sending the results file (csv) in the mail at the end of the test. I always see the file of the <

相关标签:
1条回答
  • 2021-01-29 04:11

    This might be due to Autoflush policy which flushes content of buffer only when buffer is reached. As you use a tear down thread group results are nit guaranteed to be fully written as test is not really finished. The fact that you think you are sending previous test file might be due to jmeter appending data to the same results file.

    So :

    1/ ensure you move or delete the file once sent

    2/ Edit user.properties and add:

    jmeter.save.saveservice.autoflush=true This will make jmeter write to file any sample result immediately afte it is executed.

    0 讨论(0)
提交回复
热议问题