[Webtest] Accepted-Language

Dierk Konig webtest@lists.canoo.com
Thu, 25 Apr 2002 12:38:04 +0200


Hi Johannes,

good question. In fact, this "card" hangs in the current iteration :-)
(cf. the online plan)

There is currently no supported WebTest feature for setting 
request headers or analyzing response headers.

The accept-language header is currently empty.

I'm glad to see your feature request, for it gives me the
opportunity to increase priority here.

Can you post a WebTest xml snippet how you would like to see
WebTest dealing with this?

For I know you are a testing expert, I even dare to ask for
an acceptance test for the requested feature :-)

cheers
Mittie

P.S. We ran into the same behaviour when testing a web application
that was supposed to support multiple languages through user choice
and with defaults depending on the browser settings. With the first
WebTest we discovered a bug in the application in the case of
"no language specified" (for the header was empty). Subsequently,
we went for Unit Tests on this. It was amazing how much logic was
involved in that simple task.
In a training class, we developed the very same functionality
even (unit-) test-first! I guess, you gonna love that :-)


> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Johannes Link
> Sent: Donnerstag, 25. April 2002 12:01
> To: webtest@lists.canoo.com
> Subject: [Webtest] Accepted-Languaged
> 
> 
> Hi!
> 
> Despite searching the syntax reference I could not answer the following
> question: Is there a way to set the Accepted-Languages header field for a
> request? Is there a generic way for setting request header fields?
> 
> Johannes
> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>