On 12/09/06, Andreas Krennmair <[EMAIL PROTECTED]> wrote:
Hello everybody,
Currently, I use the "HTTP Request" sampler to make HTTP requests, with
the "Retrieve all Embedded Resource from HTML Files" option enabled.
What I noticed when I looked at the requests in the results tree that
the Host headers seem to be wrong. When I request
http://mo-int.somedomain.com/web/download.do?method=showTrack&orderId=1234567
which contains an image with the URL
http://img-int.somedomain.com/img/app?path=98765432.jpg&width=157&height=157
then this image is requested, but in this HTTP request, the HTTP "Host"
header is set to "mo-int.somedomain.com", i.e. the host name of the page
into which it is actually embedded.
Can anybody else reproduce this? If so, it should be fixed, IMHO, as it
is a violation of RFC 2616, section 14.23. BTW, I use JMeter 2.2, but
had the very same problem with previous versions.
Sounds like a bug; I suggest you create a Bugzilla issue.
Does it happen with both HTTP Samplers?
Is there a public web-site you know of that can be used to demonstrate
the problem?
Regards,
Andreas Krennmair
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]