JMETER-JMeter响应时间不包括失败事务中的响应时间 [英] JMETER - JMeter Response time exclude response times from Failed transactions

查看:273
本文介绍了JMETER-JMeter响应时间不包括失败事务中的响应时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果成功交易平均需要20秒,JMeter响应时间将从失败事务中排除响应时间,但是失败事务将在2秒内失败.

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.

由于JMeter包括失败响应时间和已通过响应时间,因此与实际成功样本响应时间相比,平均响应时间低.

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?

推荐答案

您可以使用属性 jmeter.reportgenerator.exporter.html.series_filter

确保您设置属性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.

或通过GUI:Help > Export transactions for report

使用正则表达式作为(.*)(-success)(.*)

这篇关于JMETER-JMeter响应时间不包括失败事务中的响应时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆