Mohd Sarfraz
Mohd Sarfraz

Reputation: 21

Jmeter:- How to achieve fluctuated TPS in jmeter

I want to get fluctuation in TPS using JMeter like given below

How to achieve such various TPS with respect to time. I am using jmeter 4.0 My Requests are like Login Application Create Order Active Order Disconnect order Cancel Order

Application can handle upto 45 TPS (Already Tested this) Here we want to Check Semaphore and Server Res. memory are increasing/decreasing as per TPS increase/Decrease. (This is my target of this test)

Upvotes: 0

Views: 1427

Answers (2)

Satish Shihani
Satish Shihani

Reputation: 471

For Your case you can use below link to understand the tree to create and use of throughput controller- Purpose of Throughput Controller?

And I would suggest you to use multiple Once only controller and apply throughput controller with each of them and define the throughput values you want to achieve one by one, For Example

  • Thread Group
  • Runtime Controller (60 minutes)
  • once only controller

    • HTTP Sampler
    • Throughput controller (1 TPS to 10 TPS)
  • Run-time Controller (next 60 minutes)

  • Once Only Controller
    • HTTP Sampler
    • Throughput Controller (2 TPS to 4 TPS)

You can see the progress in listeners( In graphical form).

Hope It works :)

Upvotes: 1

Ori Marko
Ori Marko

Reputation: 58872

You should work with Ultimate Thread Group

In your case 3 lines with Hold Load For 3600 seconds

Each line will have different Initial delay, first is 0, second is 3600 (hour) and third is 7200 (2 hours)

Upvotes: 0

Related Questions