title: why we will use prev.getResponseCode() in jmeter
body: <p>If give <code>String ResponseCode = prev.getResponseCode();</code> in beanshell assertion it's working good. </p>
  
  <p>But if use <code>String ResponseCode = getResponseCode();</code> I am getting error, so what is the reason for this?</p>