[OpenSTA-devel] [ opensta-Bugs-1386047 ] Pb Default_headers / Host: field when working with >1 site
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2005-12-20 13:53:46
|
Bugs item #1386047, was opened at 2005-12-20 05:50 Message generated for change (Comment added) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1386047&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTTP Capture >Group: Inconvenience >Status: Deleted >Resolution: Accepted >Priority: 2 Submitted By: Marc MAZAS (mmazas) Assigned to: Nobody/Anonymous (nobody) Summary: Pb Default_headers / Host: field when working with >1 site Initial Comment: When I capture a script involving more than one distant site (let's say 2, site1 and site2 on <host1> and <host2>, IBM WebSphere 5.0 on Windows 2000), the capture : - creates only one DEFAULT_HEADERS constant containing "Host: <host1>", - does not record the Host: header field in the WITH {...} clause of the URIs to site1 - does record the "Host: <host2>" header field in the WITH {...} clause of the URIs to site2 (as the last field). a) When I replay the exact captured script, it seems to work fine. b) Then when I change the order of the fields in the WITH clause of the URIs to site2, I get 400 errors (BAD Req). c) Then when I add a new DEFAULT_HEADERS2 constant not containing any "Host: " field and I use it in all the URIs to site2 instead of the first one, it works fine. I don't really know why it works in a) and not b) (there is or there is not a conflict on the duplicate Host: fields depending on they position) ; however I believe there should not be any duplicate "Host:" field. IHMO the best would be that the capture creates two distinct DEFAULT_HEADERS constants with their respective "Host:" field, and no "Host:" field in the WITH clauses. ---------------------------------------------------------------------- >Comment By: Daniel Sutcliffe (dansut) Date: 2005-12-20 08:53 Message: Logged In: YES user_id=19748 This is not a bug, and certainly not a "Serious" one! The script works as it is recorded, if you edit and it fails then it is just a scripting error. Please discuss problems on the OpenSTA Users Mailing list to verify if and what the actual bug report should be before making entries into the bug database. This specifically goes for information on why your a) case works but b) doesn't. This report will be deleted. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1386047&group_id=10857 |