[英]Why jmeter generate other requests and put a number for them
I have a script, one of the requests in the script is: redireccion.html, but when I generate the HTML Dashboard report I see: redireccion.html-0, redireccion.html-1, redireccion.html-2 我有一个脚本,脚本中的一个请求是:redireccion.html,但是当我生成HTML Dashboard报告时,我看到:redireccion.html-0,redireccion.html-1,redireccion.html-2
Why those requests are generated by Jmeter? 为什么这些请求是由Jmeter生成的?
This happens when your first request ie redireccion.html
encounters a HTTP Redirect , ie gets a Redirection Message 当你的第一个请求,即
redireccion.html
遇到HTTP重定向 ,即获得重定向消息时 ,会发生这种情况
JMeter stores all these redirects as sub-results JMeter将所有这些重定向存储为子结果
If you don't want these sub-results
to be present in the HTML Reporting Dashboard - you can run your test providing jmeter.save.saveservice.subresults
property with the value of false
like: 如果您不希望这些
sub-results
出现在HTML Reporting Dashboard中 - 您可以运行测试,提供值为false
jmeter.save.saveservice.subresults
属性,如:
jmeter -Jjmeter.save.saveservice.subresults=false -n -t test.jmx -l result.jtl -e -o dashboard
In order to make the change permanent - just add the next line to user.properties file: 为了使更改永久化 - 只需将下一行添加到user.properties文件:
jmeter.save.saveservice.subresults=false
More information: Apache JMeter Properties Customization Guide 更多信息: Apache JMeter属性自定义指南
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.