Jmeter-5.0 : Are RPS (Request per second) and TPS (Transaction per sec) same?
Asked Answered
M

2

8

What is the difference between RPS and TPS in Jmeter? I want to run Jmeter script for 5 minutes ramp up time for each target TPS: 10, 20 and 30. Is it same of RPS?

Mystical answered 15/10, 2019 at 7:34 Comment(0)
O
3

The difference between requests per second and transactions per second is that a transaction might consist of several requests. In JMeter a transaction is - pretty obviously - represented by a Transaction Controller.

To illustrate that:

  • open your Chrome (or browser of choice)
  • open the devtools (F12 in chrome)
  • select the network tab
  • browse to https://www.google.com

Whereas your transaction is "Open Google Landing Page" your browser performs over a dozen single requests.

If you want to generate a certain amount of requests (or transactions?) have a look at JMeter Timers. The Constant Throughput Timer might be a good start! Please be aware, that the scope of the timer matters!

Olen answered 16/10, 2019 at 9:19 Comment(0)
G
2

TPS

counts for each seconds the number of finished transactions

Is equal to RPS in JMeter

“translate” RPS to “sample per minute”.

Actually you can call it SPS, because JMeter context is counting sample and not request/transaction

Glendaglenden answered 15/10, 2019 at 8:6 Comment(3)
So, basically both are same? Any idea how can I achieve my target ?Mystical
@testingUser yes, there are no real transactions in JMeter, only samplers. see TPS link for plugin to reach TPSGlendaglenden
Thanks. I will have a look.Mystical

© 2022 - 2024 — McMap. All rights reserved.