【问题标题】:How can be set the network Bandwidth while load testing of any application using jmeter如何在使用 jmeter 对任何应用程序进行负载测试时设置网络带宽
【发布时间】:2024-01-19 04:20:01
【问题描述】:

我正在使用 jmeter 对我们的 API 进行负载测试。现在我需要将网络带宽设置为 256kbps 和 512kbps。

我在 apache-jmeter/bin/jmeter.properties 中添加了以下行,但这不起作用。

#httpclient.socket.http.cps=32728 #httpclient.socket.https.cps=32728

是否有任何其他方法来设置网络带宽或任何其他最佳工具来满足此要求?

【问题讨论】:

    标签: jmeter load-testing


    【解决方案1】:
    1. 您需要删除此# 字符,因为它表示comment,因此JMeter 会忽略此行
    2. 这是better to make configuration changes in user.properties file,这样您就可以确信您的设置能够在升级到最新的 JMeter 版本后继续使用

    更多信息:How to Simulate Different Network Speeds in Your JMeter Load Test

    【讨论】:

      最近更新 更多