【问题标题】:JMeter saving sub-millisecond response times to a fileJMeter 将亚毫秒级响应时间保存到文件中
【发布时间】:2013-11-09 21:00:06
【问题描述】:

我正在尝试使用 Apache JMeter 测试典型响应时间为 0.2-0.4 毫秒的应用程序。我发现“jp@gc - Response Times Over Time”插件能够显示这样的响应时间作为图表,但所有可用的侦听器(包括 jp@gc 灵活数据编写器)都可以将结果保存在仅以毫秒精度的文件(用于详细分析)。 JMeter 中是否有任何方法可以以微秒级的精度节省响应时间?

【问题讨论】:

    标签: jmeter jmeter-plugins


    【解决方案1】:

    jmeter.properties 文件中有注释行:

    # Whether to use System.nanoTime() - otherwise only use System.currentTimeMillis()
    #sampleresult.useNanoTime=true
    

    我认为如果您取消注释此选项,您将获得更高分辨率的 JMeter 结果。

    【讨论】:

    • 这对我来说在 JMeter 3.2 中没有任何改变
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-03-10
    • 1970-01-01
    • 1970-01-01
    • 2023-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多