The questions is: how exactly you're "logging that the variable
JMeterThread.last_sample_ok"? 

Be aware of JMeter test elements  execution order
<https://jmeter.apache.org/usermanual/test_plan.html#executionorder>  ,
after Assertions only Listeners are executed so it makes sense to "log" the
value for example using  JSR223 Listener
<https://www.blazemeter.com/blog/groovy-new-black>   and the following code:


> log.info('Previous sampler successful: ' +
> vars.get('JMeterThread.last_sample_ok'))

Also you can log the value using  __log()
<https://jmeter.apache.org/usermanual/functions.html#__log>  or  logn()
<https://jmeter.apache.org/usermanual/functions.html#__logn>   functions
which are evaluated immediately where they found





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to