On 4 May 2011 06:31, dmitry.hohlov <dmitry.hoh...@mail.ru> wrote:
>
> Deepak Shetty wrote:
>>
>> HTTP Client does allow you to override the host header and specify a
>> virtual
>> host (e.g. when implementing a reverse proxy this is useful)
>>
>
> How this can be done?

[As already stated:]

Not currently possible. You would need to change the JMeter code.

Feel free to raise a Bugzilla enhancement request.

> I put a "HTTP Header Manager" (with a "Host" header
> specified in it) into a "HTTP Request HTTPClient" sampler (where "Server
> Name" is provided as an IP address and "Port Number" is also specified as it
> is non-standart). After that (as tcpdump on the target server says) the
> "Host" header in the request from JMeter still contains "IP:port" but not
> the domain name provided in the "HTTP Header Manager".
>
> I use JMeter 2.4 r961953 with JRE 1.6.0_24 on Windows 7 Starter SP1.
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/How-to-override-Host-header-tp4295391p4369094.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to