I have a response assertion which looks for an error code in the response data. When found the sampler is correctly marked a failure. I then have a Beanshell post processor which looks to see if the previous sampler was an error (!prev.isSuccessfull()). This is not working because the response for isSuccessfull() is coming back as true even though the sampler failed due to the assertion. Is there another way in Beanshell to check for the failure?
Thanks, MJ
