Configure a load test to return 10 TPS throughput for an Async API with expected response time of 500 ms in Jmeter

407 Views Asked by At

How can we configure a load test script to achieve 10 TPS throughput for an Async API with expected response time of 500 ms in Jmeter.

Any help is appreciated.

Thanks,

Here are some performance stats from one of the runs for this API ( create asset response ):

enter image description here

1

There are 1 best solutions below

0
Dmitri T On
  1. 10 TPS throughput:

    • you need to make sure to provide enough threads (virtual users) in the Thread Group in order to reach this 10 TPS throughput. If you expect response time not more than 500 ms 5 users should be sufficient.
    • in case if 5 users will be creating more throughput than 10 TPS you can limit it by using Constant Throughput Timer
  2. 500 ms expected response time. Add Duration Assertion and set "Duration in milliseconds" to 500. If any Sampler in the Assertion's scope will take more than 500 ms it will be marked as failed