8 messages in com.canoo.lists.webtest[Webtest] Setting User agent not working| From | Sent On | Attachments |
|---|---|---|
| Corey | 23 Jan 2008 06:46 | |
| Marc Guillemot | 23 Jan 2008 07:01 | |
| Corey | 23 Jan 2008 07:25 | |
| Marc Guillemot | 23 Jan 2008 10:47 | |
| Corey | 23 Jan 2008 10:58 | |
| Marc Guillemot | 23 Jan 2008 11:03 | |
| Corey | 23 Jan 2008 11:13 | |
| Marc Guillemot | 23 Jan 2008 12:28 |
| Subject: | [Webtest] Setting User agent not working![]() |
|---|---|
| From: | Corey (Cor...@Golfballs.com) |
| Date: | 01/23/2008 06:46:21 AM |
| List: | com.canoo.lists.webtest |
I am setting the user agent as follows: <config host="localhost" port="80" protocol="http" basepath="" > <header name="User-Agent" value="4.0 (compatible; MSIE 6.0; Windows 98)"/> </config>
But this does not work.When I check navigator.appName I get "Microsoft Internet Explorer"
Looking at the log output from the console it shows me this: [config] INFO (com.canoo.webtest.engine.Configuration) - Using browser versi on (Microsoft Internet Explorer, 4.0 (compatible; MSIE 6.0b; Windows 98), 4.0 (c ompatible; MSIE 6.0; Windows 98), 1.2, 6.0). If the javascript support is not as expected, then it's time to go into the sources [config] INFO (com.canoo.webtest.engine.Configuration) - Configuring 1 HTTP header field(s) [config] INFO (com.canoo.webtest.engine.Configuration) - Skipped User-Agent header as it has already been configured in the BrowserVersion
So the header is getting set by some other function, not mine. I have done numerous searching for text in files to find this and I have not found anything. Where is the header getting set?
-- Corey Fournier Golfballs.com Programmer




