ApacheJMeter动态负载测试 [英] ApacheJMeter dynamic load testing
问题描述
我已经构建了一个对资源需求(即http访问次数)作出反应的应用程序.为了测试它,我想使用ApacheJMeter以编程方式生成http GET请求.不幸的是,我找不到在测试用例的预定义段期间生成不同数量的http GET的任何可能性. 测试应该看起来像这样:
seconds 0 to 30: 1000 GET requests per second
seconds 31 to 60: 5000 GET request per second
seconds 61 to 90: 15000 GET request per second
seconds 91 to 120: 5000 GET request per second
seconds 121 to 150: 1000 GET request per second
我希望有可能,谢谢.
吞吐量调整计时器插件允许以不同的速率设置多个流量段
https://jmeter-plugins.org/wiki/ThroughputShapingTimer/ >
I've build an application which reacts on resource demand (i.e., number of http accesses). To test it, I want to generate http GET requests programmatically with ApacheJMeter. Unfortunately I cannot find any possibility to generate different numbers of http GET's during predefined segments of the test case. A test should look like that for example:
seconds 0 to 30: 1000 GET requests per second
seconds 31 to 60: 5000 GET request per second
seconds 61 to 90: 15000 GET request per second
seconds 91 to 120: 5000 GET request per second
seconds 121 to 150: 1000 GET request per second
I hope this is possible, thank you in advance.
Throughput Shaping Timer plugin allows for setting up multiple segments of traffic at different rates
https://jmeter-plugins.org/wiki/ThroughputShapingTimer/
这篇关于ApacheJMeter动态负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!