The jmeter document says
http://jmeter.apache.org/usermanual/component_reference.html#assertions
The variable JMeterThread.last_sample_ok is updated to "true" or "false" after all assertions for a sampler have been run.
I have a http sampler in my test plan which performs a login with couple of redirects.
Interestingly I find that JMeterThread.last_sample_ok is set true even after my assertion fails. I am using response assertion to assert a string after login. The variable is set true even when assertion fails. This causes the next "if controller" to proceed for the wrong responses as well. Am I missing some thing.
Thanks in Advance for your help.