Hi Alexandre,

thanks for your help, but I already saw this page. The problem is, that I am 
using canoo webtest with grails, which means, I haven't got a xml file for my 
configuration, just the webtest.properties. My problem is, that I don't know 
how to "modify" the header with this property file. I can write something like 
this:

wt.config.header["Accept-Language"]=de

but this didn't change the header. And because my application accepts different 
languages, I have to modify the header.

Best regards,
Daniel


Am 25.11.2010 um 15:39 schrieb Alexandre Goyard:

> 2010/11/25 Daniel Plappert <[email protected]>:
>> Hi all,
>> 
>> I need to change the default Accept-Language header for my web test,
>> haven't figure out how to do it exactly. I am using canoo-webtest-plugin for 
>> grails.
>> 
>> My webtest.properties looks like this:
>> 
>> wt.config.host = localhost
>> wt.config.port = 8080
>> wt.config.protocol = http
>> .
>> .
>> .
>> wt.config.showhtmlparseroutput = true
>> wt.webtestMonitor.skip = skip
>> 
>> Can someone please let me know how to set the Accept-Language header
>> here properly? Many thanks for your help.
>> 
> 
> Hi Daniel,
> 
> Read this page : http://webtest.canoo.com/webtest/manual/config.html
> There is a example ofr change Accept-Language.
> 
> -- 
> Alexandre Goyard
> 


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to