APISonar


io.restassured.module.webtestclient.response.ValidatableWebTestClientResponse.log

> io > restassured > module > webtestclient > response > ValidatableWebTestClientResponse > log
io APIs restassured APIs module APIs webtestclient APIs response APIs ValidatableWebTestClientResponse APIs log APIs

Example 1
public ValidatableWebTestClientResponse then() {
		ValidatableWebTestClientResponse response = new ValidatableWebTestClientResponseImpl(
				responseSpec, getRpr(), getConfig(), this, this, logRepository);
		LogConfig logConfig = getConfig().getLogConfig();
		if (logConfig.isLoggingOfRequestAndResponseIfValidationFailsEnabled()) {
			response.log().ifValidationFails(logConfig.logDetailOfRequestAndResponseIfValidationFails(), logConfig.isPrettyPrintingEnabled());
		}
		return response;
	}