【问题标题】:How to collaborate Jmeter Load Test Scenario如何协作 Jmeter 负载测试场景
【发布时间】:2021-08-10 09:25:26
【问题描述】:

场景 - 系统应该能够处理 1000 个同时登录的用户,并且系统中同时有 500 个用户处于活动状态。

【问题讨论】:

    标签: jmeter performance-testing load-testing threadgroup


    【解决方案1】:

    通常您应该使用不同的Thread Groups 来代表不同的业务用户组,因此只需添加 2 个线程组,一个有 1000 个“登录”用户,另一个有 500 个“活动”用户(无论它是什么意思) .

    然后添加HTTP Request采样器来实现你的用户活动(你甚至可以record and replay the test scenarios using HTTP(S) Test Script Recorder

    如果您已经实现了这些用户流,并且只想将 1500 个用户分成 1000 个和 500 个执行不同操作 within the bounds of the singe Thread Group- put them under 2 吞吐量控制器

    更多信息:Running JMeter Samplers with Defined Percentage Probability

    【讨论】:

    • 我们不能使用Ultimate线程组来操作这个场景吗?
    猜你喜欢
    • 1970-01-01
    • 2021-10-23
    • 1970-01-01
    • 1970-01-01
    • 2019-01-31
    • 2018-09-28
    • 2012-07-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多