如何理解事务控制器响应时间? [英] How to understand transaction controller response time?

查看:28
本文介绍了如何理解事务控制器响应时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含两个 HTTP 请求的事务控制器.执行测试后,两次HTTP请求的90%响应时间为4&分别为 5 秒.但是事务控制器的 90% 响应时间是 21 秒.我不明白 JMeter 如何为父事务控制器提供 21 秒的响应时间(我假设它应该总结子 HTTP 请求响应时间并显示 4+5=9 秒)?你能帮我解决这个问题吗?

解决方案

Transaction Controller 应该总结所有嵌套的响应时间

但是,考虑到采样器具有

更多信息:使用JMeter的事务控制器

I have a transaction controller that contains two HTTP requests. After executing the test, the 90% response time for two HTTP requests is 4 & 5 seconds respectively. But the 90% response time for the transaction controller is 21 seconds. I don't understand how is JMeter giving 21 seconds response time for the parent transaction controller (I assume it should summarize the child HTTP request response times and display 4+5= 9 seconds)? Could you please help me with this?

解决方案

Transaction Controller should sum up the response time of all nested Samplers and normally the numbers should be consistent:

However given the situation when your Samplers have PreProcessors, Post-Processors or Timers and you tick Include duration of timer and pre-post processors in generated sample box - the time taken by the aforementioned test elements will also be included into Transaction Controller's Response Time

More information: Using JMeter's Transaction Controller

这篇关于如何理解事务控制器响应时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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