expectSuccess

var expectSuccess: Boolean = false

Terminates HttpClient.receivePipeline if the status code is not successful (>=300). Learn more from Response validation.