jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Jara <>
Subject Beanshell post processor and assertions
Date Thu, 12 Jan 2017 03:40:30 GMT
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?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message