spring-framework / org.springframework.test.web.servlet.result / StatusResultMatchers / isTooManyRequests

isTooManyRequests

open fun isTooManyRequests(): ResultMatcher

Assert the response status code is HttpStatus.TOO_MANY_REQUESTS (429).