【问题标题】:How to check if API requests response time are longer than 1000 milliseconds in jMeter如何在jMeter中检查API请求响应时间是否超过1000毫秒
【发布时间】:2021-07-29 09:58:36
【问题描述】:

我一次测试了 100 个请求。请求最短时间 400 毫秒,最长时间 1200 毫秒。所以我想检查 API 请求是否超过 1000 毫秒。

【问题讨论】:

    标签: jmeter jmeter-5.0 jmeter-4.0


    【解决方案1】:

    您可以为此目的使用JMeter Duration assertion。只需在您的 API 请求下添加断言并输入 1000 (ms) 作为持续时间。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-27
      • 2011-01-24
      • 2020-12-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多