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

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

问题描述

我想知道是否仍然可以创建一组HTTP请求以获取请求的总时间?

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

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

致以最诚挚的问候.

解决方案

使用交易控制器作为您需要组合在一起的那些请求的父项.

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

如果您不希望使用时间组件,则可以使用响应时间与线程数的关系.它将在X上显示用户数,并在Y轴上显示响应时间.

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 ?

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 )

best regards.

解决方案

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

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.

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天全站免登陆