Hi,
try:
import org.apache.jmeter.protocol.http.control.Header;
sampler.getHeaderManager().removeHeaderNamed("Authorization");
sampler.getHeaderManager().add(new Header("Authorization","Bearer
b2f963c5d0ec61dad1f3844f4f25c66"));
ZK
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Beanshell-Preprocessor-repeating-header-as-test-runs-tp5723669p5723670.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]