This content has been marked as final. Show 2 replies
You can try saving the response in String and compare the same with the expected output.
// You request
String str = http.getLastBrowserResponse().getContents();
if (str.indexOf("Expected text goes here--")==-1)
// Error. You expected text not found on response.
Try the same and let us know.