0

I have a practical Challenge:

I need to validate that a server-timeout appears after 5 seconds (as in a 400/500 response-code) under a JMeter loadtest with 100 threads running constantly and requesting a url simulataniously.

Is it possible to configure JMeter to idle/delay/keep running each thread/user for a custom period of time?

4

2 回答 2

0

您可以添加运行时控制器,它实际上可以让您运行尽可能多的定义它:

所需的运行时间(以秒为单位)

于 2017-12-26T08:45:30.660 回答
0

我认为您需要的是 Constant Timer 。阅读以下链接以了解更多信息。

http://jmeter.apache.org/usermanual/component_reference.html#Constant_Timer

这将帮助您暂停线程一段恒定的时间,然后再释放它以继续进行

于 2016-04-21T13:20:02.263 回答