简体   繁体   中英

JMeter requests per second validation/assertion

How can I make a test fail when the request per seconds are eg below 20 requests?

How do I need to set up the Throughput controller?

It is not about Throughput controller but about Constant Throughput Timer . You can setup this timer to provide you throughput 20reqs/s. Use Duration assertion or Response assertion to check Response times or Error codes of results.

Or you can write your own assertion in JSR223 Assertion component.

Or you can try SmartMeter's acceptance criteria to check your results after test.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM