title: JMeter : How do I Remove local HTTP Header Manager from each Requests in the Thread Group?
body: <p>Here is a link to image: <a href="https://i.stack.imgur.com/fIg3R.png" rel="nofollow noreferrer">https://i.stack.imgur.com/fIg3R.png</a></p>
  
  <p>I have local Header manger for each request. I also have Global one. [Please look at the image] I want to remove local Header manager for all requests. </p>
  
  <p>I tried it by creating a preprocessor and writing "sampler.getHeaderManager().removeHeaderNamed("HTTP Header manager");" inside it. But, It's not working. Because of this, It cannot authenticate credentials. </p>
  
  <p>I also tried "sampler.getHeaderManager().remove(0)". This didn't work too. remove(1) ignores the global header manager. </p>