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.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest