How to understand transaction controller response time?

喜欢而已 提交于 2021-02-08 10:16:31

问题


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?


回答1:


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




回答2:


Transaction Controller gives the overall response time of the http samples + Timer + any pre or post processors.



来源:https://stackoverflow.com/questions/55039592/how-to-understand-transaction-controller-response-time

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