<propertyname="testpath"value="${user.dir}"/> <propertyname="jmeter.home"value="${basedir}/.."/> <propertyname="report.title"value="Load Test Results"/>
<!-- Name of test (without .jmx) --> <propertyname="test"value="Test"/>
参数说明
testpath 测试计划,这里用于存放测试脚本、测试生成的文件、测试报告
jmeter.home Jmeter目录路径
report.title 测试报告的标题
test jmeter测试脚本的名称(无需后缀.jmx)
这里根据自己的环境修改为
1 2 3 4 5 6
<propertyname="testpath"value="C:\apache-jmeter-4.0\loadTest"/> <propertyname="jmeter.home"value="C:\apache-jmeter-4.0"/> <propertyname="report.title"value="Httpbin API Test Report"/>
<!-- Name of test (without .jmx) --> <propertyname="test"value="httpbin_test"/>
jmeter.save.saveservice.data_type=true jmeter.save.saveservice.label=true jmeter.save.saveservice.response_code=true # response_data is not currently supported for CSV output jmeter.save.saveservice.response_data=true # Save ResponseData for failed samples jmeter.save.saveservice.response_data.on_error=true jmeter.save.saveservice.response_message=true jmeter.save.saveservice.successful=true jmeter.save.saveservice.thread_name=true jmeter.save.saveservice.time=true jmeter.save.saveservice.subresults=true jmeter.save.saveservice.assertions=true jmeter.save.saveservice.latency=true # Only available with HttpClient4 jmeter.save.saveservice.connect_time=true jmeter.save.saveservice.samplerData=true jmeter.save.saveservice.responseHeaders=true jmeter.save.saveservice.requestHeaders=true jmeter.save.saveservice.encoding=true jmeter.save.saveservice.bytes=true # Only available with HttpClient4 jmeter.save.saveservice.sent_bytes=true jmeter.save.saveservice.url=true jmeter.save.saveservice.filename=true jmeter.save.saveservice.hostname=true jmeter.save.saveservice.thread_counts=true jmeter.save.saveservice.sample_count=true jmeter.save.saveservice.idle_time=true