it does not seem to throw any exceptions on 4xx or 5xx response codes. Is this the intended behavior? It doesn’t mention on the docs that the default response validator doesn’t fire in this scenario. If the type is switched from
HttpResponse
to
String
it throws the error
Justin Moy
02/23/2021, 3:45 PM
it appears if we do not call
response.readText()
the validators will not fire and no exception will be thrown.