并发500用户数时,命令行跑脚本后生成的jtl文件会有几个G
1、修改user.properties配置文件
添加如下参数
jmeter.save.saveservice.output_format=csv
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.responseCode=false
jmeter.save.saveservice.response_data=false
jmeter.save.saveservice.response_data.on_error=false
jmeter.save.saveservice.responseMessage=false
jmeter.save.saveservice.filename=false
jmeter.save.saveservice.hostname=false
jmeter.save.saveservice.sample_count=false
jmeter.save.saveservice.samplerData=false
jmeter.save.saveservice.subresults=false
jmeter.save.saveservice.url=false
jmeter.save.saveservice.responseHeaders=false
jmeter.save.saveservice.requestHeaders=false
jmeter.save.saveservice.encoding=false
jmeter.save.saveservice.assertions=false
jmeter.save.saveservice.assertions=false
jmeter.save.saveservice.assertion_results_failure_message=false
2、修改jmeter的聚合报告中的jmx文件配置,把一些表格中不显示去掉勾
修改jmx配置后最好重启jmeter生效
编辑于 01-04