Hi,

In your case, set Host-header should be a child of HTTPSampler.

2012/10/15 Mikhail T. <[email protected]>:
> Hello!
>
> I need to test several different virtual hosts on the same physical server
> (IP-address). I'm trying to use the "HTTP header component":
>
>    Set Host-header to vhost1
>    HTTP-sampler one
>    Set Host-header to vhost2
>    HTTP-sampler two
>
> Unfortunately, the second HTTP-sampler still runs with Host-header set to
> vhost1... I guess, this is another manifestation of the config vs. something
> else components?.. How can I do, what I need?
>
> Currently, I work around the problem by placing the two tests in different
> thread-groups. Is that the only way?
>
> Perhaps, request-headers should be properties of the sampler entirely?
> Thanks,
>
>    -mi
>



-- 
Sławomir Kluz
[email protected]
--

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to