[Webtest] Pb with tag <header name="user-agent" value=".."/>

Marc Guillemot webtest@lists.canoo.com
Fri, 7 Feb 2003 17:10:07 +0100


Hi again,

I try to set the User-Agent header as explained in the doc:

   <config host="${config.host}"
    port="${config.port}" protocol="${config.protocol}"
    basepath="${config.basepath}" verbose="${config.verbose}"
    resultpath="${config.resultpath}"
    summary="${config.summary}" saveresponse="${config.saveresponse}">
    <header name="user-agent" value="Mozilla/4.0 (compatible; MSIE 5.5;
Windows 2000)"/>
   </config>

but on the server I can read "httpunit/1.4" as User-Agent header.

Do I misunderstand something? Does this tag really function?

Marc.