[Webtest] For info: upgraded htmlunit
Erskine, Chris
webtest@lists.canoo.com
Wed, 5 Jan 2005 06:56:21 -0600
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_01C4F325.F5131903
Content-Type: text/plain
>From the bug that was opened for setStrictMode on HtmlUnit
(https://sourceforge.net/tracker/?func=detail
<https://sourceforge.net/tracker/?func=detail&atid=448266&aid=867340&group_i
d=47038> &atid=448266&aid=867340&group_id=47038):
The problem with putting it on WebClient is that it would be
exposing the implemenation on the interface.
setStrictMode was deprecated in 3.0. It seems that you can
now use the static DefaultHttpParams.getDefaultParams()
.set*Parameter(sting, value) to set "strictness" as you see
fit with no changes required to htmlunit. If that doesn't
get what you need then please open a new bug with more
information about which parameter you need to have control
of from your tests.
This bug was closed since the user can now get to DefaultHttpParams. The
issue now would be adding a task in WebTest to expose this so that you can
set it.
Chris Erskine
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO 80919
Phone: 719-265-5962
_____
From: webtest-admin@gate2.canoo.com [mailto:webtest-admin@gate2.canoo.com]
On Behalf Of HURSTG@Nationwide.com
Sent: Tuesday, January 04, 2005 9:19 AM
To: webtest@gate2.canoo.com
Subject: Re: [Webtest] For info: upgraded htmlunit
Is there a way to use setStrictMode in HTTPClient yet? The new HTMLUnit and
HTTPClient jars seem to be packaging the cookies in a slightly different
format now (indicating a different default cookie policy), but they are
still being sent in individual client request headers.
Jerry Hurst
Marc Guillemot <mguillemot@yahoo.fr>
Sent by: webtest-admin@gate2.canoo.com
01/03/2005 10:24 AM
Please respond to webtest
T
To: webtest@gate2.canoo.com
cc:
bcc:
Subject: [Webtest] For info: upgraded htmlunit
Hi,
I've upgraded the htmlunit jar and related libs to current build from
htmlunit's cvs. This makes the last changes in
htmlunit available for webtest too:
http://htmlunit.sourceforge.net/changes-report.html
The main changes are:
- improved JavaScript support: events, outerHTML, insertAdjacentHTML,
innerHTML, ...
- upgrate from commons-httpclient-2.0.1.jar to
commons-httpclient-3.0-beta1.jar
- upgrate of Rhino javascript engine from js-1.5R4.1.jar to js-1.6R1.jar
- upgrate of the html parser nekohtml-0.8.1.jar to nekohtml-0.9.4.jar
If the server wakes up to perform a build, this should be available in build
644.
Marc.
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
------_=_NextPart_001_01C4F325.F5131903
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PostalCode"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"State"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"address"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:sans-serif;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>From the bug that was opened for
setStrictMode on HtmlUnit (</span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><a
href=3D"https://sourceforge.net/tracker/?func=3Ddetail&atid=3D448266=
&aid=3D867340&group_id=3D47038">https://sourceforge.net/tracker/=
?func=3Ddetail&atid=3D448266&aid=3D867340&group_id=3D47038</=
a>):<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>The
problem with putting it on WebClient is that it would =
be<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>exposing
the implemenation on the interface.<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>setStrictMode
was deprecated in 3.0. It seems that you =
can<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>now
use the static DefaultHttpParams.getDefaultParams()<o:p></o:p></span></f=
ont></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>.set*Parameter(sting,
value) to set "strictness" as you =
see<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>fit
with no changes required to htmlunit. If that =
doesn't<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>get
what you need then please open a new bug with =
more<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>information
about which parameter you need to have =
control<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>of
from your tests.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>=
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>This bug was closed since the user =
can now
get to DefaultHttpParams. The issue now would be adding a task in =
WebTest
to expose this so that you can set it.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>=
<div>
<p><font size=3D3 color=3Dnavy face=3DArial><span =
style=3D'font-size:12.0pt;font-family:
Arial;color:navy'>Chris Erskine</span></font><font color=3Dnavy><span
style=3D'color:navy'> <br>
</span></font><font color=3Dnavy face=3DArial><span =
style=3D'font-family:Arial;
color:navy'> </span></font><font color=3Dnavy><span =
style=3D'color:navy'> <br>
</span></font><font size=3D1 color=3Dnavy face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:navy'>EDS Consulting =
Services</span></font><font
color=3Dnavy><span style=3D'color:navy'> <br>
</span></font><font size=3D1 color=3Dnavy face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:navy'>F5-EDS-001</span></font><font =
color=3Dnavy><span
style=3D'color:navy'> <br>
</span></font><font size=3D1 color=3Dnavy face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:navy'>2424 Garden of the <st1:address =
w:st=3D"on"><st1:Street
w:st=3D"on">Gods Rd</st1:Street><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New Roman"'> <br>
</span></font><st1:City w:st=3D"on">Colorado Springs</st1:City>, =
<st1:State
w:st=3D"on">CO</st1:State> <st1:PostalCode =
w:st=3D"on">80919</st1:PostalCode></st1:address></span></font><font
color=3Dnavy><span style=3D'color:navy'> <br>
</span></font><font color=3Dnavy face=3DArial><span =
style=3D'font-family:Arial;
color:navy'> </span></font><font color=3Dnavy><span =
style=3D'color:navy'> <br>
</span></font><font size=3D1 color=3Dnavy face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:navy'>Phone: 719-265-5962</span></font><font
color=3Dnavy><span style=3D'color:navy'> </span></font><o:p></o:p></p>
</div>
<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
webtest-admin@gate2.canoo.com [mailto:webtest-admin@gate2.canoo.com] =
<b><span
style=3D'font-weight:bold'>On Behalf Of =
</span></b>HURSTG@Nationwide.com<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, January =
04, 2005
9:19 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">webtest@gate2.canoo.com</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Webtest] =
For info:
upgraded htmlunit</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
</span></font><font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;
font-family:sans-serif'>Is there a way to use setStrictMode in =
HTTPClient yet?
The new HTMLUnit and HTTPClient jars seem to be packaging the cookies =
in a
slightly different format now (indicating a different default cookie =
policy),
but they are still being sent in individual client request headers.<br>
<br>
Jerry Hurst<br>
<br>
</span></font><br>
<br>
<o:p></o:p></p>
<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%"
style=3D'width:100.0%'>
<tr>
<td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
</td>
<td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
<p class=3DMsoNormal><b><font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:
7.5pt;font-family:sans-serif;font-weight:bold'>Marc Guillemot
<mguillemot@yahoo.fr></span></font></b> <br>
<br>
<i><font size=3D1 color=3Dgray face=3Dsans-serif><span =
style=3D'font-size:7.5pt;
font-family:sans-serif;color:gray;font-style:italic'>Sent by: =
webtest-admin@gate2.canoo.com</span></font></i>
<br>
<br>
<br>
<br>
<br>
<br>
<b><font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:
sans-serif;font-weight:bold'>01/03/2005 10:24 AM</span></font></b> =
<br>
<font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:sans-serif'>Please
respond to webtest</span></font> <o:p></o:p></p>
</td>
<td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'> </span></font><br>
<font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial'>T</span></font>
<br>
<font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:sans-serif'>To:
<st1:PersonName =
w:st=3D"on">webtest@gate2.canoo.com</st1:PersonName></span></font>
<br>
<font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:sans-serif'>cc:
</span></font> <br>
<br>
<font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:sans-serif'>bcc:
</span></font> <br>
<font size=3D1 face=3Dsans-serif><span =
style=3D'font-size:7.5pt;font-family:sans-serif'>Subject:
[Webtest] For info: upgraded =
htmlunit</span></font><o:p></o:p></p>
</td>
</tr>
</table>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
<br>
<br>
</span></font><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Hi,<br>
<br>
I've upgraded the htmlunit jar and related libs to current build from
htmlunit's cvs. This makes the last changes in <br>
htmlunit available for webtest too:<br>
http://htmlunit.sourceforge.net/changes-report.html<br>
<br>
The main changes are:<br>
- improved JavaScript support: events, outerHTML, insertAdjacentHTML,
innerHTML, ...<br>
- upgrate from commons-httpclient-2.0.1.jar to =
commons-httpclient-3.0-beta1.jar<br>
- upgrate of Rhino javascript engine from js-1.5R4.1.jar to js-1.6R1.jar=
<br>
- upgrate of the html parser nekohtml-0.8.1.jar to =
nekohtml-0.9.4.jar<br>
<br>
If the server wakes up to perform a build, this should be available in =
build
644.<br>
<br>
Marc.<br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
WebTest@lists.canoo.com<br>
http://lists.canoo.com/mailman/listinfo/webtest<br>
<br>
</span></font><o:p></o:p></p>
</div>
</div>
</body>
</html>
------_=_NextPart_001_01C4F325.F5131903--