多个 http 请求的 JMeter 图形结果

发布于 2024-08-19 01:25:22 字数 325 浏览 6 评论 0原文

我创建了一个简单的 JMeter Http 测试。

我指定了 50 个用户,每个用户将执行 30 个 http 请求(一个接一个),并且用户的启动时间为 1 秒。

然后我添加了一个图形结果监听器,然后记录了我的应用程序的性能 10 分钟。

问题:Graph Results Listener 测量的是什么 - 每个用户的每个 http 请求?或者每个用户的所有 30 个 http 请求?

我的意思是,如果我的平均时间为 5 秒,这是否意味着每个 http 请求平均得到响应 5 秒? ...或者这是否意味着所有 30 个 http 请求(响应时间之和)平均需要 5 秒?

I created a simple JMeter Http test.

I specified 50 users, each users will do do 30 http requests (one after the other), and the user's ramp up time is 1 second.

Then I added a Graph Result Listener, then recorded the performance of my application for 10minutes.

Question : What is Graph Results Listener measuring - per http request of each user? or all 30 http requests of each user?

I mean, if I have an Average of 5seconds, does that mean that the each http requests gets a response 5 seconds on average? ...or does that mean that all 30 http requests (totaling their response times) gets 5 seconds on average?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枉心 2024-08-26 01:25:22

我的意思是,如果我的平均值为
5秒,这是否意味着每个
http 请求得到响应 5
平均秒数? ...或者那样做
意味着所有 30 个 http 请求
(合计他们的响应时间)得到 5
平均秒数?

这取决于您如何创建测试计划。但是,如果您有一个操作(即 HTTP 请求)并且指定了 50 个用户的 30 次迭代,那么这意味着 5 秒是该操作执行 50 * 30 次的平均时间。

I mean, if I have an Average of
5seconds, does that mean that the each
http requests gets a response 5
seconds on average? ...or does that
mean that all 30 http requests
(totaling their response times) gets 5
seconds on average?

This depend how you created your test plan. But if you have one action (which is the HTTP request) and you specified 30 iterations with 50 users, then it means that 5 sec is the average time for the action performed 50 * 30 times.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文