Jmeter - HTTP Headers
I recorded a web page using JMeter which has produced several samplers. Each of those samplers (http request) has a config HTTP Header Manager. Is it really neces开发者_JAVA技巧sary to have that for each sampler or can I just maintain one at the thread group level. Of course some of those Headers have referer header element and some don't.
You don't need one header per request, unless each request need a unique header.
You may not even need ONE at the threadgroup / test plan level, unless you are wanting to specify header information.
When you record, there is a checkbox in the HTTP Proxy to toggle capturing these.
It is enough one Header Manager per Thread. See documantation http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Header_Manager
精彩评论