定义一组请求以获取Jmeter中的总时间 [英] Define a group of requests in order to obtain a total time in Jmeter

查看:40
本文介绍了定义一组请求以获取Jmeter中的总时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有办法创建一组HTTP请求以获得请求的总时间?

I would like to know if there is anyway to create a group of HTTP requests in order to obtain the total time of a request ?

让我更好地解释当我开始登录过程时加载了几个资源,因为我不知道如何对这个登录过程进行分组,我必须对所有这些资源进行汇总以获得完成登录的等待时间登录.在一个用户中很容易,但由于我同时测试 1000 个用户,这变得不可能.

Let me to explain better when i start a login process several resources are loaded since i don't know how to group this login process i have to make a sum of all this resources in order to obtain the waiting time to finish the login. In one user is easy but since i'm testing 1000 user simultaneous it became impossible.

(我想使用用户数量与等待时间来创建图形)

( i want to create a graphic using the number of user vs time of waiting )

最好的问候.

推荐答案

使用 事务控制器 作为您需要组合在一起的那些请求的父级.

Use Transaction Controller as parent of those requests that you need to group together.

要生成图表,我建议您使用 JMeter 插件 及其终极线程组来更好地控制用户数量并显示结果使用复合图,您将在其中显示用户数量和响应时间.

To produce graph I suggest you use JMeter Plugins and their Ultimate Thread Group to better control number of users and to show results use Composite Graph in which you'll show number of users and response time.

如果您不想要时间组件,您可以使用 响应时间 vs 线程.它会在 X 轴上显示用户数量,在 Y 轴上显示响应时间.

If you don't want time component you can use Response times vs Threads. It'll show you number of users on X and response time on Y axis.

这篇关于定义一组请求以获取Jmeter中的总时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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