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

查看:167
本文介绍了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天全站免登陆