Jmeter - 加权随机值? [英] Jmeter - weighted random values?

查看:24
本文介绍了Jmeter - 加权随机值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何根据随机权重运行测试/控制器?例如,进行两项测试,一项权重为 25%,另一项为 50%.50 的那个应该运行两倍.

How can I go about running tests/controllers based on random weight? For instance, have two tests, one with a weight of 25%, the other with 50%. The one with 50 should run twice as often.

也许吞吐量控制器与随机混合?

Perhaps throughput controller mixed with random somehow?

推荐答案

我认为你可以使用像下面这样配置的吞吐量控制器:

I think you can use Throughput Controllers configured someway like the following:

通过配置属性或在可接受的值范围内(在本例中为 0..100)预先设置吞吐量值.

Throughput values are pre-set, either from configuration properties or generated in acceptable range of values (0..100 in this case).

这篇关于Jmeter - 加权随机值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆