[Webtest] Accepted-Language
Johannes Link
webtest@lists.canoo.com
Thu, 25 Apr 2002 16:15:47 +0200 (MEST)
> > <invoke ...>
> > <headerfield name="accept-language" value"fr"/>
> > </invoke>
>
> This would override the "config" setting, ok?
right.
> > - Have a multi language page with headline "This is A" for language A
> and
> > "This is B" for language B.
> > - Call the page once with accept-language="A", check that the hedaline
> is
> > "This is A".
> > - Call the page with accept-language="B,A", check that the
> > headline is "This
> > is B"
>
> Hm, may I suggest having a page that just reports the header-fields
> and values (like the "SnoopServlet") via html? This would go around any
> logic that depends on the web application under test.
Fine with me. My experience with acceptance tests is obviously too limited.
Johannes
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net