4

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 necessary 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.

2 Answers 2

4

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Well in some cases you will actually need these headers: it's when the application checks for the referer field in some steps. Most of .NET applications do that, so be careful.
0

It is enough one Header Manager per Thread. See documantation http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Header_Manager

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.