Limitations in achieving a target JMeter throughput value

前端 未结 1 1571
隐瞒了意图╮
隐瞒了意图╮ 2021-01-28 02:38

I want to understand the actual JMeter throughput behavior achieved at runtime.

Scenario - I\'m increasing the JMeter throughput at runtime using Constant Throughput Time

相关标签:
1条回答
  • 2021-01-28 03:13
    1. You can play the same trick with the number of threads in the thread group, just define it using __P() function and you will be able to manipulate it using Beanshell server. Another option is using a JSR223 Test Element and Groovy language to add the new thread(s) where/when required like:

      ctx.getThreadGroup().addNewThread(0, ctx.getEngine())
      
    2. JMeter doesn't "identify" anything, it just tries to execute Samplers as fast as it can and the number of requests per second depends on 2 factors:

      • your application needs to be able to respond fast enough
      • JMeter itself needs to be able to send requests fast enough, i.e. you need to follow JMeter Best Practices

      there are no "mechanisms" which detect the application under test behaviour, the closest solution is Auto Stop Listener

    3. See point 2

    0 讨论(0)
提交回复
热议问题