Jmeter - HTTP headers

I recorded a webpage using JMeter, which produced several samplers. Each of these samplers (http request) has an HTTP Header Manager configuration. Is it really necessary for each sampler or can I just keep it at the thread group level. Of course, some of these headers have a referent title element, and some do not.

+4
source share
2 answers

You do not need one header for the request, unless each request needs a unique header.

You may not even need ONE at the thread group / test plan level if you do not want to provide header information.

When you record, a checkbox is selected in the HTTP proxy to switch them.

+4
source

One header manager for each thread is enough. See Documentation http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Header_Manager

0
source

Source: https://habr.com/ru/post/1339656/


All Articles