jmeterjmeter-5.0jmeter-3.2

Jmeter - Constant throughput timer - Requests for per second


Is there any function in JMeter using groovy, beanshell to give Target throughput in seconds? Please help


Solution

  • If you want convert requests per minute into requests per second you need to multiply the value by 60.

    The relevant __groovy() function would be something like:

    ${__groovy(target_throughput_in_requests_per_second * 60,)}
    

    More information on Groovy scripting in JMeter: Apache Groovy: What Is Groovy Used For?

    Also be informed that: