我想每5秒发送一个请求通过api登录。我不知道如何通过线程组完成。我怎样才能每5秒发送一个请求在jmeter
我想:
No. of threads : 100
Ramp-up period : 20
Loop-count : Forever
但它每秒发送5个请求。
我应该为此使用最终的线程组吗?
我想每5秒发送一个请求通过api登录。我不知道如何通过线程组完成。我怎样才能每5秒发送一个请求在jmeter
我想:
No. of threads : 100
Ramp-up period : 20
Loop-count : Forever
但它每秒发送5个请求。
我应该为此使用最终的线程组吗?
Constant Throughput Timer是你在找什么。添加它作为您的请求的孩子,其配置如下:
12
all active threads in current thread group
这将限制速度请求执行至每分钟12个请求(5秒内请求1次)
还请注意e增强版本:Throughput Shaping Timer可通过JMeter Plugins项目获得。
试试这个,
No. of threads : 100
Ramp-up period : 500
它会发出500秒仅限100个请求。即每5秒1个请求。
非常感谢。它有助于。 –
如果我使用常数计时器,那么我应该增加什么时间? –