[Webtest] Adding User Agent and Http Headers in general
webtest@lists.canoo.com
webtest@lists.canoo.com
Tue, 7 May 2002 13:17:57 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1F604.475290E0
Content-Type: text/plain;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
config=09
<testSpec name=3D"Visit all pages without update">
<config=20
host=3D"localhost"
port=3D"8080"
protocol=3D"http"
basepath=3D"frontnet"
summary=3D"true"
verbose=3D"true"
saveresponse=3D"true"
resultpath=3D"/tmp/results"
>
<header name=3D"User-Agent" value=3D"de-ch"/>
<header name=3D"Accept-Language" value=3D"Mozilla/4.0"/>
</config>
...
</testSpec>
=20
Note: the value attributes need to be swapped in the example.
-----Original Message-----
From: Dierk K=F6nig [mailto:Dierk.Koenig@canoo.com]
Sent: May 07, 2002 7:58 AM
To: webtest@lists.canoo.com
Subject: RE: [Webtest] Adding User Agent and Http Headers in general
Hiall,
=20
You can now add http headers to the config.
The old config setup still works without change.
=20
See the syntax ref for details.
=20
Http headers are sent from your browser to the webapplication. They =
reflect local
settings, like the language that the user prefers, the current browser =
version, etc.
Webapplications sometimes use this information to display localized =
information
or optimized pages.
With the new http header support you can test your application to deal =
with this
information correctly.
=20
have fun
Mittie
-----Original Message-----
From: webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Mike Los
Sent: Montag, 6. Mai 2002 19:33
To: webtest@lists.canoo.com
Subject: [Webtest] Adding User Agent to
Hi,=20
Please consider adding the ability to specify a user agent attribute =
(e.g., userAgent) as part of the config element.=20
This would allow the test to include a specific user agent string; =
e.g., <config userAgent=3D"Mozilla/4.0" ...>=20
..=20
------_=_NextPart_001_01C1F604.475290E0
Content-Type: text/html;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<TITLE>Adding User Agent to</TITLE>
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<TABLE cellPadding=3D5 width=3D0 bgColor=3D#ffffc0 border=3D0>
<TBODY>
<TR>
<TD align=3Dright><B>config</B></TD></TR>
<TR>
<TD>
<DIV class=3Dcode><<FONT =
color=3Dblue>testSpec</FONT> <FONT=20
color=3Ddarkgreen>name</FONT>=3D"<FONT=20
=
color=3Dbrown>Visit all pages without update</FONT>"=
><BR> =20
<<FONT color=3Dblue>config</FONT> <BR> =
<FONT=20
color=3Ddarkgreen>host</FONT>=3D"<FONT=20
color=3Dbrown>localhost</FONT>"<BR> =
<FONT=20
color=3Ddarkgreen>port</FONT>=3D"<FONT=20
color=3Dbrown>8080</FONT>"<BR> <FONT=20
color=3Ddarkgreen>protocol</FONT>=3D"<FONT=20
color=3Dbrown>http</FONT>"<BR> <FONT=20
color=3Ddarkgreen>basepath</FONT>=3D"<FONT=20
color=3Dbrown>frontnet</FONT>"<BR> <FONT =
color=3Ddarkgreen>summary</FONT>=3D"<FONT=20
color=3Dbrown>true</FONT>"<BR> <FONT=20
color=3Ddarkgreen>verbose</FONT>=3D"<FONT=20
color=3Dbrown>true</FONT>"<BR> <FONT=20
color=3Ddarkgreen>saveresponse</FONT>=3D"<FONT=20
color=3Dbrown>true</FONT>"<BR> <FONT=20
color=3Ddarkgreen>resultpath</FONT>=3D"<FONT=20
color=3Dbrown>/tmp/results</FONT>"<BR> =
><BR> =20
<<FONT color=3Dblue>header</FONT> <FONT=20
color=3Ddarkgreen>name</FONT>=3D"<FONT=20
color=3Dbrown>User-Agent</FONT>" <FONT=20
color=3Ddarkgreen>value</FONT>=3D"<FONT=20
color=3Dbrown>de-ch</FONT>"/><BR> =
<<FONT=20
color=3Dblue>header</FONT> <FONT =
color=3Ddarkgreen>name</FONT>=3D"<FONT=20
color=3Dbrown>Accept-Language</FONT>" <FONT=20
color=3Ddarkgreen>value</FONT>=3D"<FONT=20
color=3Dbrown>Mozilla/4.0</FONT>"/><BR> </<FONT =
color=3Dblue>config</FONT>><BR> ...<BR></<FONT=20
=
color=3Dblue>testSpec</FONT>><BR></DIV></TD></TR></TBODY></TABLE></DI=
V>
<DIV><FONT face=3DArial color=3D#008080></FONT> </DIV>
<DIV><SPAN class=3D278401620-07052002><FONT face=3DArial =
color=3D#008080>Note: the=20
value attributes need to be swapped in the example.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Dierk K=F6nig=20
[mailto:Dierk.Koenig@canoo.com]<BR><B>Sent:</B> May 07, 2002 7:58=20
AM<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> RE: =
[Webtest]=20
Adding User Agent and Http Headers in general<BR><BR></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002>Hiall,</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>You can now add=20
http headers to the config.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>The old config=20
setup still works without change.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>See the syntax=20
ref for details.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>Http headers=20
are sent from your browser to the webapplication. They reflect=20
local</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>settings, like=20
the language that the user prefers, the current browser version,=20
etc.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>Webapplications=20
sometimes use this information to display localized=20
information</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>or optimized=20
pages.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>With the new=20
http header support you can test your application to deal with=20
this</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>information=20
correctly.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D074424114-07052002>have=20
fun</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN=20
class=3D074424114-07052002>Mittie</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff =
2px solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
Behalf Of </B>Mike Los<BR><B>Sent:</B> Montag, 6. Mai 2002=20
19:33<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
Adding User Agent to<BR><BR></FONT></DIV><!-- Converted from =
text/rtf format -->
<P><FONT size=3D2>Hi,</FONT> <BR><FONT size=3D2>Please consider =
adding the=20
ability to specify a user agent attribute (e.g., userAgent) as part =
of the=20
config element.</FONT> <BR><FONT size=3D2>This would allow the test =
to include=20
a specific user agent string; e.g., <config=20
userAgent=3D"Mozilla/4.0" ...></FONT> </P>
<P><FONT color=3D#0000ff size=3D2><SPAN=20
=
class=3D074424114-07052002> .. </SPAN></FONT></P></BLOCKQUOTE>=
</BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C1F604.475290E0--