jmeter步进线程组stepping thread group使用

    技术2023-08-29  170

     

    参数介绍:

    action to be taken after a sampler error:取样器失败之后采取的行为

    continue:忽略错误取样器,继续执行下面的元件

    start next thread loop:开始下一轮线程循环

    stop thread:终止线程运行

    stop test:终止测试

    stop test now:立即终止测试

     

    thread scheduling parameters:线程调度参数

    this group will start 100 threads:这个线程组最大将启动100个线程

    first,wait for 0 seconds:启动之前,首先等待0秒

    then start 0 threads:然后开始启动  0 个线程

    next, add 10 thresds every 30 seconds, using ramp-up 5 seconds:然后,每30秒增加10个线程,在5秒内还不增加

    then hold load for 60 seconds:增加到最大线程数之后,保持运行60秒

    finally, stop 5 thread every 1 seconds: 运行完成之后,没间隔1秒终止5个线程

     

    thread group(线程组)和stepping thread group(步进线程组)的区别:

    步进线程组可以更详细的设计线程组中线程的启动方式,适合于模拟非常真实复杂的用户压测场景。

    线程组只能做简单的线程数配置

    Processed: 0.008, SQL: 9