简体   繁体   English

为什么jmeter生成其他请求并为它们添加一个数字

[英]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生成的?

HTML Dashboard Report Graph HTML仪表板报告图表

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.

相关问题 如何在JMeter中正确配置请求数? - How to correctly configure number of requests in JMeter? Jmeter:控制一次发生的请求数 - Jmeter: control the number of requests happening at one time 处理大量的PUT请求到其他api - Handle large number of PUT requests to a rest api 如何生成大量的SIP请求 - How to generate big number of SIP requests 如何在 Jmeter 中生成带有前缀的随机数并将其存储到变量中 - How to generate Random number in Jmeter with prefix and store it into variable 如何找出服务器每秒可以处理的最大并发请求数 Jmeter - How to find out max number of concurrent requests per second that server could handle in Jmeter 在Jmeter中记录HTTP请求时出现问题 - Problems recording http requests in Jmeter 如果请求是异步的,为什么减少页面需要加载的http请求数量可以提高性能? - If requests are asynchronous, why does reducing the number of http requests a page needs to load improve performance? 在哪里可以获取大量规则和事实,或者如何为Drools基准生成规则和事实? - Where can I get large number of rules and facts or how can I generate them for Drools benchmark? 吞吐量值是否与JMeter中请求的响应时间有关? - Is the throughput value related to the response time of requests in JMeter?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM