【问题标题】:How to simulate ramp-up with Locust?如何用蝗虫模拟加速?
【发布时间】:2017-03-08 08:23:59
【问题描述】:

据我所知,Ramp-up 功能已从 locust 中移除。 只是想知道孵化过程是否与加速过程相同或相似?还是有什么办法可以模拟这种情况?

【问题讨论】:

    标签: locust


    【解决方案1】:

    不确定您所说的加速功能。有很多选项可以控制 locust 的加速,包括新的 step-load 函数:

      --step-load           Enable Step Load mode to monitor how performance
                            metrics varies when user load increases. Requires
                            --step-clients and --step-time to be specified.
      --step-clients STEP_CLIENTS
                            Client count to increase by step in Step Load mode.
                            Only used together with --step-load
      --step-time STEP_TIME
                            Step duration in Step Load mode, e.g. (300s, 20m, 3h,
                            1h30m, etc.). Only used together with --step-load
    

    【讨论】:

      【解决方案2】:

      刚刚找到 Taurus 的解决方法来安排负载。

      【讨论】:

        猜你喜欢
        • 2014-10-13
        • 1970-01-01
        • 1970-01-01
        • 2020-07-01
        • 1970-01-01
        • 2019-01-31
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多