jwebunit-development Mailing List for JWebUnit
Brought to you by:
henryju
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(98) |
Jul
(45) |
Aug
(49) |
Sep
(90) |
Oct
(28) |
Nov
(18) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(14) |
Feb
(21) |
Mar
(52) |
Apr
(39) |
May
(61) |
Jun
(35) |
Jul
(42) |
Aug
(31) |
Sep
(34) |
Oct
(16) |
Nov
(14) |
Dec
(61) |
2006 |
Jan
(39) |
Feb
(11) |
Mar
(29) |
Apr
(29) |
May
(30) |
Jun
(145) |
Jul
(61) |
Aug
(40) |
Sep
(36) |
Oct
(66) |
Nov
(50) |
Dec
(11) |
2007 |
Jan
(30) |
Feb
(1) |
Mar
(47) |
Apr
(9) |
May
(36) |
Jun
(13) |
Jul
(7) |
Aug
(5) |
Sep
(6) |
Oct
(3) |
Nov
(11) |
Dec
(36) |
2008 |
Jan
(12) |
Feb
|
Mar
(4) |
Apr
(29) |
May
(1) |
Jun
(8) |
Jul
(10) |
Aug
|
Sep
(2) |
Oct
(77) |
Nov
(107) |
Dec
(46) |
2009 |
Jan
(17) |
Feb
(13) |
Mar
(27) |
Apr
(5) |
May
(8) |
Jun
(17) |
Jul
(10) |
Aug
(25) |
Sep
(15) |
Oct
(4) |
Nov
(4) |
Dec
(10) |
2010 |
Jan
|
Feb
(6) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(5) |
Jul
(9) |
Aug
(5) |
Sep
(5) |
Oct
(63) |
Nov
(9) |
Dec
(1) |
2011 |
Jan
(9) |
Feb
(3) |
Mar
(15) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(14) |
Sep
(15) |
Oct
(11) |
Nov
(1) |
Dec
(2) |
2012 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(14) |
Aug
(17) |
Sep
(8) |
Oct
(1) |
Nov
(17) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(13) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
From: Jevon W. <je...@je...> - 2015-10-08 22:49:04
|
Thank you for doing the release Julien! Also happy for mailing lists to stay on SourceForge for now, until we have a reason to migrate to another one (I'm guessing Google Groups). Jevon On Fri, Oct 9, 2015 at 9:59 AM, Julien HENRY <he...@ya...> wrote: > Hi guys, > > I did the first release of JWebUnit from GitHub. Artifacts should come to > central soon. For other you can look at: > https://github.com/JWebUnit/jwebunit/releases/tag/jwebunit-3.3 > > Web site is: > https://jwebunit.github.io/jwebunit > > The only remaining SourceForge dependencies are the two mailing lists (I > don't plan to migrate issues). > > I propose to keep mailing lists on SourceForge for now... > > ++ > > Julien > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > |
From: Tim P. <ti...@pa...> - 2015-10-08 22:47:35
|
Congrats and thanks. On 8 October 2015 at 21:59, Julien HENRY <he...@ya...> wrote: > Hi guys, > > I did the first release of JWebUnit from GitHub. Artifacts should come to > central soon. For other you can look at: > https://github.com/JWebUnit/jwebunit/releases/tag/jwebunit-3.3 > > Web site is: > https://jwebunit.github.io/jwebunit > > The only remaining SourceForge dependencies are the two mailing lists (I > don't plan to migrate issues). > > I propose to keep mailing lists on SourceForge for now... > > ++ > > Julien > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > -- Tim Pizey http://pizey.net/~timp |
From: Julien H. <he...@ya...> - 2015-10-08 21:02:07
|
Hi guys, I did the first release of JWebUnit from GitHub. Artifacts should come to central soon. For other you can look at:https://github.com/JWebUnit/jwebunit/releases/tag/jwebunit-3.3 Web site is:https://jwebunit.github.io/jwebunit The only remaining SourceForge dependencies are the two mailing lists (I don't plan to migrate issues). I propose to keep mailing lists on SourceForge for now... ++ Julien |
From: Caspar K. <ca...@ck...> - 2015-10-06 23:22:35
|
Hello, Would you please release HtmlUnit 3.3? It's blocking upgrade of a few other libraries. I raised an issue at your new github repo as well with more details, but I suspect you may not be subscribed to/watching the repo yet, so here's a direct link: https://github.com/JWebUnit/jwebunit/issues/1 Thanks, - Caspar |
From: Jevon W. <je...@je...> - 2015-07-29 22:36:49
|
Awesome work, it's looking great so far! I particularly like the travis-ci badge. Jevon On Wed, Jul 29, 2015 at 11:17 PM, Julien HENRY <he...@ya...> wrote: > In progress: > https://github.com/JWebUnit/jwebunit > > > ________________________________ > De : Julien HENRY <he...@ya...> > À : Jevon Wright <je...@je...>; JWebUnit Development mail list > <jwe...@li...> > Envoyé le : Mercredi 29 juillet 2015 11h16 > > Objet : Re: [JWebUnit-development] Move to GitHub > >> Will we be able to use GitHub Pages for hosting the project docs? > > Yes. > > ________________________________ > De : Jevon Wright <je...@je...> > À : JWebUnit Development mail list > <jwe...@li...>; Julien HENRY > <he...@ya...> > Envoyé le : Mercredi 29 juillet 2015 0h05 > Objet : Re: [JWebUnit-development] Move to GitHub > > > > Hi Julien, > Totally agree - sounds like a great idea! Will we be able to use GitHub > Pages for hosting the project docs? > Jevon > On 29/07/2015 1:33 AM, "Julien HENRY" <he...@ya...> wrote: > > > > Hi here, > > If there is no objection I will try to move JWebUnit to GitHub in the coming > weeks. Sourceforge is no more reliable and GitHub will be a better place to > have fork/external contributions. > > ++ > > Julien > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > |
From: Julien H. <he...@ya...> - 2015-07-29 11:17:18
|
In progress:https://github.com/JWebUnit/jwebunit De : Julien HENRY <he...@ya...> À : Jevon Wright <je...@je...>; JWebUnit Development mail list <jwe...@li...> Envoyé le : Mercredi 29 juillet 2015 11h16 Objet : Re: [JWebUnit-development] Move to GitHub > Will we be able to use GitHub Pages for hosting the project docs? Yes. De : Jevon Wright <je...@je...> À : JWebUnit Development mail list <jwe...@li...>; Julien HENRY <he...@ya...> Envoyé le : Mercredi 29 juillet 2015 0h05 Objet : Re: [JWebUnit-development] Move to GitHub Hi Julien,Totally agree - sounds like a great idea! Will we be able to use GitHub Pages for hosting the project docs?JevonOn 29/07/2015 1:33 AM, "Julien HENRY" <he...@ya...> wrote: Hi here, If there is no objection I will try to move JWebUnit to GitHub in the coming weeks. Sourceforge is no more reliable and GitHub will be a better place to have fork/external contributions. ++ Julien ------------------------------------------------------------------------------ _______________________________________________ JWebUnit-development mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-development ------------------------------------------------------------------------------ _______________________________________________ JWebUnit-development mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-development |
From: <he...@us...> - 2015-07-29 09:18:55
|
Revision: 982 http://sourceforge.net/p/jwebunit/code/982 Author: henryju Date: 2015-07-29 09:18:53 +0000 (Wed, 29 Jul 2015) Log Message: ----------- Update to HTMLUnit 2.18 Modified Paths: -------------- trunk/jwebunit-htmlunit-plugin/pom.xml trunk/src/changes/changes.xml Modified: trunk/jwebunit-htmlunit-plugin/pom.xml =================================================================== --- trunk/jwebunit-htmlunit-plugin/pom.xml 2015-07-13 16:42:44 UTC (rev 981) +++ trunk/jwebunit-htmlunit-plugin/pom.xml 2015-07-29 09:18:53 UTC (rev 982) @@ -23,7 +23,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> - <version>2.17</version> + <version>2.18</version> <exclusions> <exclusion> <artifactId>commons-logging</artifactId> Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2015-07-13 16:42:44 UTC (rev 981) +++ trunk/src/changes/changes.xml 2015-07-29 09:18:53 UTC (rev 982) @@ -30,7 +30,7 @@ </author> </properties> <body> - <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> + <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.18, Java 7"> <action type="fix" dev="henryju" issue="135" due-to="Joseph Walton"> Exception from setWorkingForm should indicate the requested form details. </action> @@ -41,7 +41,7 @@ WebTester.submit() does not find submit button. </action> <action type="update" dev="henryju"> - Updated to HtmlUnit 2.17. + Updated to HtmlUnit 2.18. </action> <action type="update" dev="henryju"> Requires Java 7+. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Julien H. <he...@ya...> - 2015-07-29 09:16:52
|
> Will we be able to use GitHub Pages for hosting the project docs? Yes. De : Jevon Wright <je...@je...> À : JWebUnit Development mail list <jwe...@li...>; Julien HENRY <he...@ya...> Envoyé le : Mercredi 29 juillet 2015 0h05 Objet : Re: [JWebUnit-development] Move to GitHub Hi Julien,Totally agree - sounds like a great idea! Will we be able to use GitHub Pages for hosting the project docs?JevonOn 29/07/2015 1:33 AM, "Julien HENRY" <he...@ya...> wrote: Hi here, If there is no objection I will try to move JWebUnit to GitHub in the coming weeks. Sourceforge is no more reliable and GitHub will be a better place to have fork/external contributions. ++ Julien ------------------------------------------------------------------------------ _______________________________________________ JWebUnit-development mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-development |
From: Jevon W. <je...@je...> - 2015-07-28 22:37:08
|
Hi Julien, Totally agree - sounds like a great idea! Will we be able to use GitHub Pages for hosting the project docs? Jevon On 29/07/2015 1:33 AM, "Julien HENRY" <he...@ya...> wrote: > Hi here, > > If there is no objection I will try to move JWebUnit to GitHub in the > coming weeks. Sourceforge is no more reliable and GitHub will be a better > place to have fork/external contributions. > > ++ > > Julien > > > ------------------------------------------------------------------------------ > > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > |
From: Julien H. <he...@ya...> - 2015-07-28 13:33:42
|
Hi here, If there is no objection I will try to move JWebUnit to GitHub in the coming weeks. Sourceforge is no more reliable and GitHub will be a better place to have fork/external contributions. ++ Julien |
From: Julien H. <he...@ya...> - 2015-07-28 13:32:13
|
Hi Parham, I just pushed a new SNAPSHOT:https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3-SNAPSHOT/ Code is not committed since Sourceforge SVN is still down. ++ Julien De : "Parham, Clinton" <cp...@bi...> À : Julien HENRY <he...@ya...>; Usage problems for JWebUnit <jwe...@li...> Envoyé le : Lundi 27 juillet 2015 17h05 Objet : RE: [JWebUnit-users] New build for HTMLUnit 2.17 #yiv7348327306 #yiv7348327306 -- _filtered #yiv7348327306 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7348327306 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7348327306 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv7348327306 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv7348327306 #yiv7348327306 p.yiv7348327306MsoNormal, #yiv7348327306 li.yiv7348327306MsoNormal, #yiv7348327306 div.yiv7348327306MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv7348327306 a:link, #yiv7348327306 span.yiv7348327306MsoHyperlink {color:blue;text-decoration:underline;}#yiv7348327306 a:visited, #yiv7348327306 span.yiv7348327306MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv7348327306 p.yiv7348327306MsoAcetate, #yiv7348327306 li.yiv7348327306MsoAcetate, #yiv7348327306 div.yiv7348327306MsoAcetate {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv7348327306 p.yiv7348327306msonormal, #yiv7348327306 li.yiv7348327306msonormal, #yiv7348327306 div.yiv7348327306msonormal {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 p.yiv7348327306msochpdefault, #yiv7348327306 li.yiv7348327306msochpdefault, #yiv7348327306 div.yiv7348327306msochpdefault {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 span.yiv7348327306msohyperlink {}#yiv7348327306 span.yiv7348327306msohyperlinkfollowed {}#yiv7348327306 span.yiv7348327306emailstyle17 {}#yiv7348327306 p.yiv7348327306msonormal1, #yiv7348327306 li.yiv7348327306msonormal1, #yiv7348327306 div.yiv7348327306msonormal1 {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv7348327306 span.yiv7348327306msohyperlink1 {color:blue;text-decoration:underline;}#yiv7348327306 span.yiv7348327306msohyperlinkfollowed1 {color:purple;text-decoration:underline;}#yiv7348327306 span.yiv7348327306emailstyle171 {color:windowtext;}#yiv7348327306 p.yiv7348327306msochpdefault1, #yiv7348327306 li.yiv7348327306msochpdefault1, #yiv7348327306 div.yiv7348327306msochpdefault1 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 span.yiv7348327306BalloonTextChar {}#yiv7348327306 span.yiv7348327306EmailStyle29 {color:#1F497D;}#yiv7348327306 .yiv7348327306MsoChpDefault {font-size:10.0pt;} _filtered #yiv7348327306 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv7348327306 div.yiv7348327306WordSection1 {}#yiv7348327306 FYI: HTMLUnit 2.18 was just released. Since JWebUnit 3.3 has not been released, any chance you could update HTMLUnit dependency? Thanks. From: Julien HENRY [mailto:he...@ya...] Sent: Wednesday, July 15, 2015 5:15 AM To: Usage problems for JWebUnit Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 See my message on dev list. De : "Parham, Clinton" <cp...@bi...> À : "'jwe...@li...'" <jwe...@li...> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint | The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. | ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-users | The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. | |
From: Julien H. <he...@ya...> - 2015-07-13 16:47:54
|
Hi guys, I have published a SNAPSHOT version of JWebUnit 3.3. Please test and report any issue before I do the release:https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/jwebunit/ ++ Julien |
From: <he...@us...> - 2015-07-13 16:42:47
|
Revision: 981 http://sourceforge.net/p/jwebunit/code/981 Author: henryju Date: 2015-07-13 16:42:44 +0000 (Mon, 13 Jul 2015) Log Message: ----------- #135 Exception from setWorkingForm should indicate the requested form details Modified Paths: -------------- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java trunk/src/changes/changes.xml Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java =================================================================== --- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 16:33:41 UTC (rev 980) +++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 16:42:44 UTC (rev 981) @@ -399,7 +399,11 @@ */ @Override public void setWorkingForm(int index) { - setWorkingForm(getForm(index)); + HtmlForm newForm = getForm(index); + if (newForm == null) { + throw new UnableToSetFormException("No form found in current page with index " + index); + } + setWorkingForm(newForm); } /** @@ -407,7 +411,11 @@ */ @Override public void setWorkingForm(String nameOrId, int index) { - setWorkingForm(getForm(nameOrId, index)); + HtmlForm newForm = getForm(nameOrId, index); + if (newForm == null) { + throw new UnableToSetFormException("No form found in current page with name or id [" + nameOrId + "] and index " + index); + } + setWorkingForm(newForm); } /** @@ -1183,9 +1191,6 @@ } private void setWorkingForm(HtmlForm newForm) { - if (newForm == null) { - throw new UnableToSetFormException("Attempted to set form to null."); - } form = newForm; } Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2015-07-13 16:33:41 UTC (rev 980) +++ trunk/src/changes/changes.xml 2015-07-13 16:42:44 UTC (rev 981) @@ -31,6 +31,9 @@ </properties> <body> <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> + <action type="fix" dev="henryju" issue="135" due-to="Joseph Walton"> + Exception from setWorkingForm should indicate the requested form details. + </action> <action type="fix" dev="henryju" issue="136" due-to="Randy Chang"> Setting User-Agent not work when multiple WebTesters with different User-Agent. </action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2015-07-13 16:33:43
|
Revision: 980 http://sourceforge.net/p/jwebunit/code/980 Author: henryju Date: 2015-07-13 16:33:41 +0000 (Mon, 13 Jul 2015) Log Message: ----------- #136 Setting User-Agent not work when multiple WebTesters with different User-Agent Modified Paths: -------------- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java trunk/src/changes/changes.xml Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java =================================================================== --- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 16:29:01 UTC (rev 979) +++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 16:33:41 UTC (rev 980) @@ -841,7 +841,7 @@ */ BrowserVersion bv; if (testContext.getUserAgent() != null) { - bv = BrowserVersion.FIREFOX_38; + bv = BrowserVersion.FIREFOX_38.clone(); bv.setUserAgent(testContext.getUserAgent()); } else { bv = defaultBrowserVersion; // use default (which includes a full UserAgent string) Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2015-07-13 16:29:01 UTC (rev 979) +++ trunk/src/changes/changes.xml 2015-07-13 16:33:41 UTC (rev 980) @@ -31,6 +31,9 @@ </properties> <body> <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> + <action type="fix" dev="henryju" issue="136" due-to="Randy Chang"> + Setting User-Agent not work when multiple WebTesters with different User-Agent. + </action> <action type="fix" dev="henryju" issue="129,134" due-to="Ivo Maixner, Joerg Troester"> WebTester.submit() does not find submit button. </action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2015-07-13 16:29:03
|
Revision: 979 http://sourceforge.net/p/jwebunit/code/979 Author: henryju Date: 2015-07-13 16:29:01 +0000 (Mon, 13 Jul 2015) Log Message: ----------- Update change.xml Modified Paths: -------------- trunk/src/changes/changes.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2015-07-13 16:24:04 UTC (rev 978) +++ trunk/src/changes/changes.xml 2015-07-13 16:29:01 UTC (rev 979) @@ -31,7 +31,7 @@ </properties> <body> <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> - <action type="fix" dev="henryju" issue="134" due-to="Joerg Troester"> + <action type="fix" dev="henryju" issue="129,134" due-to="Ivo Maixner, Joerg Troester"> WebTester.submit() does not find submit button. </action> <action type="update" dev="henryju"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2015-07-13 16:24:07
|
Revision: 978 http://sourceforge.net/p/jwebunit/code/978 Author: henryju Date: 2015-07-13 16:24:04 +0000 (Mon, 13 Jul 2015) Log Message: ----------- #134 WebTester.submit() does not find submit button Modified Paths: -------------- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java trunk/src/changes/changes.xml Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java =================================================================== --- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2015-07-13 16:24:04 UTC (rev 978) @@ -34,9 +34,11 @@ @Test public void testAssertButtonwithOneFormfound() { beginAt("/pageWithOneForm.html"); + assertSubmitButtonPresent(); assertButtonPresent("button1"); assertButtonPresent("buttonOutside"); setWorkingForm("form1"); + assertSubmitButtonPresent(); assertButtonPresent("button1"); assertButtonPresent("buttonOutside"); assertButtonPresent("button1"); Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java =================================================================== --- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java 2015-07-13 16:24:04 UTC (rev 978) @@ -58,6 +58,10 @@ setTextField("color", "red"); submit(); assertTextPresent("color=[red]"); + clickLink("return"); + setTextField("color", "black"); + submit("button2"); + assertTextPresent("color=[black]"); } @Test Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html =================================================================== --- trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2015-07-13 16:24:04 UTC (rev 978) @@ -25,7 +25,7 @@ <html> <body> <form id="form1"> -<button id="button1">Testbutton</button> +<button id="button1" type="submit">Testbutton</button> </form> <button id="buttonOutside">Outside</button> <input type="button" value="Input button" /> Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html =================================================================== --- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html 2015-07-13 16:24:04 UTC (rev 978) @@ -28,6 +28,7 @@ <input type="submit" name="button" value="click me"> <input type="hidden" name="myReferer" value="FormSubmissionTest/SingleNamedButtonForm.html"> <input type="hidden" name="hidden" value="foo"> + <button type="submit" name="button2">A Button</button> </form> </body> </html> \ No newline at end of file Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java =================================================================== --- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 16:24:04 UTC (rev 978) @@ -1239,9 +1239,11 @@ List<HtmlElement> btns = new LinkedList<HtmlElement>(); if (form != null) { btns.addAll(getForm().getInputsByName(buttonName)); + btns.addAll(getForm().getButtonsByName(buttonName)); } else { for (HtmlForm f : getCurrentPage().getForms()) { btns.addAll(f.getInputsByName(buttonName)); + btns.addAll(f.getButtonsByName(buttonName)); } } for (HtmlElement o : btns) { @@ -1276,9 +1278,11 @@ List<HtmlElement> btns = new LinkedList<HtmlElement>(); if (form != null) { btns.addAll(getForm().getInputsByName(buttonName)); + btns.addAll(getForm().getButtonsByName(buttonName)); } else { for (HtmlForm f : getCurrentPage().getForms()) { btns.addAll(f.getInputsByName(buttonName)); + btns.addAll(f.getButtonsByName(buttonName)); } } for (HtmlElement o : btns) { @@ -1314,9 +1318,11 @@ List<HtmlElement> btns = new LinkedList<HtmlElement>(); if (form != null) { btns.addAll(getForm().getInputsByName(buttonName)); + btns.addAll(getForm().getButtonsByName(buttonName)); } else { for (HtmlForm f : getCurrentPage().getForms()) { btns.addAll(f.getInputsByName(buttonName)); + btns.addAll(f.getButtonsByName(buttonName)); } } for (HtmlElement o : btns) { @@ -1351,16 +1357,54 @@ } return null; } + + private HtmlElement getSubmitButton() { + List<HtmlElement> btns = new LinkedList<HtmlElement>(); + if (form != null) { + btns.addAll(getForm().getElementsByAttribute("input", "type", "submit")); + btns.addAll(getForm().getElementsByAttribute("input", "type", "image")); + btns.addAll(getForm().getElementsByAttribute("button", "type", "submit")); + } else { + for (HtmlForm f : getCurrentPage().getForms()) { + btns.addAll(f.getElementsByAttribute("input", "type", "submit")); + btns.addAll(f.getElementsByAttribute("input", "type", "image")); + btns.addAll(f.getElementsByAttribute("button", "type", "submit")); + } + } + for (HtmlElement o : btns) { + if (o instanceof HtmlSubmitInput) { + HtmlSubmitInput btn = (HtmlSubmitInput) o; + if (form == null) { + form = btn.getEnclosingFormOrDie(); + } + return btn; + } + if (o instanceof HtmlImageInput) { + HtmlImageInput btn = (HtmlImageInput) o; + if (form == null) { + form = btn.getEnclosingFormOrDie(); + } + return btn; + } + if (o instanceof HtmlButton) { + HtmlButton btn = (HtmlButton) o; + if (btn.getTypeAttribute().equals("submit")) { + if (form == null) { + form = btn.getEnclosingFormOrDie(); + } + return btn; + } + } + } + return null; + } /** * {@inheritDoc} */ @Override public boolean hasSubmitButton() { - final HtmlForm htmlForm = getForm(); - List<?> l = htmlForm.getByXPath("//input[@type='submit' or @type='image']"); - List<?> l2 = htmlForm.getByXPath("//button[@type='submit']"); - return (l.size() > 0 || l2.size() > 0); + return getSubmitButton() != null; } /** @@ -1589,36 +1633,20 @@ */ @Override public void submit() { + HtmlElement btn = getSubmitButton(); + if (btn == null) { + throw new RuntimeException("No submit button found in current form."); + } try { - Object[] inpt = getForm().getHtmlElementsByTagName("input") - .toArray(); - for (int i = 0; i < inpt.length; i++) { - if (inpt[i] instanceof HtmlSubmitInput) { - ((HtmlSubmitInput) inpt[i]).click(); - return; - } - if (inpt[i] instanceof HtmlImageInput) { - ((HtmlImageInput) inpt[i]).click(); - return; - } - if (inpt[i] instanceof HtmlButton - && ((HtmlButton) inpt[i]).getTypeAttribute().equals( - "submit")) { - ((HtmlButton) inpt[i]).click(); - return; - } - } - + btn.click(); } catch (FailingHttpStatusCodeException e) { throw new TestingEngineResponseException( - e.getStatusCode(), e); + e.getStatusCode(), e); } catch (IOException e) { throw new RuntimeException( - "HtmlUnit Error submitting form using default submit button, " - + "check that form has single submit button, otherwise use submit(name): \n", - e); + "HtmlUnit Error submitting form using default submit button, " + + "check that form has single submit button, otherwise use submit(name): \n", e); } - throw new RuntimeException("No submit button found in current form."); } /** @@ -1629,37 +1657,19 @@ */ @Override public void submit(String buttonName) { - List<HtmlElement> l = new LinkedList<HtmlElement>(); - l.addAll(getForm().getInputsByName(buttonName)); - l.addAll(getForm().getButtonsByName(buttonName)); + HtmlElement btn = getSubmitButton(buttonName); + if (btn == null) { + throw new RuntimeException("No submit button found in current form."); + } try { - for (HtmlElement o : l) { - if (o instanceof HtmlSubmitInput) { - HtmlSubmitInput inpt = (HtmlSubmitInput) o; - inpt.click(); - return; - } - if (o instanceof HtmlImageInput) { - HtmlImageInput inpt = (HtmlImageInput) o; - inpt.click(); - return; - } - if (o instanceof HtmlButton) { - HtmlButton inpt = (HtmlButton) o; - if (inpt.getTypeAttribute().equals("submit")) { - inpt.click(); - return; - } - } - } + btn.click(); } catch (FailingHttpStatusCodeException e) { throw new TestingEngineResponseException( - e.getStatusCode(), e); + e.getStatusCode(), e); } catch (IOException e) { throw new RuntimeException( - "HtmlUnit Error submitting form using default submit button", e); + "HtmlUnit Error submitting form using default submit button", e); } - throw new RuntimeException("No submit button found in current form."); } /** Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2015-07-13 15:52:13 UTC (rev 977) +++ trunk/src/changes/changes.xml 2015-07-13 16:24:04 UTC (rev 978) @@ -31,6 +31,9 @@ </properties> <body> <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> + <action type="fix" dev="henryju" issue="134" due-to="Joerg Troester"> + WebTester.submit() does not find submit button. + </action> <action type="update" dev="henryju"> Updated to HtmlUnit 2.17. </action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2015-07-13 15:52:15
|
Revision: 977 http://sourceforge.net/p/jwebunit/code/977 Author: henryju Date: 2015-07-13 15:52:13 +0000 (Mon, 13 Jul 2015) Log Message: ----------- Update to HtmlUnit 2.17 Modified Paths: -------------- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java trunk/jwebunit-htmlunit-plugin/pom.xml trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java trunk/pom.xml trunk/src/changes/changes.xml Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java =================================================================== --- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java 2015-07-13 15:52:13 UTC (rev 977) @@ -27,7 +27,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.eclipse.jetty.http.HttpHeaders; +import org.eclipse.jetty.http.HttpHeader; public class CookiesServlet extends HttpServlet { @@ -95,12 +95,12 @@ jsessionIDCookie.setDomain("localhost"); response.addCookie(jsessionIDCookie); - //With Jetty 6 we are now forced to access low level API to be able to set 2 same named cookies in the same response + //With Jetty 6+ we are now forced to access low level API to be able to set 2 same named cookies in the same response org.eclipse.jetty.server.Response responseJetty = (org.eclipse.jetty.server.Response) response; - String cookie1 = responseJetty.getHttpFields().getStringField(HttpHeaders.SET_COOKIE); + String cookie1 = responseJetty.getHttpFields().getStringField(HttpHeader.SET_COOKIE); // 2 String cookie2 = cookie1.replace("worker1", "worker2"); - response.addHeader(HttpHeaders.SET_COOKIE, cookie2); + response.addHeader(HttpHeader.SET_COOKIE.asString(), cookie2); } } Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java =================================================================== --- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java 2015-07-13 15:52:13 UTC (rev 977) @@ -25,11 +25,10 @@ import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; +import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.handler.DefaultHandler; import org.eclipse.jetty.server.handler.HandlerCollection; -import org.eclipse.jetty.server.nio.SelectChannelConnector; import org.eclipse.jetty.webapp.WebAppContext; -import org.junit.AfterClass; import org.junit.BeforeClass; import static org.junit.Assert.fail; @@ -60,9 +59,7 @@ if (!started) { try { jettyServer = new Server(); - SelectChannelConnector connector = new SelectChannelConnector(); - connector.setPort(JWebUnitAPITestCase.JETTY_PORT); - connector.setAcceptors(5); + ServerConnector connector = new ServerConnector(jettyServer); connector.setPort(JWebUnitAPITestCase.JETTY_PORT); jettyServer.setConnectors(new Connector[] { connector }); Modified: trunk/jwebunit-htmlunit-plugin/pom.xml =================================================================== --- trunk/jwebunit-htmlunit-plugin/pom.xml 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/jwebunit-htmlunit-plugin/pom.xml 2015-07-13 15:52:13 UTC (rev 977) @@ -23,7 +23,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> - <version>2.14</version> + <version>2.17</version> <exclusions> <exclusion> <artifactId>commons-logging</artifactId> Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java =================================================================== --- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2015-07-13 15:52:13 UTC (rev 977) @@ -169,7 +169,7 @@ /** * The default browser version. */ - private BrowserVersion defaultBrowserVersion = BrowserVersion.FIREFOX_24; + private BrowserVersion defaultBrowserVersion = BrowserVersion.FIREFOX_38; /** * Should we ignore failing status codes? @@ -222,7 +222,7 @@ ExpectedJavascriptConfirmException, ExpectedJavascriptPromptException { if (wc != null) { - wc.closeAllWindows(); + wc.close(); wc = null; } form = null; // reset current form @@ -841,7 +841,7 @@ */ BrowserVersion bv; if (testContext.getUserAgent() != null) { - bv = BrowserVersion.FIREFOX_24; + bv = BrowserVersion.FIREFOX_38; bv.setUserAgent(testContext.getUserAgent()); } else { bv = defaultBrowserVersion; // use default (which includes a full UserAgent string) Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/pom.xml 2015-07-13 15:52:13 UTC (rev 977) @@ -20,7 +20,7 @@ </issueManagement> <inceptionYear>2002</inceptionYear> <prerequisites> - <maven>2.2.1</maven> + <maven>3.0</maven> </prerequisites> <modules> <module>jwebunit-code-generator</module> @@ -199,8 +199,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>1.7</source> + <target>1.7</target> </configuration> </plugin> <plugin> @@ -379,7 +379,7 @@ <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> - <version>8.1.7.v20120910</version> + <version>9.2.11.v20150529</version> </dependency> <dependency> <groupId>org.slf4j</groupId> Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2014-03-17 23:23:25 UTC (rev 976) +++ trunk/src/changes/changes.xml 2015-07-13 15:52:13 UTC (rev 977) @@ -30,6 +30,14 @@ </author> </properties> <body> + <release version="3.3" date="UNKNOWN" description="HtmlUnit 2.17, Java 7"> + <action type="update" dev="henryju"> + Updated to HtmlUnit 2.17. + </action> + <action type="update" dev="henryju"> + Requires Java 7+. + </action> + </release> <release version="3.2" date="March 17, 2014" description="HtmlUnit 2.14"> <action type="update" dev="henryju"> Updated to JUnit 4.11. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Zsolt P. <rai...@gm...> - 2015-06-19 09:50:43
|
Index: jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java =================================================================== --- jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java (revision 976) +++ jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java (working copy) @@ -64,6 +64,7 @@ import com.gargoylesoftware.htmlunit.util.Cookie; import com.gargoylesoftware.htmlunit.util.NameValuePair; import com.gargoylesoftware.htmlunit.xml.XmlPage; + import net.sourceforge.jwebunit.api.HttpHeader; import net.sourceforge.jwebunit.api.IElement; import net.sourceforge.jwebunit.api.ITestingEngine; @@ -82,6 +83,7 @@ import net.sourceforge.jwebunit.javascript.JavascriptConfirm; import net.sourceforge.jwebunit.javascript.JavascriptPrompt; import net.sourceforge.jwebunit.util.TestContext; + import org.apache.http.auth.AuthScope; import org.apache.regexp.RE; import org.apache.regexp.RESyntaxException; @@ -181,6 +183,12 @@ */ private int timeout = 0; +private URL sslClientCertificateUrl; + +private String sslClientCertificatePassword; + +private String sslClientCertificateType; + // Implementation of IJWebUnitDialog /** @@ -866,7 +874,10 @@ wc.getOptions().setThrowExceptionOnFailingStatusCode(!ignoreFailingStatusCodes); wc.getOptions().setThrowExceptionOnScriptError(throwExceptionOnScriptError); wc.getOptions().setRedirectEnabled(true); + wc.getOptions().setUseInsecureSSL(true); + wc.getOptions().setSSLClientCertificate(sslClientCertificateUrl, sslClientCertificatePassword, sslClientCertificateType); + if (refreshHandler == null) { wc.setRefreshHandler(new ImmediateRefreshHandler()); } else { @@ -2523,4 +2534,10 @@ } } + public void setSSLClientCertificate(final URL certificateUrl, final String certificatePassword, + final String certificateType) { + sslClientCertificateUrl = certificateUrl; + sslClientCertificatePassword = certificatePassword; + sslClientCertificateType = certificateType; + } } |
From: Zsolt P. <rai...@gm...> - 2015-06-19 09:49:22
|
Hi! My name is Zsolt Papp. I have created a little patch to make work the client authentication by certificates. I attached the patch. Please add this apply this patch on the project or give me commit rights. Thank you! Regards, Zsolt Papp |
From: Muhammad S. <muh...@no...> - 2014-10-03 06:16:29
|
Thanks for your response. Last night I shifted my tests to selenium2.0 What do you think is it good approach to perform tests for a web site/app? Regards On 3 Oct 2014 03:04, "Jevon Wright" <je...@je...> wrote: > Hi Saad, > > I don't know of any way to run Adobe Flash as part of JWebUnit/HtmlUnit as > it's a platform-specific browser plugin, maybe there is a clever way but I > don't think there's anything out-of-the-box that will do what you want. > > Cheers > Jevon > > > On Thu, Oct 2, 2014 at 7:28 PM, Muhammad Saad < > muh...@no...> wrote: > >> Hi, >> >> I want to Enable Flash Adobe feature because the site I want to test >> requires it. >> >> Page doesn't load properly as it should and displays the "Adobe Flash not >> installed" Error message. >> So when I use JWebUnit APIs to check fields/elements it doesn't show >> required html tags. >> >> Regards, >> Saad >> >> >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> JWebUnit-development mailing list >> JWe...@li... >> https://lists.sourceforge.net/lists/listinfo/jwebunit-development >> >> > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > |
From: Jevon W. <je...@je...> - 2014-10-02 22:04:29
|
Hi Saad, I don't know of any way to run Adobe Flash as part of JWebUnit/HtmlUnit as it's a platform-specific browser plugin, maybe there is a clever way but I don't think there's anything out-of-the-box that will do what you want. Cheers Jevon On Thu, Oct 2, 2014 at 7:28 PM, Muhammad Saad < muh...@no...> wrote: > Hi, > > I want to Enable Flash Adobe feature because the site I want to test > requires it. > > Page doesn't load properly as it should and displays the "Adobe Flash not > installed" Error message. > So when I use JWebUnit APIs to check fields/elements it doesn't show > required html tags. > > Regards, > Saad > > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > |
From: Muhammad S. <muh...@no...> - 2014-10-02 06:50:50
|
Hi, I want to Enable Flash Adobe feature because the site I want to test requires it. Page doesn't load properly as it should and displays the "Adobe Flash not installed" Error message. So when I use JWebUnit APIs to check fields/elements it doesn't show required html tags. Regards, Saad |
From: Keith F. <fog...@ya...> - 2014-05-10 11:58:18
|
Hi JWebUnit-developers, I was hoping you may be able to help. I'm working on a MSc. thesis and am looking to distinguish java Open Source Test-First/Test-Driven Development and Test-Last projects for a research experiment. To this end I was hoping that contributors to JWebUnit would consider filling out the linked short survey (12 questions) for this project (or any other open source java project you are involved in)? My research will look at and compare design pattern usage in Test-First and Test-Last projects in relation to effectiveness and design quality. If you would be interested in learning more about the project or its findings please enter your details in the comment box on the survey and I will contact you once the project is complete. I intend to use the results of the survey solely for the purposes of the dissertation. Individual contributors will not be named in any reporting of the project. If you do not wish your project to be identified you can indicate so in the survey and its name will be masked. Many thanks in advance; your help is very much appreciated. Keith Fogarty Link to survey: https://docs.google.com/a/mydit.ie/forms/d/160CG5J_LJM3cAbSUrtfzka55vTrAeUwL4o-PvsY8Wkw/viewform Open Source Software Project Survey Hi, I was hoping you may be able to help me. I'm currently working on an M.Sc. Thesis and require a number of Test-First and Test-Last subject projects as part o... View on docs.google.com Preview by Yahoo |
From: Julien H. <he...@ya...> - 2014-03-18 08:15:55
|
Hi Jevon, Webdriver tests are a bit slow to run but should pass (on my box it takes 1 minute while HtmlUnit tests take a few seconds). The errors you see are displayed when starting BrowserMob proxy. Random ports are tried until a free one is found. Error while starting BrowserMob proxy on port 8944. Retry java.net.BindException: Address already in use: JVM_Bind Error while starting BrowserMob proxy on port 8912. Retry java.net.BindException: Address already in use: JVM_Bind Error while starting BrowserMob proxy on port 8588. Retry java.net.BindException: Address already in use: JVM_Bind It's strange that all these ports are used on your box. Do you have some kind of firewall that can prevent BrowserMob proxy to open a port? ++ Julien ________________________________ De : Jevon Wright <je...@je...> À : JWebUnit Development mail list <jwe...@li...> Envoyé le : Mardi 18 mars 2014 0h09 Objet : [JWebUnit-development] Port in use error when testing WebDriver plugin Hi, I'm having trouble running the tests on my local machine (Windows 7 x64, Java 1.7). When running tests, it will get up to "Running net.sourceforge.jwebunit.webdriver.JWebUnitTest", pause for ~2 minutes (no CPU activity), and then crash with: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running net.sourceforge.jwebunit.webdriver.JWebUnitTest 12:08:49.325 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8944. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.334 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.netServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServeropen(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.330 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8912. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.350 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.netServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServeropen(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:50.649 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8940. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:70) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:50.657 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.netServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServeropen(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:70) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:51.404 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8588. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServerjava:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:17.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:51.405 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] Is this because the WebDriver plugin isn't complete yet? How can I turn off this build/test? Cheers Jevon ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ JWebUnit-development mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-development |
From: Jevon W. <je...@je...> - 2014-03-17 23:40:16
|
Hi, I'm having trouble running the tests on my local machine (Windows 7 x64, Java 1.7). When running tests, it will get up to "Running net.sourceforge.jwebunit.webdriver.JWebUnitTest", pause for ~2 minutes (no CPU activity), and then crash with: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running net.sourceforge.jwebunit.webdriver.JWebUnitTest 12:08:49.325 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8944. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.334 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.open(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.330 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8912. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:49.350 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.open(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:50.649 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8940. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:70) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:50.657 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_51] at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_51] at org.browsermob.proxy.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.open(ThreadedServer.java:477) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.ThreadedServer.start(ThreadedServer.java:503) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.SocketListener.start(SocketListener.java:204) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:699) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:70) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:51.404 ERROR n.s.j.w.WebDriverTestingEngineImpl - Error while starting BrowserMob proxy on port 8588. Retry...: Multiple exceptions org.browsermob.proxy.jetty.util.MultiException: Multiple exceptions at org.browsermob.proxy.jetty.http.HttpServer.doStart(HttpServer.java:669) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.jetty.util.Container.start(Container.java:72) ~[browsermob-proxy-2.0-beta-7.jar:na] at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:73) ~[browsermob-proxy-2.0-beta-7.jar:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.startBrowserMobProxy(WebDriverTestingEngineImpl.java:153) [classes/:na] at net.sourceforge.jwebunit.webdriver.WebDriverTestingEngineImpl.beginAt(WebDriverTestingEngineImpl.java:111) [classes/:na] at net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:234) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.junit.JWebUnit.beginAt(JWebUnit.java:167) [jwebunit-core-3.3-SNAPSHOT.jar:na] at net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest.testClickLinkWithTextN(ConcurrentJWebUnitTest.java:64) [jwebunit-commons-tests-3.3-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:98) [tempus-fugit-1.1.jar:na] at com.google.code.tempusfugit.concurrency.RunConcurrently$StatementEvaluatingTask.call(RunConcurrently.java:86) [tempus-fugit-1.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 12:08:51.405 ERROR n.s.j.w.WebDriverTestingEngineImpl - First exception: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[na:1.7.0_51] at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) ~[na:1.7.0_51] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_51] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) ~[na:1.7.0_51] Is this because the WebDriver plugin isn't complete yet? How can I turn off this build/test? Cheers Jevon |