Then perhaps my initial assumption of nesting a header manager under a
sampler doesn't work, or there's a bug. I know there are issues with while
loops like using a counter within the while loop controller as condition
and increment at same time doesn't do what one intends when compared to
coding a while loop (have to put the increment inside the loop instead).

The workaround for you at least is to nest the 2nd header manager and 2nd
sampler as childs under something like a simple controller, perhaps with
header manager as first child. I know that method works, for me anyways.

On Tue, Oct 16, 2012 at 12:46 PM, Mikhail T. <[email protected]>wrote:

> On 15.10.2012 09:31, Sławomir Kluz wrote:
>
>> In your case, set Host-header should be a child of HTTPSampler.
>>
> This method does not seem to work... What I have is:
>
>    HTTP Header manager (setting headers common for all)
>    While-loopp (based on a CSV-controller)
>         HTTPSampler-1
>         HTTPSampler-2
>             HTTP Header manager (setting an additional header)
>
> Unfortunately, it does not seem like the second HTTP Header manager has
> any effect -- the second HTTP sampler is executed without the additional
> header...
>
> Any ideas? Thanks!
>
>    -mi
>
>

Reply via email to