You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "vlsi (via GitHub)" <gi...@apache.org> on 2023/05/13 20:06:09 UTC

[GitHub] [jmeter] vlsi opened a new pull request, #5917: Deprecate getHeaderManager and setHeaderManager in HTTPSamplerBase

vlsi opened a new pull request, #5917:
URL: https://github.com/apache/jmeter/pull/5917

   ## Motivation and Context
   
   See https://github.com/apache/jmeter/pull/727
   `getHeaderManager` and `setHeaderManager` allow too broad API, and they effectively prevent sharing header managers between threads.
   
   HTTP Header Manager is a non-trivial object, and it might consume a lot of memory (e.g. if each HTTP Sampler has a Header Manager), so it would be nice to reuse HTTP Headers somehow.
   
   At least, the mechanics of `setHeaderManager` automatically clones and merges the elements look suspicious.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org