Here is a way to get the HTTP response as a String in a Beanshell Post-Processor:
String httpResponseBody = new String(ctx.getPreviousResult().getResponseData());
log.info("HTTP Response Body: "+httpResponseBody);
Here is a way to get the HTTP response as a String in a Beanshell Post-Processor:
String httpResponseBody = new String(ctx.getPreviousResult().getResponseData());
log.info("HTTP Response Body: "+httpResponseBody);