首页 文章

Jmeter螺纹组中的RAMP UP

提问于
浏览
2

我在jmeter中设置加速问题 .

我的测试场景如下所述 .

有3个线程组:

Thread Group1 - 2 Users - Ramp up 10
Thread Group2 - 3 users - Ramp up 15
Thread Group3 - 5 users - Ramp up 25

我面临的问题是以上情况如下 .

所有线程组的第一个用户同时启动 .
但我不想那样,我想要以下内容:

  • 在前10秒内,第一个线程组的2个用户应该启动 .

  • 测试10秒后,线程组2应该启动用户 .

  • 在测试25秒后,第三组应该启动他们的用户 .

我在Jmeter中看到一个“连续运行线程组”的选项,但如果我设置该线程组2将永远不会启动,直到线程group1用户应完成其请求执行 .

2 回答

  • 4

    jMeter Plugins' Ultimate thread groupStepping thread group为您提供更多的线程控制权 .

  • 1

    向第二个和第三个线程组添加启动延迟:

    这应该做的工作 .

    您可以在开始时间和结束时间中放置任何内容,因为它们将被启动延迟和持续时间覆盖 .

    另请注意:

    Start Time  If the scheduler checkbox is selected, one can choose an absolute 
        start time. When you start your test, JMeter will wait until the specified start time 
        to begin testing. Note : The Startup Delay field over-rides this - see below.
    

    特别注意:

    Note: the Startup Delay field over-rides this - see below.

相关问题