Jmeter Control Http Request Rate

本文介绍了JMeter中的ThroughputController组件,它允许用户控制执行频率,有两种模式:百分比执行和总执行次数。此外,还举例说明了配置ThroughputController时各HTTP请求的执行速率。

Throughput Controller

Throughput Controller allows the user to control how often it is executed.
There are two modes:
• percent execution
• total executions

    Percent executions
        causes the controller to execute a certain percentage of the iterations through the test plan.
    Total executions
        causes the controller to stop executing after a certain number of executions have occurred.

Configuration

Components included in Throughput Controller will run the same rate
E.g.
+ Thread Group
+ + Throughput Controller1
+ + + Http Request1
+ + Throughput Controller2
+ + + Http Request2
+ + Throughput Controller3
+ + + Http Request3
+ + + Http Request4
When Throughput Controller3 set percent 2%,
Here are run rate: Http Request3: 2% ,Http Request4: 2%.
这里写图片描述

Result

Vote is Throughput Controller and set with 1%
Http Request included in Vote rate:
Get Vote Page: 67/6741≈1%
Vote: 67/6741≈1%
这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值