When i run a thread group Loop Count
with 2
for the first loop it works well but for second iteration it fails because in Header it add two times the Authorization Bearer token
I have created HTTP Request sampler named as “Login Request" inside of this sampler i added BeanShell PreProcessor’
import org.apache.jmeter.protocol.http.control.Header;
sampler.getHeaderManager().add(new Header("Authorization","Bearer " + vars.get("Token")));
It works well for 1 iteration but in second iteration it fails error shows there are two authorization in header