Re: Force absoluteURI to upstream

From: Angelo Höngens <a.hongens#netmatch.nl>
Date: Thu, 02 Sep 2010 08:41:45 +0200


On 1-9-2010 20:57, Alexey Lapitsky wrote:
> Problem
>
> Tsung proxy wants absoluteURI [2], and I have to rewrite client's
> request header somehow:
>
> from
>
> GET /test HTTP/1.1
>
> Host: example.com <http://example.com/>
>
>
> to the
>
> GET http://example.com/test HTTP/1.1
>
> Host: example.com <http://example.com/>
>
> I thought that I can use some frontends like haproxy or nginx, but
> looks like nginx can't do it. Is there any way to do it with haproxy or
> other software?
>
> [1] http://tsung.erlang-projects.org/
>
> [2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
>

Perhaps I don't really understand your problem, when I record a session in tsung it puts the absolute full url in the xml file.

-- 


With kind regards,


Angelo Höngens
systems administrator

MCSE on Windows 2003
MCSE on Windows 2000
MS Small Business Specialist
------------------------------------------
NetMatch
tourism internet software solutions

Ringbaan Oost 2b
5013 CA Tilburg
+31 (0)13 5811088
+31 (0)13 5821239

A.Hongens#netmatch.nl
www.netmatch.nl
------------------------------------------
Received on 2010/09/02 08:41

This archive was generated by hypermail 2.2.0 : 2010/09/02 08:45 CEST