如果你想从头学习Jmeter,可以看看这个系列的文章哦

前言

在 Jmeter 中一些专业名词我们是需要提前认知的,如下

Elapsed time

Latency

Connect Time

=======>>>> 点击右侧即可跳转对应详解哦

Elapsed time

从发送请求到收到最后一个响应,所花费的时间

不包括渲染请求所花费的时间,同时也不包括处理客户端脚本所花费的时间

JMeter measures the elapsed time from just before sending the request to just after the last response has been received. JMeter does not include the time needed to render the response, nor does JMeter process any client code, for example Javascript.

Latency

从发送请求到收到第一个响应,所花费的时间

该时间包括组装请求、组装响应的第一部分所需的处理时间,通常长于一个字节

Jmeter 的时间应该更接近浏览器或其他应用程序客户端所经历的时间

网上还有种说法,就是响应信息越大,差别越大

JMeter measures the latency from just before sending the request to just after the first response has been received. Thus the time includes all the processing needed to assemble the request as well as assembling the first part of the response, which in general will be longer than one byte. Protocol analysers (such as Wireshark) measure the time when bytes are actually sent/received over the interface. The JMeter time should be closer to that which is experienced by a browser or other application client.

Connect Time

建立连接所花费的时间

包括SSL三次握手的时间

注意:latency 没有减去 connect time

当出现链接超时等错误,这个会等于链接超时时间

JMeter measures the time it took to establish the connection, including SSL handshake. Note that connect time is not automatically subtracted from latency. In case of connection error, the metric will be equal to the time it took to face the error, for example in case of Timeout, it should be equal to connection timeout.

本文分享 CNBlog - 阿菠萝阿瑶。

如有侵权,请联系 support@oschina.cn 删除。

本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。

java中elapseTime设置新时间,Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义...相关推荐

  1. java中elapseTime设置新时间,Java ApplicationLike.getApplicationStartElapsedTime方法代码示例...

    import com.tencent.tinker.loader.app.ApplicationLike; //导入方法依赖的package包/类 /** * if com.dx168.patchsd ...

  2. JAVA中的类和对象之this的详解

    系列文章目录 第一章 JAVA中的类和对象之this的详解 目录 前言 一.为什么要有this引用 二.this的三种用法 1.this.成员变量 2.this.成员方法 3.this()调用其它的构 ...

  3. Java中print、printf、println的区别 详解

    Java中print.printf.println的区别详解 printf主要是继承了C语言的printf的一些特性,可以进行格式化输出 print就是一般的标准输出,但是不换行 println和pr ...

  4. Java中HttpClient设置超时时间

    CloseableHttpClient httpclient = HttpClients.createDefault(); HttpGet httpGet = new HttpGet("ht ...

  5. 猿创征文|Java中的IO流大家族 (两万字详解)

    目录 IO流 概述 分类 四大家族 需要掌握的16个流 文件专属 FileInputstream(读 字节) FileInputStream类的其他常用方法 FileOutputStream (写 字 ...

  6. Java 中的泛型(两万字超全详解)

    文章目录 前言 一.泛型概述 1. 什么是泛型?为什么要使用泛型? 2. 泛型使用场景 3. 泛型概述小结 二.泛型类 1. 泛型类的定义 2. 泛型类的使用 三.泛型接口 四.泛型方法 1. 泛型方 ...

  7. 学习笔记(一):Java中Stream的基本用法和相关API详解

    目录 引言 一.什么是Stream 二.Stream有什么用 三.Stream的分类 四.常用的Stream创建方法 1. Stream.of()方法 2. Arrays.stream() 3. 集合 ...

  8. Java中继承、接口、多态的作用详解(纯理论)

    一.继承.接口与多态的相关问题: 1. 继承的作用?好处?坏处? 继承:通过继承实现代码复用.Java中所有的类都是通过直接或间接地继程java.lang.Object类得到的.继承而得到的类称为子类 ...

  9. java中的关键字:this与super 大详解

    文章目录 1.this 1.1. this是什么? 1.2 this调用对象中的属性.构造器和方法 2.super 2.1 super是什么? 2.2 super调用父类的属性.构造器.方法 3. t ...

最新文章

  1. 十分钟了解分布式计算:Spark
  2. VC6程序申请管理员权限
  3. Udacity并行计算课程笔记-The GPU Hardware and Parallel Communication Patterns
  4. U-Boot配置过程
  5. ThreadLocalT
  6. 函数式接口@FunctionalInterface使用示例
  7. leetcode题解119-杨辉三角II
  8. java中的特殊字符集合
  9. vue 中 v-bind 合并行为
  10. 2018年网络开发者应该关注什么
  11. vista iis7上安装php4.4.7
  12. 最新版QQ拼音打字法为什么打出来的字中间有竖线?
  13. 值得投入精力的APP运营:用户、活动和数据!
  14. 器件选型电源篇-LDO器件选型
  15. Linux 火狐无法播放视频
  16. 卡尔曼滤波 KF | 扩展卡尔曼滤波 EKF (思路流程和计算公式)
  17. 【技巧】pytorch tif转成jpg
  18. 优化UE4性能 、减少DrawCall——材质中使用自定义基元数据
  19. 在互联网上传输文件 —— FTP协议
  20. SMARTS决策引擎使用手册(6)

热门文章

  1. PaddleOCR #使用PaddleOCR进行光学字符识别(PP-OCR文本检测识别)
  2. 离线安装wxpython4.0.6_离线安装wxpython
  3. 95后女孩从深圳设计院辞职当保安引热议!本人:薪资不低且……
  4. fallout3 辐射3 难句囧翻译1
  5. 交流微电网仿真模型(包含PCS)【含个人笔记+建模过程】
  6. cubemx万年钟_一知半解学CubeMX——TIM:定时中断实现LED闪烁
  7. openstack---nova概念
  8. 华为海思2022数字芯片笔试题(节选)
  9. 成功实施企业内容管理(ECM)的 5 个技巧
  10. 一文学懂ansible