jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From loadt...@fastmail.fm
Subject log HTTP request on error
Date Mon, 02 Jun 2014 11:32:26 GMT
Hi, 

Is it possible to log a HTTP request upon error? 

I am currently using a BeanShell Listener to log the ResponseData if not
successful. 

	if (!sampleResult.isSuccessful()) {
		log.error(sampleResult.getResponseDataAsString());
	}
}

But not sure how to log the HTTP request which caused this error. 

Many Thanks

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message