4 messages in com.canoo.lists.webtestRe: [Webtest] how to change user-agen...
FromSent OnAttachments
Sanju Nath27 Mar 2006 16:48 
Marc Guillemot27 Mar 2006 23:08 
Sanju Nath28 Mar 2006 17:01 
Marc Guillemot28 Mar 2006 22:51 
Subject:Re: [Webtest] how to change user-agent inside groovy code
From:Marc Guillemot (mgui@yahoo.fr)
Date:03/27/2006 11:08:45 PM
List:com.canoo.lists.webtest

Hi Sanju,

I've never tested it but normally with a builder it should be something like:

ant.testSpec(name: 'groovy: Test Groovy Scripting at creation time') { config(config_map) { header(name: 'User-Agent', value: 'what you want') } steps() { ... } } -- View this message in context:
http://www.nabble.com/how-to-change-user-agent-inside-groovy-code-t1353015.html#a3624700 Sent from the WebTest forum at Nabble.com.