JMETER - JMeter Response time exclude response times from Failed transactions

China☆狼群 提交于 2021-01-28 07:05:15

问题


JMeter Response time exclude response times from Failed transactions if successful transaction takes on average 20 secs but failed ones will fail in 2 secs.

Since JMeter is including failed response times along with passed ones, then average response times is low as compared to actual successful samples response time.

Is there any config where I can exclude response times of failure samples so that I get average response time for successful samples only?


回答1:


If you are using 'Summary Report' listener and wanted to exclude response time of failed transactions, then please check the 'Success' checkbox. Go through the below screenshot for more details.




回答2:


You can filter Success using property jmeter.reportgenerator.exporter.html.series_filter

Ensure you set property jmeter.reportgenerator.exporter.html.series_filter to keep only the transactions you want in the report if you don't want everything.

Or from GUI:Help > Export transactions for report

Use regex as (.*)(-success)(.*)



来源:https://stackoverflow.com/questions/56496792/jmeter-jmeter-response-time-exclude-response-times-from-failed-transactions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!