Jmeter Control Http Request Rate

来源:互联网 发布:嘉兴职业技术学院网络 编辑:程序博客网 时间:2024/04/30 19:42

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%
这里写图片描述

原创粉丝点击