Failure Text Response in Jmeter

Рейтинг: 0Ответов: 1Опубликовано: 15.08.2023

Подскажите, пожалуйста, какойт ответ должен быть от Text response если в запросе ошибка? В Jmeter. Спасибо

Ответы

▲ 0

Может быть какой угодно:

The 4xx (Client Error) class of status code indicates that the client seems to have erred. Except when responding to a HEAD request, the server SHOULD send a representation containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included representation to the user.

РЕКОМЕНДУЕТСЯ предоставить информацию о причине ошибки и как ее можно исправить. Вот статус код и сообщение ОБЯЗАНЫ соответствовать допущенной клиентом ошибке.

Если вам нужно проверить код, сообщение и текст ответа - можете воспользоваться Response Assertion