user15224751
user15224751

Reputation:

how to increase dynamically load on jmeter

I want to increase the load of JMeter like first i will pass the load at 5tps then after some time 10tps then after some time 15tps so on how can I do this in dynamically. any guidance or help would be really helpful

Upvotes: 0

Views: 898

Answers (2)

Janesh Kodikara
Janesh Kodikara

Reputation: 1841

You have the following options for dynamic throughput controlling

  1. Pre-configured

Throughput shaping timer with Concurrency Thread Group and Throughput Shaping Timer Feedback Functions

  1. Set at Runtime Use Beanshell Server to set the dynamic throughput values in Constant Throughput Timer

This article (which has a video) will have more details.

enter image description here

enter image description here

Upvotes: 0

Dmitri T
Dmitri T

Reputation: 168147

The easiest option is going for Throughput Shaping Timer where you can specify the desired workload pattern in terms of "requests per second"

Here is example setup which:

  • holds the load at 5 requests per second for 60 minutes
  • then holds the load at 10 requests per second for another 60 minutes
  • then holds the load at 15 requests per second for another 60 seconds
  • then ramps-down the load back

enter image description here

Just make sure to provide enough threads (virtual users) so JMeter would be able to conduct the required amount of requests per second, it makes sense to consider using Concurrency Thread Group for this and connect it to the Throughput Shaping Timer via Feedback Function

More information: Using JMeter’s Throughput Shaping Timer Plugin

Upvotes: 1

Related Questions