How to achieve the desired TPS?

HI All,

I am new to galting and trying to achive a tps of 0.5 (30 requests in 1 minute / 1 req for every 2 seconds).

I have tried below “simulation” but it is not working. Please help.

val scenario: PopulationBuilder = test.execute()
  .inject(constantUsersPerSec(users) during runDuration.minute)
  .throttle(reachRps(1) in 2 seconds, holdFor(runDuration.minute))
  .protocols(buildWASProtocol(name))
scenario


Thanks,
Raghu

https://gatling.io/docs/current/general/simulation_structure/

may be helpful? i guess